Example Data XML

This section contains example data XML for each of the chart type provided in EnterpriseOne. You can modify the code in these data XMLs to alter what information is displayed on the chart.

The graph name attribute in the data XMLs below relates directly to the graph XML types in section Example Graph XMLs. All of the graph types share a common DTD, which is described in section Example Graph DTD.

bar_basic.xml

<Graph graphName="bar_basic">
<O1Title text="Week Ending" visible="true" /> 
<Y1Title text="Cost Variance (USD)" visible="true" /> 
<LocalRelationalData>
<Row columnKey="9/1/05"  rowKey="Actual Variance" dataValue="1504" /> 
<Row columnKey="9/8/05"  rowKey="Actual Variance" dataValue="980" /> 
<Row columnKey="9/15/05" rowKey="Actual Variance" dataValue="-675" /> 
<Row columnKey="9/22/05" rowKey="Actual Variance" dataValue="784" /> 
<Row columnKey="9/29/05" rowKey="Actual Variance" dataValue="0" /> 
<Row columnKey="9/1/06"  rowKey="Actual Variance" dataValue="1504" /> 
<Row columnKey="9/8/06"  rowKey="Actual Variance" dataValue="980" /> 
<Row columnKey="9/15/06" rowKey="Actual Variance" dataValue="-675" /> 
<Row columnKey="9/22/06" rowKey="Actual Variance" dataValue="784" /> 
<Row columnKey="9/29/06" rowKey="Actual Variance" dataValue="0" /> 
</LocalRelationalData>
</Graph>

combo_basic

<Graph graphName="combo_basic">
<O1Title text="Week Ending" visible="true" />
<Y1Title text="Days" visible="true" />
<LocalRelationalData>
<Row columnKey="1-Sept 05"  rowKey="Actual DSI" dataValue="38" /> 
<Row columnKey="8-Sept 05"  rowKey="Actual DSI" dataValue="25" /> 
<Row columnKey="15-Sept 05" rowKey="Actual DSI" dataValue="24" /> 
<Row columnKey="22-Sept 05" rowKey="Actual DSI" dataValue="27" />
<Row columnKey="1-Sept 05"  rowKey="Target DSI" dataValue="10" /> 
<Row columnKey="8-Sept 05"  rowKey="Target DSI" dataValue="10" /> 
<Row columnKey="15-Sept 05" rowKey="Target DSI" dataValue="10" /> 
<Row columnKey="22-Sept 05" rowKey="Target DSI" dataValue="10" />   </Local⇒
RelationalData>
</Graph>

combo_markers.xml

<Graph graphName="combo_markers">
<O1Title text="Week Ending" visible="true" /> 
<Y1Title text="Days" visible="true" /> 
<LocalRelationalData>
<Row columnKey="1-Sept 05" rowKey="Actual DSI" dataValue="38" /> 
<Row columnKey="8-Sept 05" rowKey="Actual DSI" dataValue="25" /> 
<Row columnKey="15-Sept 05" rowKey="Actual DSI" dataValue="24" /> 
<Row columnKey="22-Sept 05" rowKey="Actual DSI" dataValue="27" /> 
     LocalRelationalData>
</Graph>

line_basic.xml

<Graph graphName="line_basic">
 <O1Title text="Week Ending" visible="true" /> 
 <Y1Title text="Cost Variance (USD)" visible="true" /> 
<LocalRelationalData>
<Row columnKey="9/1/05" rowKey="Actual Variance" dataValue="1504" /> 
<Row columnKey="9/8/05" rowKey="Actual Variance" dataValue="980" /> 
<Row columnKey="9/15/05" rowKey="Actual Variance" dataValue="-675" /> 
<Row columnKey="9/22/05" rowKey="Actual Variance" dataValue="784" /> 
<Row columnKey="9/29/05" rowKey="Actual Variance" dataValue="0" /> 
<Row columnKey="9/1/06" rowKey="Actual Variance" dataValue="1504" /> 
<Row columnKey="9/8/06" rowKey="Actual Variance" dataValue="980" /> 
<Row columnKey="9/15/06" rowKey="Actual Variance" dataValue="-675" /> 
<Row columnKey="9/22/06" rowKey="Actual Variance" dataValue="784" /> 
<Row columnKey="9/29/06" rowKey="Actual Variance" dataValue="0" />
</LocalRelationalData>
</Graph>

