use of net.sourceforge.processdash.ui.lib.chart.XYDatasetFilter in project processdash by dtuma.
the class EVReport method writeCombinedChart.
public void writeCombinedChart() throws IOException {
// Create the data for the chart to draw.
EVSchedule s = getEvSchedule(settings.getEffectiveFilter(evModel));
xydata = s.getCombinedChartData();
// possibly hide lines on the chart, at user request.
boolean hidePlan = settings.getBool(CUSTOMIZE_HIDE_PLAN_LINE);
if (hidePlan)
xydata = new XYDatasetFilter(xydata).setSeriesHidden("Plan_Value", hidePlan);
// Alter the appearance of the chart.
maybeWriteParam("title", "Cost & Schedule");
super.writeContents();
}
Aggregations