Search in sources :

Example 1 with XYDatasetFilter

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();
}
Also used : XYDatasetFilter(net.sourceforge.processdash.ui.lib.chart.XYDatasetFilter) EVSchedule(net.sourceforge.processdash.ev.EVSchedule)

Aggregations

EVSchedule (net.sourceforge.processdash.ev.EVSchedule)1 XYDatasetFilter (net.sourceforge.processdash.ui.lib.chart.XYDatasetFilter)1