修改测试问题

This commit is contained in:
guanj
2026-06-11 20:27:37 +08:00
parent bda7373133
commit 1a09c31669
61 changed files with 3393 additions and 2406 deletions

View File

@@ -220,16 +220,33 @@ const setEchart = () => {
}
: {}
],
grid: {
left: '10px',
right: '20px'
},
// grid: {
// left: '10px',
// right: '30px',
// },
options: {
// dataZoom: [
// {
// type: 'inside',
// start: 0,
// end: 100,
// filterMode: 'filter'
// },
// {
// type: 'slider',
// start: 0,
// end: 100,
// height: 13,
// bottom: '20px',
// filterMode: 'filter'
// }
// ],
series: [
{
type: 'bar',
name: powerName, // 动态设置功率名称
data: [],
clip: true,
itemStyle: {
normal: {
color: function (params: any) {
@@ -248,7 +265,7 @@ const setEchart = () => {
type: 'line',
step: 'end',
showSymbol: false,
// smooth: true,
clip: true,
data: [],
yAxisIndex: 1
}