Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
195
Is there a way to auto resize chart legends?
posted

Sometimes I display 1 chart and sometimes 2, this is selected by the user.  Is there a way to auto size the legends so that all items in the legend are displayed?  The number of items in the legends will not be known until run time due to variations in the data.

Parents
  • 28496
    Offline posted

    unfortunately no, there is no way to auto-resize the legend.

    one thing you might try, however, is setting the legend background color to transparent, then expanding it to a large size.  this way, your legend items are unlikely to be clipped, and yet you won't see the legend box taking up too much space.

Reply Children