BryanHood Posted July 26, 2007 Report Share Posted July 26, 2007 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? Quote Link to comment Share on other sites More sharing options...
Frank Posted July 27, 2007 Report Share Posted July 27, 2007 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. Quote Link to comment Share on other sites More sharing options...
BryanHood Posted July 27, 2007 Author Report Share Posted July 27, 2007 So, I can't specify two different decimal values for different data pieces? Quote Link to comment Share on other sites More sharing options...
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.