BoldDeskWe are launching BoldDesk on Product Hunt soon. Learn more & follow us.
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