case CHART_TYPE_GANTT:
dataset = factory.getGanttDataset((JRGanttDataset) chart.getDataset());
plot = factory.getBarPlot((JRBarPlot) chart.getPlot());
break;
default:
throw new JRRuntimeException("Chart type not supported.");
}
showLegend = chart.getShowLegend();
evaluationTimeValue = chart.getEvaluationTimeValue();
linkType = chart.getLinkType();