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

Bar Chart - is it possible to have minus values #103

Closed
atreeon opened this issue Nov 10, 2019 · 10 comments
Closed

Bar Chart - is it possible to have minus values #103

atreeon opened this issue Nov 10, 2019 · 10 comments
Labels
Bar Chart enhancement New feature or request

Comments

@atreeon
Copy link

atreeon commented Nov 10, 2019

I'm looking to show minus values, is this type of chart possible?

Screenshot 2019-11-10 at 16 57 53

@atreeon atreeon closed this as completed Nov 10, 2019
@atreeon atreeon reopened this Nov 10, 2019
@imaNNeo
Copy link
Owner

imaNNeo commented Nov 10, 2019

Hi, currently we do not support the negative values.
Let this issue open, and if it takes some thumbs up by the people, I will resolve it in a high priority way.

@imaNNeo imaNNeo added the enhancement New feature or request label Nov 10, 2019
@atreeon
Copy link
Author

atreeon commented Nov 10, 2019

ok, great thank you. I wondered whether I could kind of do a hack with a stacked chart

@imaNNeo
Copy link
Owner

imaNNeo commented Nov 10, 2019

Also, you can use normal BarChart and shift your y variables and show titles with '-' to achieve that.
Stay tuned ;)

@atreeon
Copy link
Author

atreeon commented Nov 10, 2019

ok, I'm a bit lost by that tbh! If you can write another couple of lines really quickly I might be able to figure it out (otherwise I will be patient :-)

I've tried syncfusion and the google charts but can't achieve what I want but maybe with this it might be possible. Thank you

@imaNNeo
Copy link
Owner

imaNNeo commented Nov 10, 2019

Apologize, there is no way at the moment, but I will implement it ASAP.
Stay tuned!

@tasaquino
Copy link

I opened an issue with the same purpose before Issue . I could add negative values and bars. But is not possible to control the touch on them. For now I am trying to create a custom implementation to achieve that.

@imaNNeo
Copy link
Owner

imaNNeo commented Nov 10, 2019

I appreciate your PRs,
clone the source code and try to add this feature,
It helps me a lot.
Thanks!

@imaNNeo
Copy link
Owner

imaNNeo commented Apr 10, 2020

Implemented support for negative values for the BarChart, in 0.9.0
Check it out:

Sample 5 (Source Code)

@imaNNeo imaNNeo closed this as completed Apr 10, 2020
@jlubeck
Copy link
Contributor

jlubeck commented Apr 21, 2020

Awesome! Minor note, clicking on that Source Code link returns a 404 error

@imaNNeo
Copy link
Owner

imaNNeo commented Apr 21, 2020

You're welcome,
Link has just been fixed,
thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bar Chart enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants