Jump to content
Software FX Community

Alignment of Series in Legendbox of PieChart

Recommended Posts

Hi team

 In chartfx 6.2 com version I am not able to set the series allignment in the legendbox of piechart as that i have done in chartfx 5.5 com version. I have used

oChartFx.LegendBoxObj.Alignment = ToolAlignment_Spread but this is not allowing the series to start from the starting of legend box



Share this post

Link to post
Share on other sites

I got this. I have achieved this with the DrawingArea property of Legendboxobj. By setting the DrawingArea to false, we can allow the series of legend box to spread beyond the chart are. Below is the code for this.

oChartFx.LegendBoxObj.DrawingArea = false

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now