DataRange returns the minimum and maximum x and y values, implementing the plot.DataRanger interface.
()
| 194 | // DataRange returns the minimum and maximum |
| 195 | // x and y values, implementing the plot.DataRanger interface. |
| 196 | func (pts *Line) DataRange() (xmin, xmax, ymin, ymax float32) { |
| 197 | return plot.XYRange(pts) |
| 198 | } |
| 199 | |
| 200 | // Thumbnail returns the thumbnail for the LineTo, implementing the plot.Thumbnailer interface. |
| 201 | func (pts *Line) Thumbnail(plt *plot.Plot) { |