修改测试问题
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user