❔ Creating a smooth graph in UWP
In one of my projects I needed to create a line graph to display some data. But the line graph needs to be smooth. Smooth in a way such that it does not gets off the actual data points.
I don't know if there is any libraries already available for this. But I tried creating one from scratch using canvas and bézier curves. It does make the graph smoot from one data point to another but not on the data points.
2 Replies
Can you show an example of the graph being too sharp and the smoothed graph being off-data?
There's https://github.com/beto-rodriguez/LiveCharts2 which is in RC now. https://github.com/ScottPlot/ScottPlot v4 doesn't support UWP, but v5 (beta) should via SkiaSharp. https://github.com/oxyplot/oxyplot already has a SkiaSharp client it seems.
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.