| | |
| | | grid: { |
| | | right: "80px", |
| | | bottom: "60px", |
| | | left: "60px", |
| | | left: "70px", |
| | | top: "30px", |
| | | }, |
| | | dataZoom: [ |
| | |
| | | // rotate:45, |
| | | margin: 10, |
| | | show: true, |
| | | fontSize:12, |
| | | textStyle: { |
| | | color: function (params, index) { |
| | | let colorList = ["#dcb018", "#00FFFF"]; |
| | |
| | | }, |
| | | }, |
| | | formatter: function (value) { |
| | | if (value.length > 6) { |
| | | if (value.length > 5) { |
| | | return `${value.slice(0, 4)}...`; |
| | | } |
| | | return value; |
| | |
| | | grid: { |
| | | right: "80px", |
| | | bottom: "60px", |
| | | left: "60px", |
| | | left: "70px", |
| | | top: "30px", |
| | | }, |
| | | dataZoom: [ |
| | |
| | | // rotate:45, |
| | | margin: 10, |
| | | show: true, |
| | | fontSize:12, |
| | | textStyle: { |
| | | color: function (params, index) { |
| | | let colorList = ["#dcb018", "#00FFFF"]; |
| | |
| | | } |
| | | }, |
| | | }, |
| | | formatter: function (value) { |
| | | if (value.length > 5) { |
| | | return `${value.slice(0, 4)}...`; |
| | | } |
| | | return value; |
| | | }, |
| | | }, |
| | | data: data.datax ? data.datax : [], |
| | | }, |
| | |
| | | grid: { |
| | | right: "80px", |
| | | bottom: "60px", |
| | | left: "60px", |
| | | left: "70px", |
| | | top: "30px", |
| | | }, |
| | | dataZoom: [ |
| | |
| | | // rotate:45, |
| | | margin: 10, |
| | | show: true, |
| | | fontSize:12, |
| | | textStyle: { |
| | | color: function (params, index) { |
| | | let colorList = ["#dcb018", "#00FFFF"]; |
| | |
| | | return colorList[1]; |
| | | } |
| | | }, |
| | | }, |
| | | formatter: function (value) { |
| | | if (value.length > 5) { |
| | | return `${value.slice(0, 4)}...`; |
| | | } |
| | | return value; |
| | | }, |
| | | }, |
| | | data: data.datax ? data.datax : [], |
| | |
| | | z: 3, |
| | | style: { |
| | | image: img, |
| | | width: 238, |
| | | height: 238, |
| | | width: 240, |
| | | height: 240, |
| | | }, |
| | | left: "center", |
| | | top: "center", |