Oracle Fusion Middleware Data Visualization Tools Tag Reference for Oracle ADF Faces
12c (12.1.3)

E41655-01

<dvt:y2Format>

y2Format y2 format


Use the y2Format tag to wrap the <af:convertNumber> tag use to format the marker text associated with y2-axis values. This tag also supports attributes for scaling and automatic precision

Relationship with other tags

The y2Format tag is a child tag of the markerText tag.

The y2Format tag has the following child tags: af:convertNumber, dvt:numberFormat(deprecated) tag.

Note: The use of <dvt:numberFormat> is now replaced with <af:convertNumber> tag.

Example

The following is an example of how to configure this <dvt:y2Format> tag:

              <dvt:barGraph value="#{binding.dataModel}">
                 <dvt:markerText>
                   <dvt:y2Format>
                       <af:convertNumber pattern="#{appPrefs.markerTextPattern}" />
                   </dvt:y2Format>
                  </dvt:markerText>
               </dvt:barGraph>
              

Attributes

Name Type Supports EL? Description
id java.lang.String no Specifies the identifier for the component
scaling java.lang.String yes Specifies the scale factor of this label Valid values are:
  • auto - Automatically scales the number.
  • none - Scales the number to units
  • thousand - Scales the number to thousands.
  • million - Scales the number to millions.
  • billion - Scale the number to billions.
  • trillion - Scale the number to trillions.
  • quadrillion - Scale the number to quadrillions.
autoPrecision java.lang.String yes Specifies the auto precision function of this label Valid values are:
  • on - The engine decides the number of digits on the numbers.
  • off - User specifies the number of digits on the numbers.