DataRange returns the minimum and maximum x and y values, implementing the plot.DataRanger interface.
()
| 73 | // DataRange returns the minimum and maximum |
| 74 | // x and y values, implementing the plot.DataRanger interface. |
| 75 | func (pts *Scatter) DataRange() (xmin, xmax, ymin, ymax float32) { |
| 76 | return plot.XYRange(pts) |
| 77 | } |
| 78 | |
| 79 | // Thumbnail the thumbnail for the Scatter, |
| 80 | // implementing the plot.Thumbnailer interface. |