NewGrid returns a new grid with both vertical and horizontal lines using the default grid line style.
()
| 33 | // NewGrid returns a new grid with both vertical and |
| 34 | // horizontal lines using the default grid line style. |
| 35 | func NewGrid() *Grid { |
| 36 | return &Grid{ |
| 37 | Vertical: DefaultGridLineStyle, |
| 38 | Horizontal: DefaultGridLineStyle, |
| 39 | } |
| 40 | } |
| 41 | |
| 42 | // Plot implements the plot.Plotter interface. |
| 43 | func (g *Grid) Plot(c draw.Canvas, plt *plot.Plot) { |
no outgoing calls