ChartView: Single data point support for StepLine series
Make the StepLineSeries being able to plot a 'step' for a single point. Currently the StepLine series does not support drawing a single data point when it is in the beginning or the end of the ItemsSource.
Posted on:18 Aug 2020 06:19
The fact that StepLineSeries renders a single point is definitely desired (and clearly implementable). This is already in use within our product (with the caveat that it doesn't currently render a single point if it is the last one).
If StepLineSeries can be updated to resolve the issue with the final point, I think everyone would be very happy.
Posted on:14 Aug 2020 11:30
I understand your point here. Nevertheless, the StepLine series draw a line for a point, it still won't work in some scenarios. For example, no line for the last point. If, for example, use the same code with LineSeries, you can observe that no line will be drawn at all. Both series share similar render logic, which requires at least two consecutive points to render correctly. That is why we consider it for a not supported scenario.
You are probably right here, that the behavior should mimic the one in LineSeries, and it should not draw a line for a single point.I have already raised the priority of this request so that our development team could consider its implementation in one of our next releases.
Posted on:10 Aug 2020 06:49
It would appear that StepLineSeries does not currently require two consecutive data points to draw a line:
Note that the final value in this example is not being plotted. This is the issue.
Posted on:10 Aug 2020 05:58
The StepLine series type is similar to the LineSeries one, but it does not use the shortest distance to connect two data points. As the LilneSeries requires at least two data points in order to draw a connecting line, this requirement is also valid for the StepLine series.
I can't say when this functionality will be available. I can see that you have subscribe to the item. This way you will be notified when this request is planned for implementation.
Posted on:04 Aug 2020 01:43
This sounds a lot more like a bug than a missing feature.