Contents Previous Next

## 7.9 Adjusting the automatic tick marks

You can adjust the automatic tick marks by telling JpGraph how dense you want them to be. You use the Graph::SetTickDensity() method. You can set the density setting in four steps

- TICKD_VERYSPARSE, Very few ticks
- TICKD_SPARSE, Few ticks
- TICKD_NORMAL, Standard number of ticks
- TICKD_DENSE, Large number of ticks

Taking the previous example with the manual scale but automatic ticks and using a denser ticks setting gives the following result

Figure 79: Manual scale with automatic ticks but with a denser tick settings. [src]

Contents Previous Next