Open boon-wego opened 4 months ago
Hi,
you are using the type: :stacked
. I think if you are using the type: :grouped
your chart would look like the ones in issue #91
For stacked bar charts negative numbers would be more complicated.
I think currently stacked charts use deltas. so the second bar of the same category starts at the end of the first bar. If there would be something like :stacked_absolute
that would
one could display negative numbers similar to #91, but stacked.
I actually have a use case for that myself, I will give it a shot to implement that.
I am having problem displaying barchart with negative values.
I tried to see if anyone has already reported this issue. But judging from https://github.com/mindok/contex/issues/91 it seems negative values is supported all along.
I'm using Contex version 0.5.0
Code
Result