Minima and Maxima

Oct 22, 2012 at 12:35 PM

I wonder if it is possible to set two lines within the graph that will show the minima and maxima for the data...

 

The project is as following: 

I wish to display data from a .dat file within the dynamic data display. The values I get from this .dat files are for several devices. 

There are existing Minima and Maxima values for each device. This is what I want to display. One line, maybe in red on top, and one line in blue at the bottom. The programm will let you check if there are any values above those lines, or under them (for the minima). 

Is there anyone with a idea, how this could be realized?

I tried to find it out on myself, but without a propper documentation it is really hard to come to any conclusion.

 

Thanks a lot!!!

Oct 22, 2012 at 12:54 PM

Hi,

Use Range (HorizontalRange I guess).

HorizontalRange range = new HorizontalRange ();
range.Value1 = // some data
range.Value2 = // some data
range.Fill = Brushes.Red;
this.plotter.Children.Add(range);

Regards

Ravi.

Oct 31, 2012 at 8:57 AM

Thanks!

Tried this and it works :-)

Regards

 

ChatNoir