doughnut chart

I am using a donut chart and my Y-Axis values don't show up when it's created. How can I show these values? 
I would also like to make the background of this chart transparent if possible.

1 Reply

PS Parthiban Sundaram Syncfusion Team June 15, 2018 10:32 AM UTC

Hi Caleb, 
  
  
Thanks for using Syncfusion products. 
  
Regarding the query “Y-axis value shows 
  
You can enable the datamarker label to show the y axis values of the doughnut chart. Please refer the following code snippet for more details.  
  
Code snippet: 
  
  
        <chart:DoughnutSeries.DataMarker> 
                        <chart:ChartDataMarker ShowLabel="True"> 
                        </chart:ChartDataMarker> 
                    </chart:DoughnutSeries.DataMarker> 
  
 
  
  
Regarding the query about “background of the chart is Transparent 
  
You can set the chart background as Transparent. Please refer the following code snippet for more details. 
  
  
     <chart:SfChart x:Name="Chart" HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand" BackgroundColor="Transparent"> 
    </chart:SfChart> 
    
 
  
  
Please let us know, if you need further assistance on this. 
  
Regards, 
Parthiban S. 
 


Loader.
Up arrow icon