create a spline chart view

A forum dedicated to WinForms version of LightningChart Ultimate.

Moderator: Queue Moderators

Post Reply
msthrax
Posts: 1
Joined: Tue Dec 06, 2016 5:56 pm

create a spline chart view

Post by msthrax » Tue Dec 06, 2016 6:04 pm

Hi
I need a chart that will smooth its values to look like a alternative signal (or sinusoidal). I've used PiontLineSeries as pointscollection and searched manual. This option called Spline in other chart components. Please help!
I'm a beginner with UltimateChart SDK.
thanks all.!

ArctionKestutis
Posts: 555
Joined: Mon Mar 14, 2016 9:22 am

Re: create a spline chart view

Post by ArctionKestutis » Wed Dec 07, 2016 6:51 am

Hi,
You could have Regression line (Spline chart) with PointLineSeries (but not with other series) by setting series.RegressionFitting property to other than None. Please check our Demo ViewXY -> Other -> “Line/Polyn. regression fitting” example. If you need those factors you can get them after line rendering with following:

Code: Select all

double[] aFactors = series.GetRegressionFactors();
All the best,
Kestutis

Post Reply