How to display the data in the Line Graph using ADF Faces Line Graph Component

Posted by

1) Select the Line Graph component from the ADF Data Visualizations Core Pallette
2) Drag it on the jspx page
3) Add the binding for the tabulardata instead of the default binding variable.

<dvt:lineGraph id=”lineGraph1″ subType=”LINE_VERT_ABS”
emptyText=”No Data To Display”
tabularData =”#{backingBeanScope.backing_sample.getLineGraphTabularData}”
contentDelivery=”immediate” >
<dvt:background>
<dvt:specialEffects/>
</dvt:background>
<dvt:graphPlotArea/>
<dvt:seriesSet>
<dvt:series/>
</dvt:seriesSet>
<dvt:o1Axis/>
<dvt:y1Axis/>
<dvt:legendArea automaticPlacement=”AP_NEVER”/>
</dvt:lineGraph>
</af:form>
</af:document>
</f:view>