How to get smooth lines in a WPF Toolkit Chart LineSeries?
I'm creating a chart using WPF toolkit. The chart has some lineseries in it. I want to modify the lineseries so that I have sm开发者_C百科ooth lines instead of straight lines. Is that even possible? I've been googling the problem for a while and have not come up with the answer.
Any help would be much appreciated.
If there is no built in series which will achieve what you want, maybe you can create your own which draws splines rather than regular lines.
A quick Google points to this SplineSeries, which may be a good starting point for you.
Perhaps you can look into a Moving Average to smoothen the line. eg:
chart1.DataManipulator.FinancialFormula(FinancialFormula.MovingAverage, "10", series1, series2);
精彩评论