I have tried getting started example which you can see here, https://github.com/syaifulnizamyahya/SfChart
Unfortunately, I want to use spline chart but i dont understand how it works. I tried looking at the documentation here, https://help.syncfusion.com/uwp/sfchart/series#line-and-spline-charts but i dont quite grasp the data structure in the example.
What i want is a spline chart with multiple spline series.
My data series looks like this
public ObservableCollection<Series> ChartSeries { get; set; } = new ObservableCollection<Series>();
public class Series
{
public ObservableCollection<Curve> Curves { get; set; } = new ObservableCollection<Curve>();
}
public class Curve
{
public ObservableCollection<Point> Points { get; set; } = new ObservableCollection<Point>();
}
public class Point
{
public double x { get; set; } = default(double);
public double y { get; set; } = default(double);
}
My xaml is
<Charts:SplineSeries ItemsSource="{x:Bind ViewModels.ChartSeries}"/>
Im confused on how to bind the data.
Thanks.