Open noinskit opened 2 years ago
The problem is that we cannot decide whether to show the bars on the axis values (1, 2, 3, ...) or show them independently on the chart because we support BarChartData.alignment
(BarChartAlignment) that is works independently from axis values.
I think we need to support two types of BarCharts
alignment
and does not work with the x-axis, they just work with alignment and available space on the screen)What do you think?
BTW it is somehow related to #709
Are vertical extra lines in bar graph still impossible?
Are vertical extra lines in bar graph still impossible?
Yes, you can follow the thread for the future releases, I will notify you here when we implemented it.
Any updates on this yet? @imaNNeo
I just came to say that I need this feature too and unfortunatily I'll need to try to make some unnecessary workaround on this...
I just came to say that I need this feature too and unfortunatily I'll need to try to make some unnecessary workaround on this...
I also found this problem...I thought it was my incorrect settings so I tried so many times but finally found that's a known problem😭 Now I have to put the BarChart into a Stack and use a Positioned widget to achieve the target
Just to +1 the need for this, we have bars based on dates and want to place a dashed line to indicate where a certain key date occured.
BarCharts
seem to ignore vertical lines set up in theirFlGridData
.I understand from https://github.com/imaNNeoFighT/fl_chart/issues/92 that this was removed on purpose:
So here's my use case: I've got a screen with several graphs, line and bar, and they all describe the same time range, e.g. last quarter with one datapoint per week. I'd like to put vertical lines in the grid separating months which do not always fall between weeks. It works great in LineChart, but it does not with a BarChart using identical FlGridData.