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, 所有者2009年7月22日 16:45
- 回答としてマークされていないkrisg123 2009年7月6日 18:31
- 回答としてマークkrisg123 2009年7月2日 14:38
- 回答の候補に設定Alex GorevMSFT, 所有者2009年7月2日 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, 所有者2009年7月22日 16:45
- 回答としてマークされていないkrisg123 2009年7月6日 18:31
- 回答としてマークkrisg123 2009年7月2日 14:38
- 回答の候補に設定Alex GorevMSFT, 所有者2009年7月2日 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

