Fl_chart: Bar Chart - is it possible to have minus values

Created on 10 Nov 2019  路  10Comments  路  Source: imaNNeoFighT/fl_chart

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

Screenshot 2019-11-10 at 16 57 53

Bar Chart enhancement

Most helpful comment

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

All 10 comments

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.

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

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

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

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

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.

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

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

Sample 5 (Source Code)

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

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

satrio1256 picture satrio1256  路  6Comments

atreeon picture atreeon  路  4Comments

davidmarinangeli picture davidmarinangeli  路  3Comments

joaorpalma picture joaorpalma  路  3Comments

Saran90 picture Saran90  路  5Comments