Skip to content

Commit be1028e

Browse files
authored
Merge pull request #21219 from Justin-ZS/fix/20756_2
fix(dataset): wrong area when dimension name is empty string
2 parents 6b2860f + 2e42179 commit be1028e

File tree

2 files changed

+61
-1
lines changed

2 files changed

+61
-1
lines changed

src/chart/line/LineView.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ function getStackedOnPoints(
132132
data: SeriesData,
133133
dataCoordInfo: ReturnType<typeof prepareDataCoordInfo>
134134
) {
135-
if (!dataCoordInfo.valueDim) {
135+
if (dataCoordInfo.valueDim == null) {
136136
return [];
137137
}
138138

test/line-area-empty-dimension-name.html

Lines changed: 60 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)