SharpPlot Reference > SharpPlot 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.


sp.SetXTickLengths(150); // Extend all ticks by 50 %
sp.SetXTickLengths(new int[] {120,60,60,60}); // Cyclic pattern
sp.XTickStyle = XTickStyles.Absolute;
sp.SetXTickLengths(new int[] {12,4,4,4}); // Size in points


See also ...

SharpPlot.XDatumThreshold Property | SharpPlot.XGridThreshold Property | SharpPlot.XTickStyle Property

Send comments on this topic
© Dyalog Ltd 2021