Spark Charts > Spark Column > Simple Example |
Here, we'll create a simple spark column chart to show the monthly revenue of a fictional company for one year. |
XML Data |
The XML data for the chart would look as under: |
<chart palette='2' caption='Revenue' subcaption='12 months' numberPrefix='$' highColor='00CC33' lowColor='CC0000'> <dataset> <set value='783000' /> <set value='201000' /> <set value='515000' /> <set value='115900' /> <set value='388000' /> <set value='433000' /> <set value='910000' /> <set value='198000' /> <set value='183300' /> <set value='162000' /> <set value='159400' /> <set value='185000' /> </dataset> </chart> |
In the above XML, we're:
When you now view the chart, you'll get something as under: |
Next, we'll see how to configure the various aspects of this chart. |