| ||
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 > SetYTickMarks Method SharpPlot.SetYTickMarks MethodSet Y tick marks given a tickmark specification. Examplesp.SetYTickMarks(100); // Every 100sp.SetYTickMarks(AE.Join(50,1)); // Major,minorsp.SetYTickMarks(new int[] {0,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. See also ...SharpPlot Members | YAxisStyle Property |