SharpPlot Reference > SharpPlot Properties > XDatumThreshold Property SharpPlot.XDatumThreshold Property
Set X datum threshold to draw vertical datum lines at major tickmarks which exceed this value.The default is 160% of standard, or 8pt if XTickStyle is Absolute. This setting can be used in conjunction with spanned X-axis labels to create hierarchical timeseries plots, for example with datum lines every quarter.
public double XDatumThreshold {get; set;}
Example
sp.XDatumThreshold = 150;
This will draw vertical datum lines at any major tickmarks which are above 150% of standard.
sp.XDatumThreshold = 5.6;
This will draw vertical datum lines at any major tickmarks which are above 5.6pt if the XTickStyle has been set to Absolute.
See also ...SharpPlot Members | SharpPlot.XTickStyle Property | SharpPlot.SetXTickLengths Method
Send comments on this topic © Dyalog Ltd 2021
|