Skip to content
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

Draw bar chart from axisMinimum instead of 0 #2721

Closed
hananRiazz opened this issue Aug 15, 2017 · 2 comments
Closed

Draw bar chart from axisMinimum instead of 0 #2721

hananRiazz opened this issue Aug 15, 2017 · 2 comments

Comments

@hananRiazz
Copy link

hananRiazz commented Aug 15, 2017

I am using combine line bar chart. Negative values are drawing lines from 0. I have set the axisMinimum to a negative value which has moved x-axis up which looks fine. But I want to draw the bar chart lines from not from x-axis

screen shot 2017-08-15 at 3 01 43 pm

I want to make It something like this

screen shot 2017-08-15 at 3 33 24 pm

@seenoevo
Copy link

can you show the before/after with the whole graph axis labels?..

I'm having a hard time understanding what exactly you want to do.

also show some sample code of what you currently have

@liuxuan30
Copy link
Member

liuxuan30 commented Aug 21, 2017

Bars always start from 0 I remember.
line chart and bar chart could use left and right axis so you can have two y axis by setting axisDependency.
If you share the same y axis, then you need to understand the bar starts from 0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants