WPF – Lineraxis has no decimal number

I want to avoid using decimal numbers in Axis, what should I do?

XAML:

 HorizontalContentAlignment="Stretch">
< br />
/>




DependentValueBinding="{Binding Count }"
IndependentValueBinding="{Binding Category}">


If you are still trying to solve this problem, or others are interested:
The solution is almost baalazamon Just {0: 0.##} will display two decimal places (if they exist) (this is the meaning of “.##”). So what you should write is

Of course, you need to add this:

 
Orientation="Y"
ShowGridLines="True"/>

I hope This will solve your problem.

I want to avoid using decimal numbers in Axis, what should I do?

XAML:

 HorizontalContentAlignment="Stretch">
< br />
/>




DependentValueBinding="{Binding Count }"
IndependentValueBinding="{Binding Category}">


If you are still trying to solve this problem, or others are interested:
The solution is almost written by baalazamon. Just {0:0.##} Two decimal places will be displayed (if they exist) (this is what “.##” means). So you should write

Of course, you Need to add this:

 
Orientation="Y"
ShowGridLines="True"/>

I hope this will solve your problem.

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 4063 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.