取消限制最高值

This commit is contained in:
lai
2024-01-31 11:06:14 +08:00
parent 59bdc79158
commit d09fb0fbfc
3 changed files with 13 additions and 236 deletions

View File

@@ -126,23 +126,16 @@ function initPicture() {
color: color[x] + ')',
smooth: true,
areaStyle: {
color: new echarts.graphic.LinearGradient(
0,
0,
0,
1,
[
{
offset: 0,
color: color[x] + ', 0.5)',
},
{
offset: 0.8,
color: color[x] + ', 0.5)',
},
],
false
),
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
{
offset: 0,
color: color[x] + ', .5)',
},
{
offset: 1,
color: color[x] + ', 0)',
},
]),
shadowColor: 'rgba(0, 0, 0, 0.1)',
shadowBlur: 10,
},
@@ -197,7 +190,7 @@ function initPicture() {
data: charts.lineX,
axisLabel: {
formatter: function (params: any) {
return params.split(' ')[0] + '\n' + params.split(' ')[1];
return params.split(' ')[1];
},
fontSize: 14,
},
@@ -213,7 +206,7 @@ function initPicture() {
type: 'value',
// splitNumber: 4,
min: 0,
max: 300,
//max: 300,
axisLabel: {
formatter: '{value}',
},