Sign in to follow this  

Guidelines On The Daily Graph Are Missing

Recommended Posts

Hi Team,


Please help us out. The issue arises while I tried to introduce 'trendlines'. The attached image normal.gif is the image with 'trendlines'.


var trendlines = new XElement("trendlines", new XElement("line", new XAttribute("startvalue", this.Campaign.GetKpiTarget(kpi)), new XAttribute("displayValue", "Target"), new XAttribute("thickness", "3"), new XAttribute("color", "85E61A"), new XAttribute("valueOnRight", 1), new XAttribute("toolText", "Target")));


As since the trendline value is far beyond the graph y-axis, it isn't shown here.


As a result I tried to introduce max value of x-axis.

chart.Add(new XAttribute("yAxisMaxValue", 1000));


In this case the graph is as attached as yaxizmax.gif


The image itself is self explanatory.


Waiting for the reply in anticipation.






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