<dvt:y1TickLabel>

y1TickLabel y1 tick label


Use the y1TickLabel tag to control the appearance of the y1-axis tick labels.

Relationship with other tags

The y1TickLabel tag must be a child of one of the following components: Advanced graph, areaGraph, barGraph, bubbleGraph, comboGraph, dualYBarGraph, dualYComboGraph, dualYLineGraph, horizontalBarGraph, horizontalStackedBarGraph, paretoGraph, lineGraph, radarGraph, scatterGraph, stackedBarGraph, stockCandleGraph, stockGraph.

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

Example

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

        <dvt:graph>
            <dvt:y1TickLabel textRotation="TR_HORIZ">
                <dvt:graphFont name="SansSerif" size="10" color="#000000" 
                    bold="false" italic="false" underline="false"/>
            </dvt:y1TickLabel>
        </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 - (Default) 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.