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

SfChart inside SfCircularGauge

Hello,

I want to place a DoughnutSeries SfChart inside an SfCircularGauge.

One way is to place it inside the GaugeHeader. The question is how can I make sure that the  DoughnutSeries center is always aligned with the  SfCircularGauge center?


Best regards,

Emanuel


1 Reply

ET Eswaran Thirugnanasambandam Syncfusion Team February 17, 2023 06:39 AM UTC

Hi Emanuel,


By setting the HeaderAlignment of SfCircularGauge as Center, it's possible to ensure that the center of the DoughnutSeries remains aligned with the center of the SfCircularGauge as mentioned in the below code snippet.

[XAML]

<gauge:SfCircularGauge HeaderAlignment="Center" >



We have prepared a sample for your requirement and please get it from below attachment. Please refer the below user guide documentation for more information.

https://help.syncfusion.com/wpf/radial-gauge/header#setting-alignment-for-header


Regards,

Eswaran


Attachment: GettingStartedCircularGauge_b29b1f6e.zip

Loader.
Up arrow icon