<dvt:tickMark>

tickMark tick mark


Use the tickMark tag to specify where tick marks are displayed in a gauge. Note: The tickLabel tag determines which tick marks have labels.

Relationship with other tags

The tickMark tag is a child tag of the gauge tag.

Example

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>
       

Attributes

Name Type Supports EL? Description
id java.lang.String no Specifies the identifier for the component
content java.lang.String no 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

  • TC_INCREMENTS - Displays tick marks by increments.
  • TC_MAJOR_TICK - Displays tick marks for minimum, maximum, and increments.
  • TC_MIN_MAX - Displays tick marks for minimum and maximum values.
  • TC_METRIC - Displays tick marks for actual metric values.
  • TC_NONE - Displays no tick marks.
  • TC_THRESHOLD - Displays tick marks for threshold values.
majorTickCount int no The total number of ticks to be displayed in each gauge of the gauge set.
majorTickColor java.lang.String no Specifies the color of tick marks on the gauge. Enter values in RGB hexadecimal. The example color="#000000" specifies black.