Use the tickMark tag to specify where tick marks are displayed in a gauge. Note: The tickLabel tag determines which tick marks have labels.
The tickMark tag is a child tag of the gauge tag.
The following example shows the XML for a tickMark tag that displays 10 tick marks including minimum, maximum, and threshold values for each gauge in the gauge set.
<dvt:gauge> <dvt:tickMark content="TC_THRESHOLD TC_MIN_MAX" majorTickCount="10"/> </dvt:gauge>
Name | Type | Supports EL? | Description |
---|---|---|---|
id | java.lang.String | no | Specifies the identifier for the component |
content | java.lang.String | yes | Specifies where tick marks occur within a gauge set. Valid values include any combination of the following separated by spaces or commas:
Default value is: TC_MIN_MAX | TC_INCREMENTS
|
majorTickCount | int | yes | Deprecated, Use majorIncrement instead. The total number of ticks to be displayed in each gauge of the gauge set. |
majorIncrement | double | yes | The distance between two major tick marks. If less than or equal to 0 major increments will not be shown. The major tick are the ones that will display a labeled value underneath the tick mark. Note: The number of major tick marks is limited to 100 in the visible plot area. |
minorIncrement | double | yes | The distance between two minor tick marks. If less than or equal to 0 minor increments will not be shown. The minor tick are the ones that will not show a label underneath the tick mark. Note: The number of minor tick marks is limited to 500 in the visible plot area. |
majorTickColor | java.lang.String | yes | Specifies the color of major tick marks on the gauge. Enter values in RGB hexadecimal. The example color="#000000" specifies black. |
minorTickColor | java.lang.String | yes | Specifies the color of minor tick marks on the gauge. Enter values in RGB hexadecimal. The example color="#000000" specifies black. |