Hi developers, we plan to plot control charts (which consist of upper and lower control limit line) by using zoomcharts in our project.
Since zoomcharts still do not have scatter plot like chart, so we decide to plot the control chart by using time chart. The upper and lower control limit will be 2 separated series line at time chart.
We know that the control chart can be plotted only after we collect 30 and above data points, this means that the first control point will be plotted starting from the 31st data points. Notice that the time chart will auto aggregate the value for each unit (second, day, etc), so even if we already have 30 data points, the number of points for each unit will not be the same as some points may already aggregated together.
We plan to recalculate the control line series data every times the chart unit is changed. So, we try to use dataFunction to recalculate the series line based on previous data points but the main problem for dataFunction is we do not know the previous data value and how many previous points are already gone through dataFunction before.
Do you thing this kind of chart is achievable by using time chart? Is that any alternative way to plot this kind or chart by using zoomcharts? Thank you.