DataRange returns the minimum and maximum x and y values, implementing the plot.DataRanger interface.
()
| 55 | // x and y values, implementing the plot.DataRanger |
| 56 | // interface. |
| 57 | func (pts *Scatter) DataRange() (xmin, xmax, ymin, ymax float64) { |
| 58 | return XYRange(pts) |
| 59 | } |
| 60 | |
| 61 | // GlyphBoxes returns a slice of plot.GlyphBoxes, |
| 62 | // implementing the plot.GlyphBoxer interface. |