IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Developing monitor models > What are monitor models? > Monitor XML schema definition (monitor.xsd) > XML schema (monitor.xsd) description > Visual model elements
SetColorType
SetColorType defines the action used to set the outline or fill color of the Scalable Vector Graphics (SVG) elements in a referenced ShapeSet. The outline and fill color can be specified independently of each other. Additionally, a condition can be used to specify when the SetColor action should be applied, based on the values of metrics, counters, stopwatches, and KPIs.
- Elements
Name Min-max Description shapeSet 1 - n One or more shapeSets that define the list of SVG elements that should be affected by this action - Attributes
Name Required or optional Type Description outlineColor Optional String The color to use as the outline color of the SVG elements contained in the referenced shapeSet. The values of this attribute must conform to the syntax specified in the W3 CSS specification (http://www.w3.org/TR/REC-CSS2/syndata.html#value-def-color). You can use various methods to specify colors, such as hex values (#EEFF99), or common color constant keywords ("red").
fillColor Optional String The color to use as the fill color of the SVG elements in the referenced shapeSet, which follows the same rules as outlineColor. - Restrictions
- The outlineColor and fillColor must be as specified in the W3 CSS specification.
- All restrictions for ActionType apply to SetColorType.
- All shapeSet references must be in the set of IDs for shapeSets in this same visualization.
- Schema definition
<xsd:complexType name="SetColorType"> <xsd:complexContent> <xsd:extension base="mon:ActionType"> <xsd:sequence> <!-- String value must be the id of a shape set defined in the <shapeSets> element --> <xsd:element name="shapeSet" type="mon:ShapeSetRefType" minOccurs="1" maxOccurs="unbounded"/> </xsd:sequence> <!-- See http://www.w3.org/TR/REC-CSS2/syndata.html#value-def-color for description of color values --> <xsd:attribute name="outlineColor" type="xsd:string"/> <xsd:attribute name="fillColor" type="xsd:string"/> </xsd:extension> </xsd:complexContent> </xsd:complexType>