You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 17, 2023. It is now read-only.
I'm using the project example and looking at the page "Examples/Wpf/CartesianChart/Basic Bars/BasicColumn.xaml" we have this snippet that uses the LabelFormatter:
<lvc:Axis Title="Sold Apps" LabelFormatter="{Binding Formatter}"></lvc:Axis>
And in codeBehind the "Formatter" is created like this: Formatter = value => value.ToString("N");
So it's a double converted to string with decimals. However, when executing the chart, the label is formatted as follows " 50,00 0,000%", and where does this "0.000%" come from. 50 ToString("N") should just be "50.00"
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm using the project example and looking at the page "Examples/Wpf/CartesianChart/Basic Bars/BasicColumn.xaml" we have this snippet that uses the LabelFormatter:
<lvc:Axis Title="Sold Apps" LabelFormatter="{Binding Formatter}"></lvc:Axis>
And in codeBehind the "Formatter" is created like this: Formatter = value => value.ToString("N");
So it's a double converted to string with decimals. However, when executing the chart, the label is formatted as follows " 50,00 0,000%", and where does this "0.000%" come from. 50 ToString("N") should just be "50.00"
The text was updated successfully, but these errors were encountered: