Returns a reference to the PlotObject having the data passed with the constructor or (if that was null) the first x & y data added later. Otherwise returns null.
()
| 4189 | /** Returns a reference to the PlotObject having the data passed with the constructor or (if that was null) |
| 4190 | * the first x & y data added later. Otherwise returns null. */ |
| 4191 | private PlotObject getMainCurveObject() { |
| 4192 | for (PlotObject plotObject : allPlotObjects) { |
| 4193 | if (plotObject.type == PlotObject.XY_DATA) |
| 4194 | return plotObject; |
| 4195 | } |
| 4196 | return null; |
| 4197 | } |
| 4198 | |
| 4199 | /** Returns a reference to the PlotObject with x & y data (points, curve) added last, or null if none. */ |
| 4200 | private PlotObject getLastCurveObject() { |
no outgoing calls
no test coverage detected