| ||
Introducing SharpPlot Your First Chart Recent Updates Sample Charts Tutorials General Tutorials Chart Tutorials SharpPlot Class Properties 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 > Methods > SetXTickMarks Method SharpPlot.SetXTickMarks MethodSet X tick marks given a tickmark specification. Examplesp.SetXTickMarks(10); // Every 10sp.SetXTickMarks(20,4); // Major,minorsp.SetXTickMarks(new int[] {10,20,50,100}); // Exact placement Overloads
The units of the major tick interval are normally just the units of the data, but there are some special cases when plotting time-related values. Axis styles which affect this calculation are:
The same applies if you choose to give tickmarks exactly as an array, except that in the ‘monthly’ case you give the positions in days to match the OLE date values. See also ... |