-
Notifications
You must be signed in to change notification settings - Fork 6
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
y-Axis of barcharts for expression should start at 0 #33
Comments
This is only true for canvasXpress <8 so simply adding the setting |
This is currently hot-patched on https://tbro.carnivorom.com (which uses canvasXpress 8.1) and tested on an internal instance (with canvasXpress 20.8). I'd love to roll out this huge upgrade of canvasXpress on the public instance. We might even consider to distribute a version of TBro with canvasXpress 20.8 under GPL beside the MIT version with canvasXpress 7 if this is not a legal problem. @greatfireball we should discuss this. |
Important to note that the |
The default behaviour of canvasXpress is to automatically adjust the y-Axis scale.
So if all Values are between 500 and 700 for instance the y-Axis will likely start at ~400.
This is not the desired behaviour to quickly compare multiple bar-charts.
Unfortunatelly the
setMinX
andsetMinY
attributes can only be set for Scatter plots and not for barplots in canvasXpress.So either fix this in their code or use an ugly hack (like adding a 0 value to each data set and hiding that).
The text was updated successfully, but these errors were encountered: