Summary

Tag name: <dvt:referenceObjectSet>

Use the referenceObjectSet tag to wrap an unlimited number of reference objects for a given graph.

Relationship with other tags

The referenceObjectSet 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, sparkChart, stackedBarGraph, stockCandleGraph, stockGraph.

The referenceObjectSet tags has the following child tag: referenceObject tag.

Example

The following example shows the XML for a referenceObjectset tag that wraps eight reference objects.

   <dvt:graph value="#{sampleGraph.graphDataModel}" graphType="BAR_VERT_CLUST2Y" imageType="IMAGE_TYPE_SVG" stylePath="/oracle/dss/graph/styles/april.xml"
      <dvt:referenceObjectSet>
         <dvt:referenceObject index="1" type="RO_AREA" association="Y1AXIS" location="RO_BACK" color="#55FF0000" lowValue="0" highValue="4000"/>
         <dvt:referenceObject index="2" type="RO_AREA" association="Y1AXIS" location="RO_BACK" color="#55FFFF00" lowValue="4000" highValue="10000"/>
         <dvt:referenceObject index="3" type="RO_AREA" association="Y1AXIS" location="RO_BACK" color="#5500FF00" lowValue="10000" highValue="18000"/>
         <dvt:referenceObject index="4" type="RO_AREA" association="Y2AXIS" location="RO_FRONT" color="#550000FF" lowValue="300" highValue="700"/>
         <dvt:referenceObject index="5" type="RO_LINE" association="SERIES" series="0" location="RO_FRONT" color="#ffff66" lineValue="5000" lineWidth="3" lineStyle="LS_SOLID"/>
         <dvt:referenceObject index="6" type="RO_LINE" association="SERIES" series="0" location="RO_FRONT" color="#ffff66" lineValue="16730" lineWidth="3" lineStyle="LS_SOLID"/>
         <dvt:referenceObject index="7" type="RO_LINE" association="SERIES" series="1" location="RO_BACK" color="#99cc66" lineValue="500" lineWidth="3" lineStyle="LS_SOLID"/>
         <dvt:referenceObject index="8" type="RO_LINE" association="SERIES" series="1" location="RO_BACK" color="#99cc66" lineValue="1711" lineWidth="3" lineStyle="LS_SOLID"/>
      </dvt:referenceObjectSet>
   </dvt:graph>
      

Attributes

Name Type Supports EL? Description
id java.lang.String no Specifies the identifier for the component
displaySeries java.lang.String yes Controls whether reference lines related to a series should be displayed when the mouse hovers over a data series. Valid values are the following:
  • RO_DISPLAY_NEVER - Does not display reference objects for the series objects.
  • RO_DISPLAY_ALWAYS - (Default) Always displays reference objects for the series objects
  • RO_DISPLAY_AUTOMATIC - Display reference object when mouse is hovered over the associated series objects.
displayX1 java.lang.String yes Controls whether reference lines appear for the x1-axis. Valid values are the following:
  • RO_DISPLAY_NEVER - Does not display reference objects for the x-axis.
  • RO_DISPLAY_ALWAYS - (Default) Always displays reference objects for the x-axis
  • RO_DISPLAY_AUTOMATIC - Display reference object when mouse is hovered over x-axis.
displayY1 java.lang.String yes Controls whether reference lines appear for the y1-axis. Valid values are the following:
  • RO_DISPLAY_NEVER - Does not display reference objects for the y1-axis.
  • RO_DISPLAY_ALWAYS - (Default) Always displays reference objects for the y1-axis
  • RO_DISPLAY_AUTOMATIC - Display reference object when mouse is hovered over y1-axis.
displayY2 java.lang.String yes Controls whether reference lines appear for the y2-axis. Valid values are the following:
  • RO_DISPLAY_NEVER - Does not display reference objects for the y2-axis.
  • RO_DISPLAY_ALWAYS - (Default) Always displays reference objects for the y2-axis
  • RO_DISPLAY_AUTOMATIC - Display reference object when mouse is hovered over y2-axis.
referenceObjectMap java.util.Map only EL Specifies a Map containing referenceObject child components.