Gets the flags of the xLabel ('x'), yLabel('y') or the legend ('l'). Returns -1 if the given PlotObject does not exist
(char c)
| 1347 | /** Gets the flags of the xLabel ('x'), yLabel('y') or the legend ('l'). |
| 1348 | * Returns -1 if the given PlotObject does not exist */ |
| 1349 | public int getObjectFlags(char c) { |
| 1350 | PlotObject plotObject = pp.getPlotObject(c); |
| 1351 | if (plotObject != null) |
| 1352 | return plotObject.flags; |
| 1353 | else |
| 1354 | return -1; |
| 1355 | } |
| 1356 | |
| 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 */ |
no test coverage detected