using the pieSeries and currently just have the ChartDataMarker set with a LabelContent = LabelContent.Percentage - which is ok, however I'd also like to show the count (i.e. "%28 (142)") - both numbers are useful. Doesn't look to be an option currently, if not I'd like to submit it for a feature request.
What about the data marker for a circular gauge ? I want to show the value as percentage inside the circular gauge using data binding, which in the viewmodel is given as an integer.
BGbgJanuary 30, 2017 10:05 AM UTC
how can I add a postfix to the header of a circular gauge?
SPSubburaj Pandian Veluchamy Syncfusion Team January 31, 2017 08:41 AM UTC
Based on the provided information, we have checked and your requirement of setting postfix label along with the HeaderText in SfCircularGauge Xamarin Forms can be achieved by adding the required symbol with the HeaderText in the code behind. Since HeaderText is a String you can convert and set Text as per this requirement. Please refer the below code example,
header.Text = header.Text + "%";
We have prepared sample based on the mentioned scenario, please find the below sample.
In the sample, we have added CircularGauge properties in the XAML and bind the pointer values and HeaderText. As mentioned in the code example added the HeaderText in the propertyChanged on HeaderText.
If the given solution doesn’t meet your requirement, could you please revert to us by modifying the provided sample based on your requirement with more information about your query, it will be helpful for us to analyze on it and provide you a better solution.