Legend position in PieSeries

Oystein Bjorke 4 years ago 0
This discussion was imported from CodePlex

Patoon wrote at 2013-01-31 14:56:

Hi,
Is there any way to place the legend in an outside box instead of inside the slices ?

Thank you.

objo wrote at 2013-02-07 22:41:

Try to set InsideLabelFormat="" and OutsideLabelFormat = "{1}: {0}"
{0} is replaced by the value, and {1} by the label (legend).

patoon wrote at 2013-02-08 08:17:

Thank you for your answer,
What you propose give labels above corresponding slices, and I try to have label stacked together in a separate box outside of the pie.
Do you think it's possible ?

Thank you.

objo wrote at 2013-02-10 23:00:

Sorry, that is not possible in the current implementation.
It is possible to subclass the PieSeries class and override the Render method to draw the labels. Please share if you implement the feature :)

patoon wrote at 2013-02-11 07:21:

Thanks. I will try in this direction.
CodePlex