Jump to content
JChartFX Community
  • 0

Stacked bar chart and bar maximum width



Hi. I'm having some trouble trying to define a maximum width for a bar. When there's a couple of points on my chart I want the bars to have a max width so they don't get to big. If there's too many points then I want the bars auto adjust. Is there any chart configuration to do this or I need to make some calculations in order to get a width for the div container?

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Ok I figured it out. It was simple and mentioned in Document under another section which is bit confusing.

I am mentioning it here for others if they come here wondering about this topic.

Please follow




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