Jump to content
JChartFX Community
  • 0

fixing the pie chart size



Hello all,

         I have a issue while creating a pie chart. whenever the length of the label of legend increases the size of the pie chart decreases to maintain the space between the pie chart and legend. how can i fix the size of  the pie chart so that it does not resize according to the data. 

  • Like 1
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Unfortunately this is not possible, we will resize the legend to make sure its size is appropriate for its contents,this will in turn reduce the size available for the "plot area" of the chart.

If you can produce abbreviations or any other form of short string that represents the legend, you could try using smaller strings for the legend and then customizing the tooltips to show the "full" legend. 

Another possibility would be to hide the legend, decrease the size of its font, or move it to the side/bottom in case this allows you to better use the available space for your particular scenario (number of points, size of label strings, etc.)


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.

Answer this question...

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