DoughnutSeries does not show percentage in the center of the chart for Android

The SFChart DoughnutSeries does not show the percentage in the center of the chart on Android, but it does on iOS. How can I get Android to match? 


                            <chart:SfChart HeightRequest="150" Grid.Column="0" Grid.Row="0" HorizontalOptions="CenterAndExpand" VerticalOptions="CenterAndExpand" Margin="0,0,0,0">

                                <chart:SfChart.Series>

                                    <chart:DoughnutSeries Spacing="{Binding DonutSpacing}" StartAngle="-90" EndAngle="270" ItemsSource="{Binding AdheranceSnapshotData}" DoughnutCoefficient="0.72" CircularCoefficient=".85" XBindingPath="DateString" YBindingPath="ValueInt">                                        <chart:DoughnutSeries.ColorModel>                                            <chart:ChartColorModel Palette="Custom" CustomBrushes="{Binding DonutColors}" />                                        </chart:DoughnutSeries.ColorModel>

                                    </chart:DoughnutSeries>

                                </chart:SfChart.Series>

                            </chart:SfChart>



1 Reply

DD Devakumar Dhanapoosanam Syncfusion Team August 22, 2022 09:39 AM UTC

Hi David Bauer,


We have checked adding the DoughnutSeries with CenterView label and it is placing proper at our end in android. Please find the tested sample in the attachment below.


https://help.syncfusion.com/xamarin/charts/charttypes#add-view-to-the-center-of-doughnut-chart


Could you please share the below details,

  • Please check by updating the latest SfChart NuGet version and let us know whether if still having any issue.

  • Share complete chart related code with CenterView label in doughnut series.

  • Please revert us by modifying the demo sample shared with issue reproduced state and replication steps which will be helpful to provide you better solution at the earliest.


Regards,

Devakumar D


Attachment: SF_176931_a8eaac42.zip

Loader.
Up arrow icon