fix(plugin-chart-echarts): fix default y axis bounds (#810)

This commit is contained in:
Ville Brofeldt 2020-10-19 23:40:55 +03:00 committed by Yongjie Zhao
parent 88c98cf1a8
commit fdd806723b

View File

@ -300,7 +300,7 @@ const config: ControlPanelConfig = {
type: 'BoundsControl', type: 'BoundsControl',
label: t('Y Axis Bounds'), label: t('Y Axis Bounds'),
renderTrigger: true, renderTrigger: true,
default: [null, null], default: [undefined, undefined],
description: t( description: t(
'Bounds for the Y-axis. When left empty, the bounds are ' + 'Bounds for the Y-axis. When left empty, the bounds are ' +
'dynamically defined based on the min/max of the data. Note that ' + 'dynamically defined based on the min/max of the data. Note that ' +