Jump to content
Software FX Community

Custom ToolTips


BryanHood

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?

post-2104-1392240047539_thumb.jpg

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...