Jump to content
Software FX Community

Multi series pie chart


Recommended Posts

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] =


Chart1.Legend[2] =


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.

Link to comment
Share on other sites

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

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