drawTicks returns true if the tick marks should be drawn.
()
| 223 | |
| 224 | // drawTicks returns true if the tick marks should be drawn. |
| 225 | func (a Axis) drawTicks() bool { |
| 226 | return a.Tick.Width > 0 && a.Tick.Length > 0 |
| 227 | } |
| 228 | |
| 229 | // A horizontalAxis draws horizontally across the bottom |
| 230 | // of a plot. |