…lines 1–41 unchanged (41 lines)
42
43
44
45
46
47 <script>
48 require([
49 'echarts',
50 // 'map/js/china',
51 // './data/nutrients.json'
52 ], function (echarts) {
53 var option;
54
…lines 55–75 unchanged (21 lines)
76 showMinLabel: true,
77 showMaxLabel: true,
78 }
79 },
80 yAxis: {
81 axisLabel: {
82 // show: false,
83 },
84 min: 'dataMin',
85 max: 'dataMax'
86 },
87 series: {
88 type: 'line',
89 data,
90 showSymbol: false,
91 markPoint: {
92 data: [{
93 type: 'min',
94 x: 0,
95 y: 0,
96 relativeTo: 'coordinate'
97 }, {
98 type: 'max',
99 x: 0,
100 y: '100%',
101 relativeTo: 'coordinate'
102 }, {
103 type: 'min',
104 x: '100%',
105 y: 0,
106 name: 'abcd',
107 relativeTo: 'coordinate'
108 }, {
109 type: 'max',
110 // x: '100%',
111 // y: '100%',
112 // relativeTo: 'coordinate'
113 }],
114 // label: {
115 // show: true,
116 // formatter: 'x: {c}'
117 // }
118 }
119 }
120 };
121
122 var chart = testHelper.create(echarts, 'main0', {
123 title: [
…lines 124–139 unchanged (16 lines)