Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
475
Showing Min/Max/Set point values
posted

In the drawing of my scatter chart I was wondering if there was a way to show a line across the graph that represents a min, max or set point value without having to create a series that would represent this?

Parents
No Data
Reply
  • 71886
    Suggested Answer
    Offline posted

    Hello wltaylor,

    I think that you could use the following code sample in order to achieve the desired look and feel:

            private void ultraChart1_FillSceneGraph(object sender, Infragistics.UltraChart.Shared.Events.FillSceneGraphEventArgs e)
            {
                  Line l = new Line(new Point(50, 50), new Point(1000, 50));
                  l.PE.Stroke = Color.Red;
                  e.SceneGraph.Add(l);            
            }
    

     

    Please feel free to let me know if I misunderstood you or if you have any other questions.

Children