[TSVB] fixes steps behavior to happen at the change point (#128741)

This commit is contained in:
Stratoula Kalafateli 2022-03-29 19:27:48 +03:00 committed by GitHub
parent f4ed8e118f
commit 261819208d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -20,7 +20,7 @@ Object {
"visible": true,
},
},
"curve": 6,
"curve": 7,
}
`;

View file

@ -29,7 +29,7 @@ export const getAreaStyles = ({ points, lines, color }) => ({
visible: points.lineWidth > 0 && Boolean(points.show),
},
},
curve: lines.steps ? CurveType.CURVE_STEP : CurveType.LINEAR,
curve: lines.steps ? CurveType.CURVE_STEP_AFTER : CurveType.LINEAR,
});
export const getBarStyles = ({ show = true, lineWidth = 0, fill = 1 }, color) => ({