mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Fixed display of non-stack bar chart view with empty values in chart.
This commit is contained in:
parent
29c9266ef5
commit
f41a3fe01f
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ void BarChartView::paintChartAndSelected(
|
|||
const auto &line = c.chartData.lines[i];
|
||||
auto path = QPainterPath();
|
||||
for (auto x = localStart; x <= localEnd; x++) {
|
||||
if (line.y[x] <= 0) {
|
||||
if (line.y[x] <= 0 && _isStack) {
|
||||
continue;
|
||||
}
|
||||
const auto yPercentage = (line.y[x] - c.heightLimits.min)
|
||||
|
|
Loading…
Add table
Reference in a new issue