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
解答
- 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- 已標示為解答Alex GorevMSFT, 擁有者Wednesday, 22 July, 2009 16:45
- 已取消標示為解答krisg123 Monday, 6 July, 2009 18:31
- 已標示為解答krisg123 Thursday, 2 July, 2009 14:38
- 已提議為解答Alex GorevMSFT, 擁有者Thursday, 2 July, 2009 5:57
所有回覆
- 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- 已標示為解答Alex GorevMSFT, 擁有者Wednesday, 22 July, 2009 16:45
- 已取消標示為解答krisg123 Monday, 6 July, 2009 18:31
- 已標示為解答krisg123 Thursday, 2 July, 2009 14:38
- 已提議為解答Alex GorevMSFT, 擁有者Thursday, 2 July, 2009 5: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

