mattfinn Posted April 29, 2009 Report Share Posted April 29, 2009 Is there a way to have the point labels on a Pie Chart show up as the actual value of that point instead of the % of the pie chart? I'm also have a problem with my Labels in the Legend Box getting cut off because they are too long (i.e "Contamination"). Is there a way to fix that so the whole word can be viewed? Quote Link to comment Share on other sites More sharing options...
RandyJ Posted April 29, 2009 Report Share Posted April 29, 2009 Hi, Chart FX for .NET includes a property called "PointLabelMask" which allows to customize the way PointLabels are displayed. Please take a look at the variables below. Variables can be accessed using the % following the variable you want to include: l Shows X-Axis Legend. k Shows X-Axis Key Legend. s Shows Series Legend.x Shows XValues (XY Plots).i Shows IniValues (Gantt).v Shows Data Value.n <n> For types that require more than one series, these are replaced by the value of each one. (n represents an index).t Series Total (Sum of all points in this series).p Percentage of total this point represents (Pie).T Point Total (Sum of all series for this point). P Percentage of total this series represents (Used in stacked charts). X displays the marker X value for any chart type including those that do not support X values such as bar.L Shows the Tag string of the Point object.N Shows the index for the point.S Shows the index for the series.Since you want to display the actual value, you just need to use the "v" variable:Chart.PointLabelMask = "Value %v" Regards, RandyJ Quote Link to comment Share on other sites More sharing options...
mattfinn Posted April 30, 2009 Author Report Share Posted April 30, 2009 Is that not available for the chartfx.lite, because I'm getting an error that says: 'PointLabelMask' is not a member of 'SoftwareFX.ChartFX.Lite.Chart'. Quote Link to comment Share on other sites More sharing options...
rocioZ Posted May 19, 2009 Report Share Posted May 19, 2009 Unfortunately, the Lite version is trimmed down and doesn't include all of the properties the full version does which would allow you to create virtually any look for any chart. 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.