The Chart components display numeric and categorical information visually, facilitating rapid understanding of data and their relationships. Common chart types include Bar, Line, Area, and Pie graphs. There are several different AMX components available for charting:
These components are used on tablets and phones.
Appearance characteristics for this component.
Common behaviors for this component.
Usage guidelines for this component.
DVTM sample code for this component.
<dvtm:areaChart var="row" value="#{bindings.lineData.collectionModel}" id="areaChart1"
inlineStyle="#{pageFlowScope.inlineStyle}"
dataCursor="#{pageFlowScope.dataCursor}"
dataCursorBehavior="#{pageFlowScope.dataCursorBehavior}"
dataSelection="#{pageFlowScope.dataSelection}"
footnote="#{pageFlowScope.footnote}"
footnoteHalign="#{pageFlowScope.footnoteHalign}"
hideAndShowBehavior="#{pageFlowScope.hideAndShowBehavior}"
rolloverBehavior="#{pageFlowScope.rolloverBehavior}"
stack="#{pageFlowScope.stack}"
subtitle="#{pageFlowScope.subtitle}"
title="#{pageFlowScope.title}"
titleHalign="#{pageFlowScope.titleHalign}">
<amx:facet name="dataStamp">
<dvtm:chartDataItem group="#{row.group}" value="#{row.value}" series="#{row.series}"/>
</amx:facet>
<dvtm:legend position="end" id="l1"/>
</dvtm:areaChart>
<dvtm:barChart var="row" value="#{bindings.barData.collectionModel}" id="barChart1"
inlineStyle="#{pageFlowScope.inlineStyle}"
dataCursor="#{pageFlowScope.dataCursor}"
dataCursorBehavior="#{pageFlowScope.dataCursorBehavior}"
dataSelection="#{pageFlowScope.dataSelection}"
footnote="#{pageFlowScope.footnote}"
footnoteHalign="#{pageFlowScope.footnoteHalign}"
hideAndShowBehavior="#{pageFlowScope.hideAndShowBehavior}"
rolloverBehavior="#{pageFlowScope.rolloverBehavior}"
stack="#{pageFlowScope.stack}"
subtitle="#{pageFlowScope.subtitle}"
title="#{pageFlowScope.title}"
titleHalign="#{pageFlowScope.titleHalign}">
<amx:facet name="dataStamp">
<dvtm:chartDataItem group="#{row.group}" value="#{row.value}" series=" #{row.series}"/>
</amx:facet>
<dvtm:legend position="end" id="l1"/>
</dvtm:barChart>
<dvtm:bubbleChart var="row" value="#{bindings.bubbleData.collectionModel}" id="bubbleChart1"
inlineStyle="#{pageFlowScope.inlineStyle}"
dataSelection="#{pageFlowScope.dataSelection}"
footnote="#{pageFlowScope.footnote}"
footnoteHalign="#{pageFlowScope.footnoteHalign}"
hideAndShowBehavior="#{pageFlowScope.hideAndShowBehavior}"
rolloverBehavior="#{pageFlowScope.rolloverBehavior}"
subtitle="#{pageFlowScope.subtitle}"
title="#{pageFlowScope.title}"
titleHalign="#{pageFlowScope.titleHalign}">
<amx:facet name="dataStamp">
<dvtm:chartDataItem group="#{row.group}" x="#{row.x}" y="#{row.y}" z="#{row.z}">
<dvtm:attributeGroups id="ag1" type="color" value="#{row.series}" />
<dvtm:attributeGroups id="ag2" type="shape" value="#{row.group}" />
</dvtm:chartDataItem>
</amx:facet>
<dvtm:legend position="end" id="l1"/>
</dvtm:bubbleChart>
<dvtm:comboChart var="row" value="#{bindings.barData.collectionModel}" id="comboChart1"
inlineStyle="#{pageFlowScope.inlineStyle}"
dataCursor="#{pageFlowScope.dataCursor}"
dataCursorBehavior="#{pageFlowScope.dataCursorBehavior}"
dataSelection="#{pageFlowScope.dataSelection}"
footnote="#{pageFlowScope.footnote}"
footnoteHalign="#{pageFlowScope.footnoteHalign}"
hideAndShowBehavior="#{pageFlowScope.hideAndShowBehavior}"
rolloverBehavior="#{pageFlowScope.rolloverBehavior}"
stack="#{pageFlowScope.stack}"
subtitle="#{pageFlowScope.subtitle}"
title="#{pageFlowScope.title}"
titleHalign="#{pageFlowScope.titleHalign}">
<amx:facet name="dataStamp">
<dvtm:chartDataItem group="#{row.group}" value="#{row.value}"
series="#{row.series}"/>
</amx:facet>
<amx:facet name="seriesStamp">
<dvtm:seriesStyle series="#{row.series}" type="bar"
rendered="#{(row.series eq 'Series 1') or (row.series eq 'Series 2') or (row.series eq 'Series 3')}" />
<dvtm:seriesStyle series="#{row.series}" type="line" lineWidth="5"
rendered="#{(row.series eq 'Series 4') or (row.series eq 'Series 5')}" />
</amx:facet>
<dvtm:legend position="end" id="l1"/>
</dvtm:comboChart>
<dvtm:funnelChart
var="row"
value="#{bindings.funnelData.collectionModel}"
styleClass="dvtm-gallery-component"
id="funnelChart1"
sliceGaps="on"
threeDEffect="#{pageFlowScope.threeD ? 'on' : 'off'}"
orientation="#{pageFlowScope.orientation}"
dataSelection="#{pageFlowScope.dataSelection}"
footnote="#{pageFlowScope.footnote}"
footnoteHalign="#{pageFlowScope.footnoteHalign}"
hideAndShowBehavior="#{pageFlowScope.hideAndShowBehavior}"
rolloverBehavior="#{pageFlowScope.rolloverBehavior}"
seriesEffect="#{pageFlowScope.seriesEffect}"
subtitle="#{pageFlowScope.titleDisplay ? pageFlowScope.subtitle : ''}"
title="#{pageFlowScope.titleDisplay ? pageFlowScope.title : ''}"
titleHalign="#{pageFlowScope.titleHalign}"
animationOnDataChange="#{pageFlowScope.animationOnDataChange}"
animationDuration="#{pageFlowScope.animationDuration}"
animationOnDisplay="#{pageFlowScope.animationOnDisplay}"
shortDesc="#{pageFlowScope.shortDesc}">
<amx:facet name="dataStamp">
<?audit suppress oracle.adfmf.undefined-facet?>
<dvtm:funnelDataItem
label="#{row.label}"
value="#{row.value}"
targetValue="#{row.targetValue}"
color="#{row.color}"
shortDesc="This is a tooltip">
<?audit suppress oracle.adfmf.invalid-facet-child?>
</dvtm:funnelDataItem>
</amx:facet>
<dvtm:legend
position="#{pageFlowScope.legendPosition}"
id="l1"
rendered="#{pageFlowScope.legendDisplay}"/>
</dvtm:funnelChart>
<dvtm:lineChart var="row" value="#{bindings.lineData1.collectionModel}" id="lineChart1"
inlineStyle="#{pageFlowScope.inlineStyle}"
dataCursor="#{pageFlowScope.dataCursor}"
dataCursorBehavior="#{pageFlowScope.dataCursorBehavior}"
dataSelection="#{pageFlowScope.dataSelection}"
footnote="#{pageFlowScope.footnote}"
footnoteHalign="#{pageFlowScope.footnoteHalign}"
hideAndShowBehavior="#{pageFlowScope.hideAndShowBehavior}"
rolloverBehavior="#{pageFlowScope.rolloverBehavior}"
stack="#{pageFlowScope.stack}"
subtitle="#{pageFlowScope.subtitle}"
title="#{pageFlowScope.title}"
titleHalign="#{pageFlowScope.titleHalign}">
<amx:facet name="dataStamp">
<dvtm:chartDataItem group="#{row.group}"
value="#{row.value}" series=" #{row.series}"/>
</amx:facet>
<amx:facet name="seriesStamp">
<dvtm:seriesStyle series="#{row.series}" color="#{row.lineColor}"
lineWidth="#{row.lineWidth}" lineStyle="#{row.lineStyle}"
markerDisplayed="true" rendered="true"/>
</amx:facet>
<dvtm:legend position="end" id="l1"/>
</dvtm:lineChart>
<dvtm:pieChart var="row" value="#{bindings.pieData.collectionModel}" id="pieChart1"
inlineStyle="#{pageFlowScope.inlineStyle}"
dataSelection="#{pageFlowScope.dataSelection}"
footnote="#{pageFlowScope.footnote}"
footnoteHalign="#{pageFlowScope.footnoteHalign}"
hideAndShowBehavior="#{pageFlowScope.hideAndShowBehavior}"
rolloverBehavior="#{pageFlowScope.rolloverBehavior}"
subtitle="#{pageFlowScope.subtitle}"
threeDEffect="#{pageFlowScope.threeDEffect}"
title="#{pageFlowScope.title}"
titleHalign="#{pageFlowScope.titleHalign}">
<amx:facet name="dataStamp">
<dvtm:pieDataItem label="#{row.label}" value="#{row.value}"/>
</amx:facet>
</dvtm:pieChart>
<dvtm:scatterChart var="row" value="#{bindings.scatterData.collectionModel}" id="scatterChart1"
inlineStyle="#{pageFlowScope.inlineStyle}"
dataSelection="#{pageFlowScope.dataSelection}"
footnote="#{pageFlowScope.footnote}"
footnoteHalign="#{pageFlowScope.footnoteHalign}"
hideAndShowBehavior="#{pageFlowScope.hideAndShowBehavior}"
rolloverBehavior="#{pageFlowScope.rolloverBehavior}"
subtitle="#{pageFlowScope.subtitle}"
title="#{pageFlowScope.title}"
titleHalign="#{pageFlowScope.titleHalign}">
<amx:facet name="dataStamp">
<dvtm:chartDataItem group="#{row.group}" x="#{row.x}" y="#{row.y}">
<dvtm:attributeGroups type="color shape" value="#{row.series}" id="attributeGroups1"/>
</dvtm:chartDataItem>
</amx:facet>
<dvtm:legend position="end" id="l1"/>
</dvtm:scatterChart>
<dvtm:sparkChart var="row" value="#{bindings.sparkData.collectionModel}" id="sparkChart1"
color="#{pageFlowScope.color}"
inlineStyle="#{pageFlowScope.inlineStyle}"
type="line" >
<amx:facet name="dataStamp">
<dvtm:sparkDataItem value="#{row.value}" date="#{row.date}" color="{row.color}"/>
</amx:facet>
</dvtm:sparkChart>
<dvtm:lineChart var="row" value="#{bindings.stockData.collectionModel}" id="lc1"
styleClass="dvtm-gallery-component"
dataCursor="off"
title="Stock Trends"
timeAxisType="enabled"
dataSelection="#{pageFlowScope.dataSelection}"
zoomAndScroll="#{pageFlowScope.zoomAndScroll}">
<!-- Until bug 17782626 is fixed, you may have to disable XML validation
to deploy the demo. Otherwise, itt will complain about unsupported
zoomAndScroll attribute. -->
<!--viewportChangeListener="#{PropertyBean.viewportChangeListener}"-->
<amx:facet name="dataStamp">
<dvtm:chartDataItem group="#{row.date}" value="#{row.value}" series="#{row.name}" id="cdi1"
label="#{pageFlowScope.labelDisplay ? row.value : ''}"/>
</amx:facet>
<amx:facet name="overview">
<dvtm:overview id="ovw" rendered="#{pageFlowScope.overviewDisplay}" inlineStyle="height:15%;"/>
</amx:facet>
<dvtm:xAxis viewportMinValue="2010-06-02T09:16:39.637Z" viewportMaxValue="2011-06-02T09:16:39.637Z">
<dvtm:majorTick lineColor="rgb(128,128,128)"/>
</dvtm:xAxis>
<!--dvtm:xAxis viewportMinValue="1293840000000" viewportMaxValue="1325376000000">
<dvtm:majorTick lineColor="rgb(128,128,128)"/>
</dvtm:xAxis-->
<dvtm:legend position="#{pageFlowScope.legendPosition}" id="l1" rendered="#{pageFlowScope.legendDisplay}"/>
</dvtm:lineChart>
Fig 1. iOS and Android - Area Chart
Fig 2. iOS and Android - Bar Chart Horizontal
Fig 3. iOS and Android - Bar Chart Vertical
Fig 4. iOS and Android - Bubble Chart
Fig 5. iOS and Android - Combo Chart
Fig 11. iOS and Android - Funnel Chart
Fig 6. iOS and Android - Line Chart
Fig 7. iOS and Android - Pie Chart
Fig 8. iOS and Android - Scatter Chart
Fig 9. iOS and Android - Spark Chart
Fig 10. iOS and Android - Time Axis Chart