DataRange returns the minimum and maximum x and y values, implementing the plot.DataRanger interface.
()
| 141 | // DataRange returns the minimum and maximum |
| 142 | // x and y values, implementing the plot.DataRanger interface. |
| 143 | func (pts *Line) DataRange() (xmin, xmax, ymin, ymax float64) { |
| 144 | return XYRange(pts) |
| 145 | } |
| 146 | |
| 147 | // GlyphBoxes implements the plot.GlyphBoxer interface. |
| 148 | func (pts *Line) GlyphBoxes(plt *plot.Plot) []plot.GlyphBox { |