refactor(图表): 仪表盘和水波图最大值默认为 1 #10479

This commit is contained in:
wisonic 2024-07-10 19:29:34 +08:00
parent 02a1be6837
commit 13f2b2962f

View File

@ -223,7 +223,7 @@ export const DEFAULT_MISC: ChartMiscAttr = {
id: '', id: '',
summary: '' summary: ''
}, },
gaugeMax: 100, gaugeMax: 1,
gaugeStartAngle: 225, gaugeStartAngle: 225,
gaugeEndAngle: -45, gaugeEndAngle: -45,
nameFontSize: 18, nameFontSize: 18,
@ -244,7 +244,7 @@ export const DEFAULT_MISC: ChartMiscAttr = {
nameFontShadow: false, nameFontShadow: false,
treemapWidth: 80, treemapWidth: 80,
treemapHeight: 80, treemapHeight: 80,
liquidMax: 100, liquidMax: 1,
liquidMaxType: 'fix', liquidMaxType: 'fix',
liquidMaxField: { liquidMaxField: {
id: '', id: '',