Sign in to follow this  
maniks

Trend Lines and Vlines not appearing

Recommended Posts

Hi,

 I am using Multi-series Stacked Column 2D + Line Dual Y chart in my html page. I want trendlines and vertical line in the chart. For that I used trendline and vline tags, still the trendlines and vlines were not appearing in the chart.

  Find below the code I have used. Kindly help me to display the trend lines and Vertical lines in the chart.

Thanks in Advance

 <graph  PYaxisname="QTY" SYAxisName="Hrs" decimals="0" numberSuffix="" sNumberSuffix="%25" setAdaptiveSYMin="1" showPlotBorder="1" palette="12" bgColor="808080" bgAlpha="40" showDivLineValues="1" adjustDiv="0">

 <categories font="Arial" fontSize="12" fontColor="000000">

  <category label="02.01.2006" />

  <category label="09.01.2006" />

  <category label="16.01.2006" />

  <vLine color='FF5904' thickness='2' />

  <category label="23.01.2006" />

  <category label="30.01.2006" />

  </categories>

  <lineSet showValues="0" color="9ACD32" lineThickness="1">

  <set value="20000" />

  <set value="60000" />

  <set value="120000" />

  <set value="40000" />

  <set value="20000" />

  </lineSet>

 <lineSet showValues="0" color="4169E1" lineThickness="0">

  <set value="60000" />

  <set value="60000" />

  <set value="20000" />

  <set value="60000" />

  <set value="40000" />

  </lineSet>

 <lineSet showValues="0" color="E80000" lineThickness="0">

  <set value="80000" />

  <set value="120000" />

  <set value="140000" />

  <set value="10000" />

  <set value="60000" />

  </lineSet>

 <dataSet>

  <dataset color="808080" showValues="1" columnwidth="4">

  <set value="25" />

  <set value="40" />

  <set value="51" />

  <set value="45" />

  <set value="24" />

  </dataset>

  <dataset color="663300" showValues="1" columnwidth="4">

  <set value="150" />

  <set value="0" />

  <set value="0" />

  <set value="0" />

  <set value="0" />

  </dataset>

  <dataset  color="FFCC00" showValues="1">

  <set value="900" />

  <set value="300" />

  <set value="0" />

  <set value="0" />

  <set value="0" />

  </dataset>

  </dataSet>

 <trendlines>

  <line startValue="2400" endValue="2600" displayValue="Target" showOnTop="1" dashed="1" showOnTop="1" color="red"/>

  </trendlines>

  </graph>

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this