Code view:

A painting is a person's account of this edit as text, recorded independently of the node mapping - a rendering often has several equally defensible answers where the mapping has one. Deletions and insertions carry no position on the opposite side in a painting, so that panel draws no caret for them.

Before

…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 }
104 }
105 };
106
107 var chart = testHelper.create(echarts, 'main0', {
108 title: [
…lines 109–124 unchanged (16 lines)

After

…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)

Before

document
doctype
<! "<!"
doctype "DOCTYPE"
> ">"
comment "<!--\nLicensed to the Apache Software Foundation (ASF) under "...
element
start_tag
< "<"
tag_name "html"
> ">"
element (+145 nodes collapsed)
element
start_tag
< "<"
tag_name "body"
> ">"
style_element
start_tag
< "<"
tag_name "style"
> ">"
raw_text "\n "
end_tag
</ "</"
tag_name "style"
> ">"
element
start_tag
< "<"
tag_name "div"
attribute
attribute_name "id"
= "="
quoted_attribute_value
" "\""
attribute_value "main0"
" "\""
> ">"
end_tag
</ "</"
tag_name "div"
> ">"
script_element
start_tag
< "<"
tag_name "script"
> ">"
raw_text "\n require([\n 'echarts',\n // 'ma"...
end_tag
</ "</"
tag_name "script"
> ">"
end_tag
</ "</"
tag_name "body"
> ">"
end_tag
</ "</"
tag_name "html"
> ">"

After

document
doctype
<! "<!"
doctype "DOCTYPE"
> ">"
comment "<!--\nLicensed to the Apache Software Foundation (ASF) under "...
element
start_tag
< "<"
tag_name "html"
> ">"
element (+145 nodes collapsed)
element
start_tag
< "<"
tag_name "body"
> ">"
style_element
start_tag
< "<"
tag_name "style"
> ">"
raw_text "\n "
end_tag
</ "</"
tag_name "style"
> ">"
element
start_tag
< "<"
tag_name "div"
attribute
attribute_name "id"
= "="
quoted_attribute_value
" "\""
attribute_value "main0"
" "\""
> ">"
end_tag
</ "</"
tag_name "div"
> ">"
script_element
start_tag
< "<"
tag_name "script"
> ">"
raw_text "\n require([\n 'echarts',\n // 'ma"...
end_tag
</ "</"
tag_name "script"
> ">"
end_tag
</ "</"
tag_name "body"
> ">"
end_tag
</ "</"
tag_name "html"
> ">"