Reference > Methods > SetDatumLineTags Method

SharpPlot.SetDatumLineTags Method

Set tags to be written above each datum line given a string array or a simple string.

Example

sp.SetYDatumLines(new int[] {25,50});   // Acceptable range
sp.SetDatumTags(new string[]{"Lower limit","Upper limit"});  // Matching labels

Overloads

Notes

The tags are written above (or vertically to the left) of Y and X datum lines at the end of the line opposite to the axis, so by default you will see YDatum lines at the right-hand side of the chart, written just above each line.

Tags are taken in X,Y,Z order if you need to label tags on more than one axis in the same chart.

For contour plots, the tags are written on the lines in the same style as the contour labels.


Send comments on this topic
© Dyalog Ltd 2013