XY returns an x, y pair at given row in table
(row int)
| 213 | |
| 214 | // XY returns an x, y pair at given row in table |
| 215 | func (txy *tableXY) XY(row int) (x, y float32) { |
| 216 | if txy.table == nil || txy.table.Table == nil { |
| 217 | return 0, 0 |
| 218 | } |
| 219 | x = txy.xValue(row) |
| 220 | y = txy.Value(row) |
| 221 | return |
| 222 | } |
| 223 | |
| 224 | // Label returns a label for given row in table, implementing [plot.Labeler] interface |
| 225 | func (txy *tableXY) Label(row int) string { |