Bullet Graphs > An Example |
||||||||||||
Here, we'll create a simple bullet graph to show the process involved in the same. |
||||||||||||
Steps | ||||||||||||
To create a bullet graph, you need to decide:
Let's see how to do each of these. |
||||||||||||
Revenue example | ||||||||||||
We'll plot a simple horizontal bullet graph to show the revenue figures for a fictional company. To do so, we first decide the qualitative ranges of revenue performance for that company. Let's assume it to something as under: |
||||||||||||
|
||||||||||||
Also, we intend to plot the following values: Intended revenue: $80,000 |
||||||||||||
Converting to XML | ||||||||||||
The XML for the above data would look as under: | ||||||||||||
<chart lowerLimit='0' upperLimit='100' caption='Revenue' subcaption='US $ (1,000s)' numberPrefix='$' numberSuffix='K' showValue='1' > <colorRange> <color minValue='0' maxValue='50' color='A6A6A6'/> <color minValue='50' maxValue='75' color='CCCCCC'/> <color minValue='75' maxValue='100' color='E1E1E1'/> </colorRange> <value>78.9</value> <target>80</target> </chart> |
||||||||||||
Here, we've:
When you now run this XML against the horizontal bullet graph, you'll get something as under: |
||||||||||||