marshall1977 Posted December 4, 2011 Report Share Posted December 4, 2011 Hi My chart has 3 items to display in the legendbox however by default ChartFX is displaying the items in 2 rows i.e 2 items on the first row and 1 on the 2nd. I tried setting LegendBox.AutoSize = false and setting a larger width but it does not seem to help increase the width of the legend box. I also set the LegendBox.PlotAreaOnly = false but that also did not help. Is there a way to set the width of the displayed legend box and the number of columns of the items that are displayed in the legend box so that we can control the number of rows of items in the legendbox. Thanks in advance for your help. Marshall Quote Link to comment Share on other sites More sharing options...
AndreG Posted December 6, 2011 Report Share Posted December 6, 2011 This works for me: chart1.LegendBox.PlotAreaOnly = false;chart1.LegendBox.Width = chart1.Width; There is no way of setting how many columns you want on the legend box. 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.