<dvt:stockVolumeFormat>

stockVolumeFormat stock volume format


Use the stockVolumeFormat tag to wrap the <af:convertNumber> tag use to format the marker text associated with stock volume markers. This tag also supports attributes for scaling and automatic precision

Relationship with other tags

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

The stockVolumeFormat 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:stockVolumeFormat> tag:

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

Attributes

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