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
Answers
- 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- Marked As Answer byAlex GorevMSFT, OwnerWednesday, July 22, 2009 4:45 PM
- Unmarked As Answer bykrisg123 Monday, July 06, 2009 6:31 PM
- Marked As Answer bykrisg123 Thursday, July 02, 2009 2:38 PM
- Proposed As Answer byAlex GorevMSFT, OwnerThursday, July 02, 2009 5:57 AM
All Replies
- 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- Marked As Answer byAlex GorevMSFT, OwnerWednesday, July 22, 2009 4:45 PM
- Unmarked As Answer bykrisg123 Monday, July 06, 2009 6:31 PM
- Marked As Answer bykrisg123 Thursday, July 02, 2009 2:38 PM
- Proposed As Answer byAlex GorevMSFT, OwnerThursday, July 02, 2009 5:57 AM
- 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


