Skip to content

Commit

Permalink
fix(plugin-chart-echarts):
Browse files Browse the repository at this point in the history
  • Loading branch information
xiezhongfu committed Jun 20, 2021
1 parent a413785 commit becad0d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion plugins/plugin-chart-echarts/src/Timeseries/controlPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,9 @@ const config: ControlPanelConfig = {
default: xAxisShowMinLabel,
renderTrigger: true,
description: t('Show Min Label'),
mapStateToProps: () => ({
value: xAxisShowMinLabel,
}),
},
},
],
Expand All @@ -352,9 +355,12 @@ const config: ControlPanelConfig = {
config: {
type: 'CheckboxControl',
label: t('Show Max Label'),
default: xAxisShowMaxLabel,
default: xAxisShowMinLabel,
renderTrigger: true,
description: t('Show Max Label'),
mapStateToProps: () => ({
value: xAxisShowMaxLabel,
}),
},
},
],
Expand Down

0 comments on commit becad0d

Please sign in to comment.