We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

How create three line series in a chart

I have three quantity values  and three dates, i want to draw them (three line) in a chart . Can i??

5 Replies

YP Yuvaraj Palanisamy Syncfusion Team April 17, 2015 12:41 PM UTC

Hi Tung,

We have analyzed your requirement and prepared a sample for your reference, please find the sample from the following location.

Sample: http://www.syncfusion.com/downloads/support/forum/118866/Sample1353679080.zip

Please let us know if you require further assistance on this.

Thanks,
Yuvaraj P


TU tung April 23, 2015 03:43 AM UTC

Thank for your support. But I have problems : 
- How to display percentage(%) of each component in pie chart
- How to change color in sfchart - i tried to use Color but it did not work 
Can you help me??
Thanks!!!


YP Yuvaraj Palanisamy Syncfusion Team April 23, 2015 09:18 AM UTC

Hi Tung,

Please find the response for your queries.

Query 1: How to display percentage(%) of each component in pie chart

We would like to let you know that you can achieve your requirement by setting LabelContent property of DataMarker as Percentage, please refer the below code snippet.

Code snippet [C#]


pieseries.DataMarker.ShowLabel = true;
pieseries.DataMarker.LabelContent = LabelContent.Percentage;



Query 2: How to change color in sfchart - i tried to use Color but it did not work

You can change the color of the series using Color property of ChartSeries. Please refer the following code snippet to override the default color, we have also prepared a sample for your reference, please find the sample from the following location.

Code snippet [C#]


chartSeries.Color = Android.Graphics.Color.Red;



Sample: http://www.syncfusion.com/downloads/support/forum/118866/Sample-2071988895.zip

Please let us know if you require further assistance on this.

Thanks,
Yuvaraj P


TU tung May 6, 2015 01:28 PM UTC

Thank Yuvaraj Palanisamy for all supports.  Have you introduce document about data grid of xamarin android in syncfusion?


DK Dinesh Kumar B Syncfusion Team May 7, 2015 11:19 AM UTC

Hi Tung,

You can refer the below link for Xamarin.Android datagrid documentation.


Regards,
Dinesh kumar

Loader.
Live Chat Icon For mobile
Up arrow icon