Reference > Methods > SetXTickLengths Method

SharpPlot.SetXTickLengths Method

Set the lengths of all X-tickmarks individually, as a percentage of standard, or as exact values in points if XTickStyle is Absolute.

Example

sp.SetXTickLengths(150); // Extend all tickssp.SetXTickLengths(new int[] {120,60,60,60}); // Cyclic patternsp.XTickStyle = XTickStyles.Absolute;sp.SetXTickLengths(new int[] {12,4,4,4});  // Values in pts

Overloads

See also ...

XDatumThreshold Property | XGridThreshold Property | XTickStyle Property


Send comments on this topic
© Dyalog Ltd 2013