Fix line visibility for area chart (#138112)

This commit is contained in:
Uladzislau Lasitsa 2022-08-04 07:20:50 -07:00 committed by GitHub
parent 73805c5457
commit eab053dc5f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View file

@ -64,6 +64,9 @@ Object {
"seriesType": Array [
"area",
],
"showLines": Array [
true,
],
"simpleView": Array [
false,
],

View file

@ -469,6 +469,7 @@ const dataLayerToExpression = (
)
: [],
seriesType: [seriesType],
showLines: seriesType === 'line' || seriesType === 'area' ? [true] : [false],
accessors: layer.accessors,
columnToLabel: [JSON.stringify(columnToLabel)],
...(datasourceExpression