Merge pull request #14175 from apache/fix/toolbox-datazoom

fix: error thrown when `toolbox.feature.dataZoom: { show: false, yAxisIndex: false }`