| ||
Introducing SharpPlot Your First Chart Recent Updates Sample Charts Tutorials General Tutorials Chart Tutorials SharpPlot Class Methods Structures Enumerations Style examples Glossaries Active Charts VectorMath Class DBUtil Class Get SharpPlot Download SharpPlot Buying SharpPlot SharpPlot Support Upgrading from GraPL Release notes |
Reference > Properties > XGridThreshold Property SharpPlot.XGridThreshold PropertySet X grid threshold which will draw gridlines at major ticks. The default value is 80% of standard tick length, or 4pt if XTickStyle is Absolute. public double XGridThreshold {get; set;} Examplesp.XGridThreshold = 50; This will draw gridlines at any major ticks above 50% of the standard length. Typically this would be used with spanned X-labels to create a hierarchical timeseries, for example gridlines at year boundaries with monthly (small) tickmarks and standard tickmarks at the year-end. sp.XGridThreshold = 1.5; This will draw vertical grid lines at any major tickmarks which are above 1.5pt if the XTickStyle has been set to Absolute. See also ...SharpPlot Members | XTickStyle Property | SetXTickLengths Method |