Reference > Properties > ChartChanged Property

SharpPlot.ChartChanged Property

Set ChartChanged delegate to run any suitable function.

public ChartChangedDelegate ChartChanged {get; set;}

Example

sp.ChartChanged += ChartWatcher;

SharpPlot will call your chosen delegate (which is passed the current instance as argument) whenever a redraw is required. This occurs whenever any of the DrawXxx functions is run, as well as at calls such as Reset.


Send comments on this topic
© Dyalog Ltd 2014