I am formatting the tooltip so as to get % sign with my value in the tooltip. I have used this
chart1.getToolTips().setContentTemplate('<DataTemplate><TextBlock Text="{Binding Path=MacroValue is %v}"/></DataTemplate>');
chart1.getToolTips().setAllSeries(false);
But now i want to get % sign after my %v value as Value is 10% but when i give the % sign it does not display that . how can i do this in a single Textblock.
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
heena
Hello all,
I am formatting the tooltip so as to get % sign with my value in the tooltip. I have used this
chart1.getToolTips().setContentTemplate('<DataTemplate><TextBlock Text="{Binding Path=MacroValue is %v}"/></DataTemplate>');
chart1.getToolTips().setAllSeries(false);
But now i want to get % sign after my %v value as Value is 10% but when i give the % sign it does not display that . how can i do this in a single Textblock.
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.