-
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
V2.0 Dev Feature Horizontal Bar #2434
V2.0 Dev Feature Horizontal Bar #2434
Conversation
I think I've fessed up a couple of variables. Will update in a bit. |
Changes Unknown when pulling 35754fd on potatopeelings:v2.0-dev-feature-horizontal-bar into * on chartjs:v2.0-dev*. |
Changes Unknown when pulling be62657 on potatopeelings:v2.0-dev-feature-horizontal-bar into * on chartjs:v2.0-dev*. |
This looks pretty dang good man! @etimberg What do you think? |
Do negative values work?
|
Looks good. Would love to get some tests on it? if @potatopeelings can't, could you do that @tannerlinsley ? |
@derekperkins - yep, negative values work (not that I did anything special for it :-)). Fiddle from an earlier version - http://jsfiddle.net/0y8mnma1/. @etimberg - I haven't written tests for chart libraries before unfortunately. If there's anything else I can do (example files?), am glad to give it a shot. Cheers! |
I might have time later to put up some basic tests. I'm still not familiar with the new testing strategy, but there's no better time to check it out than now. We'll see how my day goes. |
Ok, I like the fiddle. I am +1 to merge this. If we do merge, could I propose the following:
|
Yep, I think this would round out the 2.1 release. |
I was wondering though, do you think instead of creating a new controller, we use the existing bar controller and just make it compatible for the vertical position? I'm not sure. Just came to my mind. |
That would work, but most functions would have to change. An alternative is to derive obw from the other to keep duplication to a minimum |
It also needs it's own default config which is better done with a new type |
Just realized this is going into |
Should I have branched from master instead? Sorry! Let me know if that's the case and I can raise a new PR. |
Master would be preferred |
Sure. Will get it done after a few hours. |
thanks @potatopeelings |
@swbdev you need to add the following to the logarithmic scale config. The default position for the log scale is on the left position: 'bottom' |
Great! Closing this one |
As mentioned in #73.
I cleaned up the code a bit (verified that it still works). Cheers!