Commit 909c6aea by 杨琪琪

授权管理-折线图Y轴修改

parent ef4c09b4
......@@ -642,6 +642,13 @@
orient: "horizontal",
}]
option.xAxis.minInterval = 1000;
option.yAxis = {
...option.yAxis,
interval: 65,
splitNumber: 6,
min: 0,
max: 390,
}
break
default:
option.xAxis.minInterval = 1000 * 3600 * 24;
......
......@@ -555,7 +555,6 @@
} else {
// 替换合并
timeLineChart.setOption(option, {notMerge: false, replaceMerge: ['dataZoom', 'series']});
let op = timeLineChart.getOption();
}
}
......@@ -939,6 +938,7 @@
datazoom_end_n = event.end
}
})
// let option = defaultYBarOptions;
let option = JSON.parse(JSON.stringify(defaultYBarOptions));
option.dataZoom[0].start = datazoom_start_n;
option.dataZoom[0].end = datazoom_end_n;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment