To answer your first post: unfortunately this is a limitation of our data smoothers at present. We’ve added an issue to our backlog to improve the behaviour or data smoothers on discontinuous line series but currently we have no estimate on when this will be implemented.
However, there is a workaround to get the smoothers to work with discontinuities in the data:
- Create a data smoother object (an instance of
- Before loading the data into the chart, use the data smoother’s
adaptedDataPointsFromDataPoints method to smooth each batch of data (i.e. between each discontinuity) and store the results.
- Add a nil data point between each batch of smoothed data.
- In your data source, return the smoothed data array.
To answer your follow-up question, there isn’t currently such a thing as “individual line styling”. If you wish to use different colours then a separate series for each set of data would probably be the best solution.