Hi,
I'm using SmartGWTPro 4.0p-20140221.
I've a chart in which I display time series data for different time intervals. When user changes the time interval and not data is present for the time interval I want to clear the data from previous search.
I'm trying to clear the previous data by setting empty record list
ArrayList timeChartRecList = new ArrayList(0);
timeChart.setData(new RecordList(timeChartRecList));
timeChart.markForRedraw();
This is not clearing the data form previous search.
Is there any other way of doing this?
Thanks.
I'm using SmartGWTPro 4.0p-20140221.
I've a chart in which I display time series data for different time intervals. When user changes the time interval and not data is present for the time interval I want to clear the data from previous search.
I'm trying to clear the previous data by setting empty record list
ArrayList timeChartRecList = new ArrayList(0);
timeChart.setData(new RecordList(timeChartRecList));
timeChart.markForRedraw();
This is not clearing the data form previous search.
Is there any other way of doing this?
Thanks.
Comment