Skip to content

Commit

Permalink
Fix energy dashboard data formatting (#24101)
Browse files Browse the repository at this point in the history
  • Loading branch information
MindFreeze authored Feb 6, 2025
1 parent 9411a77 commit 2a0f69a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ export function fillDataGapsAndRoundCaps(datasets: BarSeriesOption[]) {
if (x === undefined) {
continue;
}
if (x !== bucket) {
if (Number(x) !== bucket) {
datasets[i].data?.splice(index, 0, {
value: [bucket, 0],
itemStyle: {
Expand Down

0 comments on commit 2a0f69a

Please sign in to comment.