-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Space after X axis #534
Comments
Hi Leti, Thanks for using ChartNew.js. You close the issue, but I will give an answer about that problem. All bars have the same width. The width of the bars is computed by the script and is identical for all bars. When you have lot of bars this can be a problem in the display. Suppose that you have 50 bars. The program computes the maximum width of the bars. It could be that with this compuration there is 49 points left between the legend and the bottom of the chart, unfortunately, it will not be possible to increase the size of the bars and the 49 points will be loosen. If you increase a little bit (with some points) the height of the canvas, the problem should be solved. Can you try ? Regards, |
Hello, |
Hello,
I have an issue when creating a big bar diagram (more than 50 bars), there is a white space before the legend.
With a smaller diagram everything is fine.
When I set "legend borders" at false, the space disappears… but I need borders !
Do you know how to remove the space?
Edit- ok I found the solution :
legendBordersWidth: 0,
legendBordersSpaceBefore: 0,
legendBordersSpaceAfter: 0,
legendBordersSpaceLeft: 0,
legendBordersSpaceRight: 0,
The text was updated successfully, but these errors were encountered: