Преглед на файлове

Merge branch 'ETA2.4.2' into debug

ldong преди 4 месеца
родител
ревизия
ae3847ad82
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/hooks/chart/useChartRender.ts

+ 1 - 1
src/hooks/chart/useChartRender.ts

@@ -890,7 +890,7 @@ const setStackOrCombinChart = () => {
     const lineIndex = chartTheme ? index%chartTheme.lineOptionList.length : index
     let obj = {
       data: [] as any[],
-      type: chartInfo.ChartType!==3?(chartStyle || item.ChartStyle):((chartTheme && chartTheme.lineOptionList[lineIndex].lineType) || item.ChartStyle),
+      type: chartInfo.ChartType!==3?(chartStyle || item.ChartStyle):ExtraConfig?.IsHeap==1?'area':((chartTheme && chartTheme.lineOptionList[lineIndex].lineType) || item.ChartStyle),
       yAxis: serie_yIndex,
       name,
       color: item.ChartColor,