-
Notifications
You must be signed in to change notification settings - Fork 11.9k
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
Get bar width after render? #4663
Labels
Comments
You can get the bar width as follows:
|
That works perfectly thank you very much 👍 |
Thanks @nagix ;) |
For future readers....use the .height property if you are using a horizontal bar chart as .width will be undefined. |
is there a way of getting both height and width of a bar in bar chart? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Context
I have looked through the chart object and I am battling to find the bar width in pixel value anywhere.
Is this stored in the object? or is there anyway i can get this?
Thanks
The text was updated successfully, but these errors were encountered: