Hi,
I'm using SmartGWTPro version 4.0p-20140318.
I'm using zoom chart and I would like to display the whole data set in the main chart when the chart is initially displayed. After the chart is displayed user can zoom into a particular time range using mini chart at the bottom. My chart also allows the user to change the query which replaces the data set in the same chart object. I'm using setZoomStartValue() and setZoomEndValue() to set the first and the last point to display the whole dataset. This works fine the first time. After the chart is displayed and if user moves the sliders to zoom in and changes the query to display another data set, the left slider moves to the starting point but the right slider stays at the previous location. Due to this whole data set is not displayed. Since I'm calling setZoomEndValue() after the data is retrieved, the right zoom slider should move to the last point all the way to the right and the main chart should display the whole range.
One more thing - If I just call setZoomStartValue() and do not call setZoomEndValue(), as per documentation "If zoomEndValue is not also set, the range shown will be from zoomStartValue to the end of the dataset." This is not working as documented. The range is not set to the end of the dataset.
Am I doing something wrong?
Thanks.
I'm using SmartGWTPro version 4.0p-20140318.
I'm using zoom chart and I would like to display the whole data set in the main chart when the chart is initially displayed. After the chart is displayed user can zoom into a particular time range using mini chart at the bottom. My chart also allows the user to change the query which replaces the data set in the same chart object. I'm using setZoomStartValue() and setZoomEndValue() to set the first and the last point to display the whole dataset. This works fine the first time. After the chart is displayed and if user moves the sliders to zoom in and changes the query to display another data set, the left slider moves to the starting point but the right slider stays at the previous location. Due to this whole data set is not displayed. Since I'm calling setZoomEndValue() after the data is retrieved, the right zoom slider should move to the last point all the way to the right and the main chart should display the whole range.
One more thing - If I just call setZoomStartValue() and do not call setZoomEndValue(), as per documentation "If zoomEndValue is not also set, the range shown will be from zoomStartValue to the end of the dataset." This is not working as documented. The range is not set to the end of the dataset.
Am I doing something wrong?
Thanks.
Comment