-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Specify axis padding values in pixels or percentages instead of data values #251
Comments
Hi, I totally agree. I'll fix this. Thanks! |
Thanks! |
Oh, I forgot writing comment.. This commit will be included in next version. And please see the sample I committed too. Thanks! |
Yeah I figured it out by looking at your git commit, it's working perfectly. :-) |
Hacked together using C3 grids... Adapted an old C3js commit for y axis padding for x axis padding (refer to c3js/c3#251)
I know this is closed, but seems related. I was wondering if this is available for the x-axis as well, or do I need to open a new ticket? |
It seems it's not available for x-axis? |
if chart is small than not show Y axis and on click on that chart become large and show Y axis how to this is possible?? |
It seems that y.axis.padding behaviour uses data related units, which are relative to each graph's data.
Is it possible to specify padding values in pixels or percentages? This allows multiple graphs to have a consistent look, even if they show a completely different range of numbers.
Here's an example of two charts, having the same value for padding, but look entirely different (because the padding is data-related)
The text was updated successfully, but these errors were encountered: