initChart(){ var initLineChartData = { tooltip: { trigger: 'axis', axisPointer: { type: 'line' } }, legend: { data: [] }, xAxis: { name: '时间', type: 'category', show: false, axisTick: { // 坐标轴刻度 alignWithLabel: true, interval: 0 // 坐标轴间隔显示 0,表示显示每个坐标轴 }, axisLabel: { // 坐标的标签 show: true, align: 'center', interval: 0 }, data: [] }, yAxis: { show: false, }, series: [], dataZoom: [ { type: "slider", realtime: true, startValue: 0, endValue: 5, height: 4, fillerColor: "#0D3772", // 滚动条颜色 borderColor: "#0D3772", handleSize: 0, // 两边手柄尺寸 showDetail: false, // 拖拽时是否展示滚动条两侧的文字 top: "98.5%", moveHandleStyle: { color: "#0d3772", }, }, { type: "inside", // 支持内部鼠标滚动平移 startValue: 0, endValue: 5, zoomOnMouseWheel: false, // 关闭滚轮缩放 moveOnMouseWheel: true, // 开启滚轮平移 moveOnMouseMove: true, // 鼠标移动能触发数据窗口平移 }, ] } 报错Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'getDataPercentWindow')如何解决