Skip to content
This repository has been archived by the owner on Dec 10, 2021. It is now read-only.

Commit

Permalink
fix operator
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed May 10, 2021
1 parent b1feb2c commit 33291ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/plugin-chart-echarts/src/Gauge/transformProps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@ export default function transformProps(chartProps: ChartProps) {
fontSize: FONT_SIZE_MULTIPLIERS.detailFontSize * fontSize,
},
}));
const min = minVal || calculateMin(transformedData);
const max = maxVal || calculateMax(transformedData);
const min = minVal ?? calculateMin(transformedData);
const max = maxVal ?? calculateMax(transformedData);
const normalizer = max;
const intervalBoundsAndColors = setIntervalBoundsAndColors(
intervals,
Expand Down

0 comments on commit 33291ba

Please sign in to comment.