<dvt:y2TickLabel>

y2TickLabel y2 tick label


Use the y2TickLabel tag to control the appearance of the y2-axis tick labels.

Relationship with other tags

The y2TickLabel tag must be a child of one of the following components: Advanced graph, dualYBarGraph, dualYComboGraph, dualYLineGraph, areaGraph, barGraph, horizontalBarGraph, lineGraph, comboGraph, and paretoGraph.

The y2TickLabel tag can have the following child tag: graphFont tag.

Example

The following example shows the XML for a y2TickLabel tag that also has a graphFont child tag to cutomize the text in the label.

        <dvt:graph>
            <dvt:y2TickLabel textRotation="TR_HORIZ">
                <dvt:graphFont name="SansSerif" size="10" color="#000000" 
                    bold="false" italic="false" underline="false"/>
            </dvt:y2TickLabel>
        </dvt:graph>
        

Attributes

Name Type Supports EL? Description
id java.lang.String no Specifies the identifier for the component
textRotation java.lang.String no Specifies the orientation of rotated text. Valid values are:
  • TR_HORIZ - Use horizontal orientation.
  • TR_HORIZ_ROTATE_90 - Use 90 degree orientation for rotated text.
  • TR_HORIZ_ROTATE_270 - Use 270 degree orientation for rotated text.