pie_basic.xml

<Graph graphName="pie_basic">
<LocalRelationalData>
<Row columnKey="January 2005" rowKey="On Time" dataValue=".11" /> 
<Row columnKey="January 2005" rowKey="Early" dataValue=".21" /> 
<Row columnKey="January 2005" rowKey="Late" dataValue=".05" /> 
<Row columnKey="January 2005" rowKey="Past" dataValue=".12" /> 
<Row columnKey="January 2005" rowKey="History" dataValue=".25" /> 
<Row columnKey="January 2005" rowKey="Now" dataValue=".03" /> 
<Row columnKey="January 2005" rowKey="Then" dataValue=".14" /> 
<Row columnKey="January 2005" rowKey="When" dataValue=".09" /> 
</LocalRelationalData>
</Graph>

pie_ontime.xml

<Graph graphName="pie_ontime">
<LocalRelationalData>
<Row columnKey="January 2005" rowKey="On Time" dataValue=".11" /> 
<Row columnKey="January 2005" rowKey="Early" dataValue=".21" /> 
<Row columnKey="January 2005" rowKey="Late" dataValue=".05" />
</LocalRelationalData>
</Graph>

stacked_bar_basic.xml

<Graph graphName="stacked_bar_basic">
<O1Title text="Week Ending" visible="true" /> 
<Y1Title text="On Time Production" visible="true" /> 
<LocalRelationalData>
<Row columnKey="9/1/05" rowKey="On Time" dataValue="95" /> 
<Row columnKey="9/8/05" rowKey="On Time" dataValue="8" /> 
<Row columnKey="9/15/05" rowKey="On Time" dataValue="9.2" /> 
<Row columnKey="9/22/05" rowKey="On Time" dataValue="70" /> 
<Row columnKey="9/1/05" rowKey="Early" dataValue="1" /> 
<Row columnKey="9/8/05" rowKey="Early" dataValue="10" /> 
<Row columnKey="9/15/05" rowKey="Early" dataValue="40" /> 
<Row columnKey="9/22/05" rowKey="Early" dataValue="18" /> 
<Row columnKey="9/1/05" rowKey="Late" dataValue="0" /> 
<Row columnKey="9/8/05" rowKey="Late" dataValue="15" /> 
<Row columnKey="9/15/05" rowKey="Late" dataValue="4" /> 
<Row columnKey="9/22/05" rowKey="Late" dataValue="50" />
</LocalRelationalData>
</Graph>

stacked_bar_ontime.xml

<Graph graphName="stacked_bar_ontime">
<O1Title text="Week Ending" visible="true" /> 
<Y1ReferenceLine>
<ReferenceLine index="0" visible="true" text="Goal" value="95.0" /> 
</Y1ReferenceLine>
<Y1Title text="On Time Production" visible="true" /> 
<LocalRelationalData>
<Row columnKey="9/1/05" rowKey="On Time" dataValue=".90" /> 
<Row columnKey="9/8/05" rowKey="On Time" dataValue=".85" /> 
<Row columnKey="9/15/05" rowKey="On Time" dataValue=".92" /> 
<Row columnKey="9/22/05" rowKey="On Time" dataValue=".72" /> 
<Row columnKey="9/1/05" rowKey="Early" dataValue=".10" /> 
<Row columnKey="9/8/05" rowKey="Early" dataValue=".10" /> 
<Row columnKey="9/15/05" rowKey="Early" dataValue=".04" /> 
<Row columnKey="9/22/05" rowKey="Early" dataValue=".18" /> 
<Row columnKey="9/1/05" rowKey="Late" dataValue="0" /> 
<Row columnKey="9/8/05" rowKey="Late" dataValue=".05" /> 
<Row columnKey="9/15/05" rowKey="Late" dataValue=".04" /> 
<Row columnKey="9/22/05" rowKey="Late" dataValue=".10" /> 
</LocalRelationalData>
</Graph>