Advanced Vantage vCharts: Trend Lines!
Posted by Mark Mallany on Tue, May 11, 2010
Hey everyone.
Lets add a trend line to our standard column chart!
Currently trend lines are an advanced feature only configurable by using the "Advanced Configuration" area. In order to add these you need to specify the xml for the trend line.
Here is an example of a trend line xml configuration:
<trendLines> <line startValue='25000000' endValue='26000000' thickness="2" color='330099' displayvalue='Long Term Goal'></line> <line startValue='18000000' endValue='21000000' thickness="2" color='009933' displayvalue='Target' istrendzone="1"></line> </trendLines>
And here is the chart:

As you can see from the xml, the lines are very customizable. Besides the values you can specify, the color, thickness , and you can even configure them into a trend zone!