13 class Bar extends \Magento\Backend\Block\Dashboard\AbstractDashboard
45 $this->_totals[] = [
'label' =>
$label,
'value' =>
$value,
'decimals' => $decimals];
69 $this->_currency = $currency;
79 if ($this->_currentCurrencyCode ===
null) {
81 $this->_currentCurrencyCode = $this->_storeManager->getStore(
85 $this->_currentCurrencyCode = $this->_storeManager->getWebsite(
89 $this->_currentCurrencyCode = $this->_storeManager->getGroup(
91 )->getWebsite()->getBaseCurrency();
93 $this->_currentCurrencyCode = $this->_storeManager->getStore()->getBaseCurrency();
elseif(isset( $params[ 'redirect_parent']))
addTotal($label, $value, $isQuantity=false)