Skip to content

Commit 914ab8c

Browse files
committed
Fix Y Axis for order qty
1 parent acd713f commit 914ab8c

File tree

1 file changed

+2
-0
lines changed
  • app/code/Magento/Backend/Block/Dashboard

1 file changed

+2
-0
lines changed

app/code/Magento/Backend/Block/Dashboard/Graph.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,8 @@ public function getChartUrl($directUrl = true)
421421
$tmpstring = implode('|', $this->_axisLabels[$idx]);
422422

423423
$valueBuffer[] = $indexid . ":|" . $tmpstring;
424+
} elseif ($idx == 'y') {
425+
$valueBuffer[] = $indexid . ":|" . implode('|', $yLabels);
424426
}
425427
$indexid++;
426428
}

0 commit comments

Comments
 (0)