fix: The scale of the x-axis is not updated in time

fix the scale of x-axis in the monitor chart

Closes-Bug: #1993997
Change-Id: Ie512a6eed4bec7794a5423bf0a9126ba16c05533
This commit is contained in:
xusongfu 2022-10-24 14:28:12 +08:00 committed by Boxiang Zhu
parent 544f022a87
commit 4639f2a85d

View File

@ -40,8 +40,8 @@ const ChartCard = (props) => {
scale.x = merge(
{},
getXScale(props.fetchDataParams.currentRange),
scale.x || {}
scale.x || {},
getXScale(props.fetchDataParams.currentRange)
);
let lineProps;