Skip to content

Commit

Permalink
Update apexcharts-card.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
georgepauna committed Jun 17, 2024
1 parent d1933e3 commit ebf4729
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/apexcharts-card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -845,11 +845,7 @@ class ChartsCard extends LitElement {
if (this._config?.series[index].show.in_brush) brushData.series.push(result);
return;
});
if (this._config.stacked)
for (let i = 0; i < graphData.series.length-1; i++)
for (let j = 0; j < graphData.series[i].data.length; j++)
graphData.series[i].data[j][0] = graphData.series[graphData.series.length-1].data[j][0];


if (this._config.stacked_last_is_total)
for (let i = 0; i < graphData.series.length-1; i++)
for (let j = 0; j < graphData.series[i].data.length; j++)
Expand Down

0 comments on commit ebf4729

Please sign in to comment.