30 isset($filterParams[
'STORES'])
31 && count($filterParams[
'STORES']) <= self::MAX_CHART_COLUMNS_COUNT
35 'data' => $chartStoreInfo->getCalculatedColumns(),
37 'storeCount' => $chartStoreInfo->getStoresCount(),
38 'cropStoreNamesList' =>
'',
40 'isCommonChart' =>
false,
45 $combinedData = $chartStoreInfo->getCombinedCalculatedColumn(self::MAX_STORES_LIST_CHARS);
47 'data' => [$combinedData],
49 'storeCount' => $chartStoreInfo->getStoresCount(),
50 'cropStoreNamesList' => $combinedData[
'TITLE'],
52 'isCommonChart' =>
true,
56 $chartData[
'currency'] = CurrencyManager::getBaseCurrency();
57 $chartData[
'sliderUrl'] = static::formChartSliderUrl(
'bitrix:catalog.report.store_stock.salechart.stores.grid', $filterParams);