Sets whether to show minor ticks on the y axis (if linear). Also sets major ticks if true and no grid is set. Call update() thereafter to make the change visible (if the image is shown already).
(boolean yMinorTicks)
| 760 | /** Sets whether to show minor ticks on the y axis (if linear). Also sets major ticks if true and no grid is set. |
| 761 | * Call update() thereafter to make the change visible (if the image is shown already). */ |
| 762 | public void setYMinorTicks(boolean yMinorTicks) { |
| 763 | pp.axisFlags = yMinorTicks ? pp.axisFlags | Y_MINOR_TICKS : pp.axisFlags & (~Y_MINOR_TICKS); |
| 764 | if (yMinorTicks && !hasFlag(Y_GRID)) |
| 765 | pp.axisFlags |= Y_TICKS; |
| 766 | } |
| 767 | |
| 768 | /** Sets the properties of the axes. Call update() thereafter to make the change visible |
| 769 | * (if the image is shown already). */ |