- Home
- Forum
- Xamarin.Forms
- Multiline series in Syncfusion charts for Xamarin Forms
Multiline series in Syncfusion charts for Xamarin Forms

Hi Sajid,
Thanks for using Syncfusion products.
In Our SFChart we have support for render multiple series in single chart. Below code snippet shown how to add multiple series in single chart.
CodeSnippet:
SfChart chart = new SfChart ();
var line1 = new LineSeries()
{
ItemsSource = Data3, Label = "Published", Color = Color.Purple,
DataMarker = new ChartDataMarker(){ShowLabel = false, ShowMarker = true,
MarkerHeight=5, MarkerWidth=5, MarkerColor = Color.Purple}
};
var line2 = new LineSeries()
{
ItemsSource = Data2, Label = "Accepted", Color = Color.Purple,
DataMarker = new ChartDataMarker(){ShowLabel = false, ShowMarker = true,
MarkerHeight=5, MarkerWidth=5, MarkerColor = Color.Purple}
};
var line3 = new LineSeries()
{
ItemsSource = Data1, Label = "Active", Color = Color.Purple,
DataMarker = new ChartDataMarker(){ShowLabel = false, ShowMarker = true,
MarkerHeight=5, MarkerWidth=5, MarkerColor = Color.Purple}
};
chart.Series.Add(line1);
chart.Series.Add(line2);
chart.Series.Add(line3);
We have prepared a sample based on your requirement. Please download the sample from below location.
Sample: MultiLineSeries
Please let us know if you require further assistance on this.
Thanks
Manivannan.E
Hi Sajid,
Thanks for using Syncfusion products.
In Our SFChart we have support for render multiple series in single chart. Below code snippet shown how to add multiple series in single chart.
CodeSnippet:
SfChart chart = new SfChart ();
var line1 = new LineSeries()
{
ItemsSource = Data3, Label = "Published", Color = Color.Purple,
DataMarker = new ChartDataMarker(){ShowLabel = false, ShowMarker = true,
MarkerHeight=5, MarkerWidth=5, MarkerColor = Color.Purple}
};
var line2 = new LineSeries()
{
ItemsSource = Data2, Label = "Accepted", Color = Color.Purple,
DataMarker = new ChartDataMarker(){ShowLabel = false, ShowMarker = true,
MarkerHeight=5, MarkerWidth=5, MarkerColor = Color.Purple}
};
var line3 = new LineSeries()
{
ItemsSource = Data1, Label = "Active", Color = Color.Purple,
DataMarker = new ChartDataMarker(){ShowLabel = false, ShowMarker = true,
MarkerHeight=5, MarkerWidth=5, MarkerColor = Color.Purple}
};
chart.Series.Add(line1);
chart.Series.Add(line2);
chart.Series.Add(line3);
We have prepared a sample based on your requirement. Please download the sample from below location.
Sample: MultiLineSeries
Please let us know if you require further assistance on this.
Thanks
Manivannan.E
Hi Syncfusion team!,
- 2 Replies
- 3 Participants
-
SA Sajid Ali
- Jul 16, 2015 05:24 AM UTC
- Dec 15, 2017 04:28 AM UTC