Jump to content
Software FX Community

What tokens are available in the ToolTipConverter?


Recommended Posts

You can change (in both code or XAML) the label for a particular point or series by using the following code

  chart1.AllSeries.PointLabels.Format =

"Value %v";   chart1.AllSeries.PointLabels.Visibility = Visibility.Visible;

Note that most of the tokens you can use are described here and these are the same tokens you can use when using the ToolTipConverter.

The ToolTipConverter approach is useful if you want to change the template for your labels (e.g. if you want to display an image on each point label) but you want to use our formatting settings, e.g. %v will honor the AxisY.DataFormat settings related to format (Currency, etc.) number of decimals and other settings.



Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...