Hi , all. I'm creating a live chart at the moment. Everything goes nice , but i want to improve my chart a little bit. When i receive the first 2-3 points , they are expanded on all chart. Can i disable this expanding somehow ? I want something like charts in Windows Task Manager.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Not sure what you mean by "expanding", but you can definitely fix the range on the axis, and then points that aren't within the range won't be rendered. And you can change the range before or after the series is rendered. See:
Another thing that could be what you're looking for is the ability to automatically remove a point from a series whenever you add a point, in order to keep the number of data points consistent. You can support that by using the "shift" parameter when you call the "addPoint()" method on a Series. An example of that parameter in action is available in this example in the showcase application:
Thanks, it works))) But i have another question . I have almost the same chart as "dynamic-spline-updating" chart , and when i increase the timer's sheduleRepeating , it moves point accordingly to the time axis. Actually its correct , but can we move points always on the same range , and just change the time value ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi , all. I'm creating a live chart at the moment. Everything goes nice , but i want to improve my chart a little bit. When i receive the first 2-3 points , they are expanded on all chart. Can i disable this expanding somehow ? I want something like charts in Windows Task Manager.
Not sure what you mean by "expanding", but you can definitely fix the range on the axis, and then points that aren't within the range won't be rendered. And you can change the range before or after the series is rendered. See:
http://www.moxiegroup.com/moxieapps/gwt-highcharts/apidocs/org/moxieapps/gwt/highcharts/client/Axis.html#setExtremes%28java.lang.Number,%20java.lang.Number%29
Another thing that could be what you're looking for is the ability to automatically remove a point from a series whenever you add a point, in order to keep the number of data points consistent. You can support that by using the "shift" parameter when you call the "addPoint()" method on a Series. An example of that parameter in action is available in this example in the showcase application:
http://www.moxiegroup.com/moxieapps/gwt-highcharts/showcase/#dynamic-spline-updating
Thanks, it works))) But i have another question . I have almost the same chart as "dynamic-spline-updating" chart , and when i increase the timer's sheduleRepeating , it moves point accordingly to the time axis. Actually its correct , but can we move points always on the same range , and just change the time value ?