else {
dataset = (JRDesignTimeSeriesDataset)chart.getDataset();
}
TimePeriodEnum timePeriod = TimePeriodEnum.getByName(attrs.getValue(ATTRIBUTE_timePeriod));
if( timePeriod != null)
{
dataset.setTimePeriod(timePeriod.getTimePeriod());
}
chart.setDataset( dataset );