Get the x coordinates of the data set passed with the constructor (if not null) or otherwise of the data set of the first 'addPoints'. Returns null if neither exists
()
| 1357 | /** Get the x coordinates of the data set passed with the constructor (if not null) |
| 1358 | * or otherwise of the data set of the first 'addPoints'. Returns null if neither exists */ |
| 1359 | public float[] getXValues() { |
| 1360 | PlotObject p = getMainCurveObject(); |
| 1361 | return p==null ? null : p.xValues; |
| 1362 | } |
| 1363 | |
| 1364 | /** Get the y coordinates of the data set passed with the constructor (if not null) |
| 1365 | * or otherwise of the data set of the first 'addPoints'. Returns null if neither exists */ |
no test coverage detected