| 343 | |
| 344 | // Primary line graph |
| 345 | PointPlot2D getPlot(int lineWidth, int colour, boolean points) { |
| 346 | assert mGraphType != null : "graph type has not been set"; |
| 347 | updateRangedData(); |
| 348 | final PointPlot2D lplot = new PointPlot2D(); |
| 349 | lplot.setData(mRangedPoints); |
| 350 | lplot.setPoints(points); |
| 351 | lplot.setLines(true); |
| 352 | lplot.setLineWidth(lineWidth); |
| 353 | lplot.setColor(colour); |
| 354 | lplot.setTitle(mTitle); |
| 355 | return lplot; |
| 356 | } |
| 357 | |
| 358 | // Text labels to overlay on the graph |
| 359 | TextPlot2D getScoreLabels() { |