Hi all
Recently, I'm trying to add the tooltip and custom Y Axis Label( 10000=10k, 100000=1m....) in stacked column. but i found it difficult to me. Anyone can give me some idea? Thank you so much.
Hello sexymicrobe,
Thank you for your post. I have been looking through it and suggest you set the Format property of your Y Axis’s Label. Our controls use the standard string formats provided by Microsoft, so here is a link with detailed information :
http://msdn.microsoft.com/en-us/library/dwhawy9k.aspx
As for your other question, I suggest you set the ToolTip property of your XamChart’s Series to the desired value.
If you have any further questions on this matter do not hesitate to ask.
Hi Stefan,
Many thanks for you reply.
About the Y axis label format provided by Microsoft that is can not apply the string format like: 10000=10k .... 1000000=1m.... do you have some idea that i can custom it in C# code bebind?
Secondary, about the custom tooltip, could you mind to give me more details?
I have tryed below code want to show the tooltip, but it can't work normal.
<igCA:Series.ToolTip>
<StackPanel>
<TextBlock Text="{Binding Item.Label}" />
<TextBlock Text="{Binding Item.Value}" />
</StackPanel>
</igCA:Series.ToolTip>
Thanks.
Hi sexymicrobe,
As you asked about the format string, I believe one possible solution for you is using this "{}{0:0,k}" string. And about the custom tooltip you want to show I suggest you look at the feature browser under xamChart/Data Binding and Interaction/ToolTips section where a couple of custom tooltips are implemented. Please let me know if some of them covers your requirement or you need something more complex.
Looking forward for your reply.
Thank you for your reply again.
I have used the "{}{0:0,k}" format in the Y axis now. But my customer said does we can do 1000000=1M. if i use the "{}{0:0,k}, 1000000=1000k. That's not my customer looking forward to.
Anyway, I want to thanks again and if you find how to set 1000000=1m at the same time, please let me know. thanks.
About tooltip, i'm looking for feature browser. Reply you later for it.