drawConfig configures everything for drawing
()
| 53 | |
| 54 | // drawConfig configures everything for drawing |
| 55 | func (pt *Plot) drawConfig() { |
| 56 | pt.Resize(pt.Size) // ensure |
| 57 | pt.Legend.TextStyle.openFont(pt) |
| 58 | pt.Paint.ToDots() |
| 59 | } |
| 60 | |
| 61 | // Draw draws the plot to image. |
| 62 | // Plotters are drawn in the order in which they were |