<dvt:x1TickLabel>

x1TickLabel x1 tick label


Use the x1TickLabel tag to control the appearance of the x-axis tick labels.

Relationship with other tags

The x1TickLabel tag must be a child of one of the following components: Advanced graph, bubbleGraph, scatterGraph.

The x1TickLabel tag can have the following child tags: graphFont tag, af:convertNumber tag.

Example

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

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

Attributes

Name Type Supports EL? Description
id java.lang.String no Specifies the identifier for the component
textRotation java.lang.String yes 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.
rendered boolean yes Indicates whether the X1TickLabels are to be visible. Valid values are:
  • true - (Default) If the tick label is rendered.
  • false - If the tick label is not rendered.
scaling java.lang.String yes Scaling factor for numbers that are displayed. Valid values are:
  • auto - (Default) The number will be scaled automatically.
  • none - The number will not be scaled.
  • thousand - The number will be scaled to thousands.
  • million - The number will be scaled to millions.
  • billion - The number will be scaled to billions.
  • trillion - The number will be scaled to trillions.
  • quadrillion - The number will be scaled to quadrillions.
autoPrecision java.lang.String yes Whether to turn on the automatic precision for decimal digits. Valid values are:
  • on - (Default) The number of decimal digits are determined automatically.
  • off - The number of digits is based on the user specification from af:convertNumber