Sets whether to show major ticks at the y axis. Call update() thereafter to make the change visible (if the image is shown already).
(boolean yTicks)
| 746 | /** Sets whether to show major ticks at the y axis. |
| 747 | * Call update() thereafter to make the change visible (if the image is shown already). */ |
| 748 | public void setYTicks(boolean yTicks) { |
| 749 | pp.axisFlags = yTicks ? pp.axisFlags | Y_TICKS : pp.axisFlags & (~Y_TICKS); |
| 750 | } |
| 751 | |
| 752 | /** Sets whether to show minor ticks on the x axis (if linear). Also sets major ticks if true and no grid is set. |
| 753 | * Call update() thereafter to make the change visible (if the image is shown already). */ |