Reference > Methods > ResetKey Method

SharpPlot.ResetKey Method

Removes any accumulated legend placeholders.

public void ResetKey();

Example

sp.ResetKey();

This may be useful if any graphing methods (such as DrawLineGraph) have been used to place arbitrary guidelines or other artwork before the actual data is drawn. The key placeholders which will be accumulated by the prior drawing commands should be cleared to prevent them appearing in the legend.


Send comments on this topic
© Dyalog Ltd 2013