Infragistics Home

Infragistics Forums

Infragistics community online discussions.
Welcome to Infragistics Forums Sign in | FAQ
in Search

Add Threshold Line to Webchart

Last post 06-30-2008 14:50 by [Infragistics] Paul Cavallaro. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 06-23-2008 19:35

    Add Threshold Line to Webchart

    Does the Infragistics Webchart component have the ability to have threshold lines similar to the one on this demo: http://demos6.dundas.com/powerflo/

    The red line on this demo serves as the threshold line. I would like to implement the same thing using Infragistics Webchart.

    Please let me know if this is possible or not. Thanks!

    • Post Points: 20
  • 06-24-2008 8:17 In reply to

    Re: Add Threshold Line to Webchart

    If you use a 2D chart, you can use FillSceneGraph event to custom draw the line.
    You can try the following example that implements FillSceneGraph:
    http://help.infragistics.com/Help/NetAdvantage/NET/2008.2/CLR2.0/html/Chart_Modify_Scene_Graph_Using_FillSceneGraph_Event.html

     

    This is taken from this thread: http://forums.infragistics.com/forums/t/9148.aspx

    which has a lot of good information regarding this topic. I hope this helps -Paul

    • Post Points: 5
  • 06-26-2008 18:54 In reply to

    Re: Add Threshold Line to Webchart

    Any samples showing how to draw a line? The samples here show rectangles and circles. Thanks!

    • Post Points: 20
  • 06-30-2008 14:50 In reply to

    Re: Add Threshold Line to Webchart

    Well it isn't much different for Lines. Create a line with the constructor: Line l = new Line(System.Drawing.Point p1, System.Drawing.Point p2) You can get the coordinates for the first point as shown in the tutorial using Map() and then the second point you can provide with the information you already have. It should hopefully be pretty self explanatory from there.

    -Paul

    • Post Points: 5
Page 1 of 1 (4 items)
Powered by Community Server (Commercial Edition), by Telligent Systems