Register Datum

Procedure SGraph.RegisterDatum(seriesIndex:Integer;h,v:Double);

{Defined in UNIT SGraph.} Example


Adds another datum to the graph’s storage object. Call SGraph.Invalidate to force the system to repaint the screen after you have registered all your data. If you want to add only a few data points to the graph you may wish to call RegisterAndPlot instead. The RegistAndPlot method is faster than invalidate for individual points since it draws a single line segment on the screen if the new segment does not go off scale. RegisterDatum followed by invalidate is faster for large data sets since the scale factor only has to be calculated once.

How to remove data from graph.