ChartFXNewbie Posted August 27, 2008 Report Share Posted August 27, 2008 I am using a multi series pie chart with 2 series. What I am looking to find out is if it is possible to have different legends for the different series, so currently I have both series (pie charts) with 3 segments in the pie which are A, B, C however I am looking to have A, B, C in first Pie/Series and D, E, F in the second Pie/Series. The way I am currently setting the Legend/Label is as follows; Chart1.Legend[0] = "A"; Chart1.Legend[1] = "B";Chart1.Legend[2] = "C";However this sets the legends/labels on both pies/series and I was just looking for a way to have different legends for the different series. I am not sure if the terms I have used above are correct so apologies if the post is unclear. Thank you in advance. Quote Link to comment Share on other sites More sharing options...
Frank Posted August 27, 2008 Report Share Posted August 27, 2008 The Legend is shared by all series. There is however an alternative: 1) Assign the label you want to display as follows: chart.Point[series,point].Tag = "My Label"; 2) Setup the Point Labels so that they display this value: chart.PointLabelMask = "%L"; // Or any string containing %L 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.