Returns a reference to the PlotObject with x & y data (points, curve) added last, or null if none.
()
| 4198 | |
| 4199 | /** Returns a reference to the PlotObject with x & y data (points, curve) added last, or null if none. */ |
| 4200 | private PlotObject getLastCurveObject() { |
| 4201 | for (int i=allPlotObjects.size()-1; i>=0; i--) { |
| 4202 | if (allPlotObjects.get(i).type == PlotObject.XY_DATA) |
| 4203 | return allPlotObjects.get(i); |
| 4204 | } |
| 4205 | return null; |
| 4206 | } |
| 4207 | |
| 4208 | /** returns whether there are several plots so that one cannot give a single y value for a given x value */ |
| 4209 | private boolean hasMultiplePlots() { |
no test coverage detected