How to draw a thresholds(Max and Min) values on y-axis
Description of the problem 1:
I have a line chart with (Major Grid Lines on y-axis horizontally) that needs to be displayed threshold values(MAX and MIN) , these values are comming from the database.
I have to draw a line for max and min values on y-axis horizontally.
I tried working out with the StripLines, but the problem is I need to assign the values(Max and Min) dyanamicaly from the database.
Is there any other alternative that i can workany sample code is greatly appreciated.
And my second problem is, i need to navigate to a Detail Report page when the user clicks on a line chart.
I worked using series.url ="abc.aspx"; --- its working fine, but the problem is i need to open the page in a new browser with the proper height and width instead of navigating to a another page.
Any alternate suggestions
Please give me an example code.Thanks in Advance
Antworten
- You can read the values from the database and then set StripLine.IntervalOffset to this value. You can also use HorizontalLine annotation but stripline should be an easier approach.
Alex.
http://blogs.msdn.com/alexgor- Als Antwort markiertAlex GorevMSFT, BesitzerMittwoch, 22. Juli 2009 16:45
- Tag als Antwort aufgehobenkrisg123 Montag, 6. Juli 2009 18:31
- Als Antwort markiertkrisg123 Donnerstag, 2. Juli 2009 14:38
- Als Antwort vorgeschlagenAlex GorevMSFT, BesitzerDonnerstag, 2. Juli 2009 05:57
Alle Antworten
- You can read the values from the database and then set StripLine.IntervalOffset to this value. You can also use HorizontalLine annotation but stripline should be an easier approach.
Alex.
http://blogs.msdn.com/alexgor- Als Antwort markiertAlex GorevMSFT, BesitzerMittwoch, 22. Juli 2009 16:45
- Tag als Antwort aufgehobenkrisg123 Montag, 6. Juli 2009 18:31
- Als Antwort markiertkrisg123 Donnerstag, 2. Juli 2009 14:38
- Als Antwort vorgeschlagenAlex GorevMSFT, BesitzerDonnerstag, 2. Juli 2009 05:57
- Thanks a lot Alex.
I got it
And Iam struggling with the second issue now.
Please give me an idea about this issue below:
And my second problem is, i need to navigate to a Detail Report page when the user clicks on a line chart.
I worked using series.url ="abc.aspx"; --- its working fine, but the problem is i need to open the page in a new browser with the proper height and width instead of navigating to a another page.
Any alternate suggestions
Please give me an example code.
Thanks - You need to enter the JavaScript to open a new window of specified size. Check this link: http://www.javascripter.net/faq/openinga.htm
Alex.
http://blogs.msdn.com/alexgor

