Gets the label String of the xLabel ('x'), yLabel('y') or the legend ('l'). Returns null if the given PlotObject does not exist or its label is null
(char c)
| 1337 | /** Gets the label String of the xLabel ('x'), yLabel('y') or the legend ('l'). |
| 1338 | * Returns null if the given PlotObject does not exist or its label is null */ |
| 1339 | public String getLabel(char c) { |
| 1340 | PlotObject plotObject = pp.getPlotObject(c); |
| 1341 | if (plotObject != null) |
| 1342 | return plotObject.label; |
| 1343 | else |
| 1344 | return null; |
| 1345 | } |
| 1346 | |
| 1347 | /** Gets the flags of the xLabel ('x'), yLabel('y') or the legend ('l'). |
| 1348 | * Returns -1 if the given PlotObject does not exist */ |
no test coverage detected