Jump to content
Software FX Community

Custom ToolTips


Recommended Posts

I am about to implement the ToolTipFormat property on my charts, and I was wondering if I could change how some of the items are displaying.

Basically, I have a Pie Chart that is displaying the following ToolTip:  Total Video 12,375.00 out of 17,621.00 (70.23%)

 I would like to be able to control the number of decimals for each piece:  Total Video 12,375 out of 17,621 (70.23%)

I should be able to create the mask using the following string:  "%s \n %v out of %t \n (%p)"

Can I control the number of decimals for each variable?


Link to comment
Share on other sites

The tricky part here is that you want different number of decimals for the absolute value (0) and the percentage (2).

The number of decimals is controlled by the LabelsFormat in the Y-Axis (chart.AxisY.LabelsFormat.Decimals) but it affects both values.

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...