◆ prepareJFreeChart()
boolean org.turro.financials.business.CompanyChartEngine.prepareJFreeChart |
( |
JFreeChart |
jfchart, |
|
|
Chart |
chart |
|
) |
| |
Definition at line 35 of file CompanyChartEngine.java.
37 if(chart.getType().equals(Chart.LINE)) {
38 LineAndShapeRenderer renderer = (LineAndShapeRenderer) ((CategoryPlot) jfchart.getPlot()).getRenderer();
40 renderer.setSeriesStroke(0,
new BasicStroke(2));
41 renderer.setSeriesStroke(1,
new BasicStroke(2));
42 renderer.setSeriesStroke(2,
new BasicStroke(2));
44 renderer.setSeriesShapesVisible(0, Boolean.TRUE);
45 renderer.setSeriesShapesVisible(1, Boolean.TRUE);
46 renderer.setSeriesShapesVisible(2, Boolean.TRUE);
The documentation for this class was generated from the following file: