4
I’m using the Syncfusion
to create graphics in Xamarin Forms
.
Studying the documentation, I could not find a way to format the values of my chart, example:
I want these values formatted for Brazilian currency : October - R$ 14,421,52
Does anyone know how I can do it?
My page in XAML:
<chart:SfChart.Series>
<chart:BarSeries ItemsSource="{Binding PieSeriesData}" Color="Red" XBindingPath="Name" YBindingPath="Value" LegendIcon="Rectangle" Label="Valor (R$)" EnableAnimation="True">
<chart:BarSeries.DataMarker>
<chart:ChartDataMarker LabelContent="YValue" ShowLabel="True">
<chart:DataMarkerLabelStyle LabelFormat="R$##,##" LabelPosition="Center"/>
</chart:ChartDataMarker>
</chart:BarSeries.DataMarker>
</chart:BarSeries>
</chart:SfChart.Series>
It would be interesting for you to share the answer with the community if you found one. Sharing only one link requires that the external content is available, in fact, in this case inclusive, requires authentication (registration on the site) and possibly will only be visible to you, who recorded the incident.
– Diego Rafael Souza
This reply implies login. You can add to the reply what was said on that link?
– Sergio
I will prepare and improve that answer. by tomorrow 29-10-17 will already be available a more detailed answer on this subject, thanks for the feedback.
– Samuel Renan Gonçalves Vaz
@samuelrvg managed to write the most detailed answer?
– Math
Sorry, I forgot, I’ll do it now and post.
– Samuel Renan Gonçalves Vaz