diff --git a/src/components/PrometheusChart/ChartCard.jsx b/src/components/PrometheusChart/ChartCard.jsx index 642dd0ea..ee33f2e2 100644 --- a/src/components/PrometheusChart/ChartCard.jsx +++ b/src/components/PrometheusChart/ChartCard.jsx @@ -40,8 +40,8 @@ const ChartCard = (props) => { scale.x = merge( {}, - getXScale(props.fetchDataParams.currentRange), - scale.x || {} + scale.x || {}, + getXScale(props.fetchDataParams.currentRange) ); let lineProps;