rails_charts 0.0.5 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +19 -3
- data/app/assets/javascripts/echarts/extension/bmap.js +36 -81
- data/app/assets/javascripts/echarts/extension/bmap.js.map +1 -1
- data/app/assets/javascripts/echarts/extension/dataTool.js +14 -48
- data/app/assets/javascripts/echarts/extension/dataTool.js.map +1 -1
- data/app/assets/javascripts/echarts/i18n/langAR-obj.js +178 -0
- data/app/assets/javascripts/echarts/i18n/langAR.js +174 -0
- data/app/assets/javascripts/echarts/i18n/langCS-obj.js +4 -1
- data/app/assets/javascripts/echarts/i18n/langCS.js +4 -1
- data/app/assets/javascripts/echarts/i18n/langDE-obj.js +5 -2
- data/app/assets/javascripts/echarts/i18n/langDE.js +5 -2
- data/app/assets/javascripts/echarts/i18n/langEN-obj.js +3 -1
- data/app/assets/javascripts/echarts/i18n/langEN.js +3 -1
- data/app/assets/javascripts/echarts/i18n/langES-obj.js +60 -0
- data/app/assets/javascripts/echarts/i18n/langES.js +60 -0
- data/app/assets/javascripts/echarts/i18n/langFA-obj.js +175 -0
- data/app/assets/javascripts/echarts/i18n/langFA.js +171 -0
- data/app/assets/javascripts/echarts/i18n/langFI-obj.js +60 -0
- data/app/assets/javascripts/echarts/i18n/langFI.js +60 -0
- data/app/assets/javascripts/echarts/i18n/langFR-obj.js +3 -1
- data/app/assets/javascripts/echarts/i18n/langFR.js +3 -1
- data/app/assets/javascripts/echarts/i18n/langHU-obj.js +175 -0
- data/app/assets/javascripts/echarts/i18n/langHU.js +171 -0
- data/app/assets/javascripts/echarts/i18n/langIT-obj.js +3 -1
- data/app/assets/javascripts/echarts/i18n/langIT.js +3 -1
- data/app/assets/javascripts/echarts/i18n/langJA-obj.js +3 -1
- data/app/assets/javascripts/echarts/i18n/langJA.js +3 -1
- data/app/assets/javascripts/echarts/i18n/langKO-obj.js +3 -1
- data/app/assets/javascripts/echarts/i18n/langKO.js +3 -1
- data/app/assets/javascripts/echarts/i18n/langNL-obj.js +175 -0
- data/app/assets/javascripts/echarts/i18n/langNL.js +171 -0
- data/app/assets/javascripts/echarts/i18n/langPL-obj.js +3 -1
- data/app/assets/javascripts/echarts/i18n/langPL.js +3 -1
- data/app/assets/javascripts/echarts/i18n/langPT-br-obj.js +14 -12
- data/app/assets/javascripts/echarts/i18n/langPT-br.js +14 -12
- data/app/assets/javascripts/echarts/i18n/langRO-obj.js +3 -1
- data/app/assets/javascripts/echarts/i18n/langRO.js +3 -1
- data/app/assets/javascripts/echarts/i18n/langRU-obj.js +3 -1
- data/app/assets/javascripts/echarts/i18n/langRU.js +3 -1
- data/app/assets/javascripts/echarts/i18n/langSI-obj.js +4 -1
- data/app/assets/javascripts/echarts/i18n/langSI.js +4 -1
- data/app/assets/javascripts/echarts/i18n/langSV-obj.js +174 -0
- data/app/assets/javascripts/echarts/i18n/langSV.js +170 -0
- data/app/assets/javascripts/echarts/i18n/langTH-obj.js +60 -0
- data/app/assets/javascripts/echarts/i18n/langTH.js +60 -0
- data/app/assets/javascripts/echarts/i18n/langTR-obj.js +175 -0
- data/app/assets/javascripts/echarts/i18n/langTR.js +171 -0
- data/app/assets/javascripts/echarts/i18n/{langUA-obj.js → langUK-obj.js} +3 -1
- data/app/assets/javascripts/echarts/i18n/{langUA.js → langUK.js} +4 -2
- data/app/assets/javascripts/echarts/i18n/langVI-obj.js +200 -0
- data/app/assets/javascripts/echarts/i18n/langVI.js +196 -0
- data/app/assets/javascripts/echarts/i18n/langZH-obj.js +4 -1
- data/app/assets/javascripts/echarts/i18n/langZH.js +4 -1
- data/app/assets/javascripts/echarts/i18n/package.json +3 -0
- data/app/assets/javascripts/echarts/theme/azul.js +1 -1
- data/app/assets/javascripts/echarts/theme/bee-inspired.js +1 -1
- data/app/assets/javascripts/echarts/theme/blue.js +1 -1
- data/app/assets/javascripts/echarts/theme/caravan.js +1 -1
- data/app/assets/javascripts/echarts/theme/carp.js +1 -1
- data/app/assets/javascripts/echarts/theme/cool.js +1 -1
- data/app/assets/javascripts/echarts/theme/dark-blue.js +1 -1
- data/app/assets/javascripts/echarts/theme/dark-bold.js +1 -1
- data/app/assets/javascripts/echarts/theme/dark-digerati.js +1 -1
- data/app/assets/javascripts/echarts/theme/dark-fresh-cut.js +1 -1
- data/app/assets/javascripts/echarts/theme/dark-mushroom.js +1 -1
- data/app/assets/javascripts/echarts/theme/dark.js +1 -1
- data/app/assets/javascripts/echarts/theme/eduardo.js +1 -1
- data/app/assets/javascripts/echarts/theme/forest.js +1 -1
- data/app/assets/javascripts/echarts/theme/fresh-cut.js +1 -1
- data/app/assets/javascripts/echarts/theme/fruit.js +1 -1
- data/app/assets/javascripts/echarts/theme/gray.js +1 -1
- data/app/assets/javascripts/echarts/theme/green.js +1 -1
- data/app/assets/javascripts/echarts/theme/helianthus.js +1 -1
- data/app/assets/javascripts/echarts/theme/infographic.js +6 -6
- data/app/assets/javascripts/echarts/theme/inspired.js +1 -1
- data/app/assets/javascripts/echarts/theme/jazz.js +1 -1
- data/app/assets/javascripts/echarts/theme/london.js +1 -1
- data/app/assets/javascripts/echarts/theme/macarons.js +6 -4
- data/app/assets/javascripts/echarts/theme/macarons2.js +59 -62
- data/app/assets/javascripts/echarts/theme/mint.js +1 -1
- data/app/assets/javascripts/echarts/theme/package.json +3 -0
- data/app/assets/javascripts/echarts/theme/red-velvet.js +1 -1
- data/app/assets/javascripts/echarts/theme/red.js +1 -1
- data/app/assets/javascripts/echarts/theme/roma.js +1 -1
- data/app/assets/javascripts/echarts/theme/royal.js +1 -1
- data/app/assets/javascripts/echarts/theme/sakura.js +1 -1
- data/app/assets/javascripts/echarts/theme/shine.js +2 -4
- data/app/assets/javascripts/echarts/theme/tech-blue.js +7 -3
- data/app/assets/javascripts/echarts/theme/tool/option/area.js +88 -0
- data/app/assets/javascripts/echarts/theme/tool/option/bar.js +107 -0
- data/app/assets/javascripts/echarts/theme/tool/option/graph.js +2824 -0
- data/app/assets/javascripts/echarts/theme/tool/option/map.js +141 -0
- data/app/assets/javascripts/echarts/theme/tool/option/pie.js +87 -0
- data/app/assets/javascripts/echarts/theme/tool/option/scatter.js +201 -0
- data/app/assets/javascripts/echarts/theme/tool/thumb.html +65 -0
- data/app/assets/javascripts/echarts/theme/tool/thumb.js +63 -0
- data/app/assets/javascripts/echarts/theme/vintage.js +1 -1
- data/app/assets/javascripts/echarts.min.js +2 -2
- data/lib/rails_charts/base_chart.rb +5 -4
- data/lib/rails_charts/javascript.rb +1 -1
- data/lib/rails_charts/stacked_bar_chart.rb +1 -1
- data/lib/rails_charts/version.rb +1 -1
- metadata +29 -22
@@ -31,7 +31,7 @@
|
|
31
31
|
// Browser globals
|
32
32
|
factory({}, root.echarts);
|
33
33
|
}
|
34
|
-
})(
|
34
|
+
})(this, function(exports, echarts) {
|
35
35
|
var log = function(msg) {
|
36
36
|
if (typeof console !== 'undefined') {
|
37
37
|
console && console.error && console.error(msg);
|
@@ -31,7 +31,7 @@
|
|
31
31
|
// Browser globals
|
32
32
|
factory({}, root.echarts);
|
33
33
|
}
|
34
|
-
})(
|
34
|
+
})(this, function(exports, echarts) {
|
35
35
|
var log = function(msg) {
|
36
36
|
if (typeof console !== 'undefined') {
|
37
37
|
console && console.error && console.error(msg);
|
@@ -31,7 +31,7 @@
|
|
31
31
|
// Browser globals
|
32
32
|
factory({}, root.echarts);
|
33
33
|
}
|
34
|
-
})(
|
34
|
+
})(this, function(exports, echarts) {
|
35
35
|
var log = function(msg) {
|
36
36
|
if (typeof console !== 'undefined') {
|
37
37
|
console && console.error && console.error(msg);
|
@@ -31,7 +31,7 @@
|
|
31
31
|
// Browser globals
|
32
32
|
factory({}, root.echarts);
|
33
33
|
}
|
34
|
-
})(
|
34
|
+
})(this, function(exports, echarts) {
|
35
35
|
var log = function(msg) {
|
36
36
|
if (typeof console !== 'undefined') {
|
37
37
|
console && console.error && console.error(msg);
|
@@ -31,7 +31,7 @@
|
|
31
31
|
// Browser globals
|
32
32
|
factory({}, root.echarts);
|
33
33
|
}
|
34
|
-
})(
|
34
|
+
})(this, function(exports, echarts) {
|
35
35
|
var log = function(msg) {
|
36
36
|
if (typeof console !== 'undefined') {
|
37
37
|
console && console.error && console.error(msg);
|
@@ -31,7 +31,7 @@
|
|
31
31
|
// Browser globals
|
32
32
|
factory({}, root.echarts);
|
33
33
|
}
|
34
|
-
})(
|
34
|
+
})(this, function(exports, echarts) {
|
35
35
|
var log = function(msg) {
|
36
36
|
if (typeof console !== 'undefined') {
|
37
37
|
console && console.error && console.error(msg);
|
@@ -31,7 +31,7 @@
|
|
31
31
|
// Browser globals
|
32
32
|
factory({}, root.echarts);
|
33
33
|
}
|
34
|
-
})(
|
34
|
+
})(this, function(exports, echarts) {
|
35
35
|
var log = function(msg) {
|
36
36
|
if (typeof console !== 'undefined') {
|
37
37
|
console && console.error && console.error(msg);
|
@@ -31,7 +31,7 @@
|
|
31
31
|
// Browser globals
|
32
32
|
factory({}, root.echarts);
|
33
33
|
}
|
34
|
-
})(
|
34
|
+
})(this, function(exports, echarts) {
|
35
35
|
var log = function(msg) {
|
36
36
|
if (typeof console !== 'undefined') {
|
37
37
|
console && console.error && console.error(msg);
|
@@ -31,7 +31,7 @@
|
|
31
31
|
// Browser globals
|
32
32
|
factory({}, root.echarts);
|
33
33
|
}
|
34
|
-
})(
|
34
|
+
})(this, function(exports, echarts) {
|
35
35
|
var log = function(msg) {
|
36
36
|
if (typeof console !== 'undefined') {
|
37
37
|
console && console.error && console.error(msg);
|
@@ -31,7 +31,7 @@
|
|
31
31
|
// Browser globals
|
32
32
|
factory({}, root.echarts);
|
33
33
|
}
|
34
|
-
})(
|
34
|
+
})(this, function(exports, echarts) {
|
35
35
|
var log = function(msg) {
|
36
36
|
if (typeof console !== 'undefined') {
|
37
37
|
console && console.error && console.error(msg);
|
@@ -31,7 +31,7 @@
|
|
31
31
|
// Browser globals
|
32
32
|
factory({}, root.echarts);
|
33
33
|
}
|
34
|
-
})(
|
34
|
+
})(this, function(exports, echarts) {
|
35
35
|
var log = function(msg) {
|
36
36
|
if (typeof console !== 'undefined') {
|
37
37
|
console && console.error && console.error(msg);
|
@@ -31,7 +31,7 @@
|
|
31
31
|
// Browser globals
|
32
32
|
factory({}, root.echarts);
|
33
33
|
}
|
34
|
-
})(
|
34
|
+
})(this, function(exports, echarts) {
|
35
35
|
var log = function(msg) {
|
36
36
|
if (typeof console !== 'undefined') {
|
37
37
|
console && console.error && console.error(msg);
|
@@ -31,7 +31,7 @@
|
|
31
31
|
// Browser globals
|
32
32
|
factory({}, root.echarts);
|
33
33
|
}
|
34
|
-
})(
|
34
|
+
})(this, function(exports, echarts) {
|
35
35
|
var log = function(msg) {
|
36
36
|
if (typeof console !== 'undefined') {
|
37
37
|
console && console.error && console.error(msg);
|
@@ -31,7 +31,7 @@
|
|
31
31
|
// Browser globals
|
32
32
|
factory({}, root.echarts);
|
33
33
|
}
|
34
|
-
})(
|
34
|
+
})(this, function(exports, echarts) {
|
35
35
|
var log = function(msg) {
|
36
36
|
if (typeof console !== 'undefined') {
|
37
37
|
console && console.error && console.error(msg);
|
@@ -31,7 +31,7 @@
|
|
31
31
|
// Browser globals
|
32
32
|
factory({}, root.echarts);
|
33
33
|
}
|
34
|
-
})(
|
34
|
+
})(this, function(exports, echarts) {
|
35
35
|
var log = function(msg) {
|
36
36
|
if (typeof console !== 'undefined') {
|
37
37
|
console && console.error && console.error(msg);
|
@@ -76,9 +76,7 @@
|
|
76
76
|
|
77
77
|
toolbox: {
|
78
78
|
iconStyle: {
|
79
|
-
|
80
|
-
borderColor: colorPalette[0]
|
81
|
-
}
|
79
|
+
borderColor: colorPalette[0]
|
82
80
|
}
|
83
81
|
},
|
84
82
|
|
@@ -152,8 +150,10 @@
|
|
152
150
|
borderColor: '#fff',
|
153
151
|
lineStyle: {
|
154
152
|
width: 3
|
155
|
-
}
|
156
|
-
|
153
|
+
}
|
154
|
+
},
|
155
|
+
emphasis: {
|
156
|
+
itemStyle: {
|
157
157
|
borderWidth: 0
|
158
158
|
}
|
159
159
|
},
|
@@ -31,7 +31,7 @@
|
|
31
31
|
// Browser globals
|
32
32
|
factory({}, root.echarts);
|
33
33
|
}
|
34
|
-
})(
|
34
|
+
})(this, function(exports, echarts) {
|
35
35
|
var log = function(msg) {
|
36
36
|
if (typeof console !== 'undefined') {
|
37
37
|
console && console.error && console.error(msg);
|
@@ -31,7 +31,7 @@
|
|
31
31
|
// Browser globals
|
32
32
|
factory({}, root.echarts);
|
33
33
|
}
|
34
|
-
})(
|
34
|
+
})(this, function(exports, echarts) {
|
35
35
|
var log = function(msg) {
|
36
36
|
if (typeof console !== 'undefined') {
|
37
37
|
console && console.error && console.error(msg);
|
@@ -31,7 +31,7 @@
|
|
31
31
|
// Browser globals
|
32
32
|
factory({}, root.echarts);
|
33
33
|
}
|
34
|
-
})(
|
34
|
+
})(this, function(exports, echarts) {
|
35
35
|
var log = function(msg) {
|
36
36
|
if (typeof console !== 'undefined') {
|
37
37
|
console && console.error && console.error(msg);
|
@@ -31,7 +31,7 @@
|
|
31
31
|
// Browser globals
|
32
32
|
factory({}, root.echarts);
|
33
33
|
}
|
34
|
-
})(
|
34
|
+
})(this, function(exports, echarts) {
|
35
35
|
var log = function(msg) {
|
36
36
|
if (typeof console !== 'undefined') {
|
37
37
|
console && console.error && console.error(msg);
|
@@ -82,14 +82,16 @@
|
|
82
82
|
|
83
83
|
toolbox: {
|
84
84
|
iconStyle: {
|
85
|
-
|
86
|
-
borderColor: colorPalette[0]
|
87
|
-
}
|
85
|
+
borderColor: colorPalette[0]
|
88
86
|
}
|
89
87
|
},
|
90
88
|
|
91
89
|
tooltip: {
|
90
|
+
borderWidth: 0,
|
92
91
|
backgroundColor: 'rgba(50,50,50,0.5)',
|
92
|
+
textStyle: {
|
93
|
+
color: '#FFF'
|
94
|
+
},
|
93
95
|
axisPointer: {
|
94
96
|
type: 'line',
|
95
97
|
lineStyle: {
|
@@ -31,7 +31,7 @@
|
|
31
31
|
// Browser globals
|
32
32
|
factory({}, root.echarts);
|
33
33
|
}
|
34
|
-
})(
|
34
|
+
})(this, function(exports, echarts) {
|
35
35
|
var log = function(msg) {
|
36
36
|
if (typeof console !== 'undefined') {
|
37
37
|
console && console.error && console.error(msg);
|
@@ -88,70 +88,67 @@
|
|
88
88
|
// barWidth: null, // 默认自适应
|
89
89
|
barGap: '30%', // 柱间距离,默认为柱形宽度的30%,可设固定值
|
90
90
|
barCategoryGap: '20%', // 类目间柱形距离,默认为类目间距的20%,可设固定值
|
91
|
+
label: {
|
92
|
+
show: false
|
93
|
+
// position: 默认自适应,水平布局为'top',垂直布局为'right',可选为
|
94
|
+
// 'inside'|'left'|'right'|'top'|'bottom'
|
95
|
+
// textStyle: null // 默认使用全局文本样式,详见TEXTSTYLE
|
96
|
+
},
|
91
97
|
itemStyle: {
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
// position: 默认自适应,水平布局为'top',垂直布局为'right',可选为
|
100
|
-
// 'inside'|'left'|'right'|'top'|'bottom'
|
101
|
-
// textStyle: null // 默认使用全局文本样式,详见TEXTSTYLE
|
102
|
-
}
|
103
|
-
},
|
104
|
-
emphasis: {
|
98
|
+
// color: '各异',
|
99
|
+
barBorderColor: '#fff', // 柱条边线
|
100
|
+
barBorderRadius: 0, // 柱条边线圆角,单位px,默认为0
|
101
|
+
barBorderWidth: 1 // 柱条边线线宽,单位px,默认为1
|
102
|
+
},
|
103
|
+
emphasis: {
|
104
|
+
itemStyle: {
|
105
105
|
// color: '各异',
|
106
106
|
barBorderColor: 'rgba(0,0,0,0)', // 柱条边线
|
107
107
|
barBorderRadius: 0, // 柱条边线圆角,单位px,默认为0
|
108
108
|
barBorderWidth: 1, // 柱条边线线宽,单位px,默认为1
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
109
|
+
},
|
110
|
+
label: {
|
111
|
+
show: false
|
112
|
+
// position: 默认自适应,水平布局为'top',垂直布局为'right',可选为
|
113
|
+
// 'inside'|'left'|'right'|'top'|'bottom'
|
114
|
+
// textStyle: null // 默认使用全局文本样式,详见TEXTSTYLE
|
115
115
|
}
|
116
116
|
}
|
117
117
|
},
|
118
118
|
|
119
119
|
line: {
|
120
|
+
label: {
|
121
|
+
show: false
|
122
|
+
// position: 默认自适应,水平布局为'top',垂直布局为'right',可选为
|
123
|
+
// 'inside'|'left'|'right'|'top'|'bottom'
|
124
|
+
// textStyle: null // 默认使用全局文本样式,详见TEXTSTYLE
|
125
|
+
},
|
120
126
|
itemStyle: {
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
width: 2,
|
131
|
-
type: 'solid',
|
132
|
-
shadowColor: 'rgba(0,0,0,0)', //默认透明
|
133
|
-
shadowBlur: 5,
|
134
|
-
shadowOffsetX: 3,
|
135
|
-
shadowOffsetY: 3
|
136
|
-
}
|
137
|
-
},
|
138
|
-
emphasis: {
|
139
|
-
// color: 各异,
|
140
|
-
label: {
|
141
|
-
show: false
|
142
|
-
// position: 默认自适应,水平布局为'top',垂直布局为'right',可选为
|
143
|
-
// 'inside'|'left'|'right'|'top'|'bottom'
|
144
|
-
// textStyle: null // 默认使用全局文本样式,详见TEXTSTYLE
|
145
|
-
}
|
127
|
+
// color: 各异,
|
128
|
+
},
|
129
|
+
emphasis: {
|
130
|
+
// color: 各异,
|
131
|
+
label: {
|
132
|
+
show: false
|
133
|
+
// position: 默认自适应,水平布局为'top',垂直布局为'right',可选为
|
134
|
+
// 'inside'|'left'|'right'|'top'|'bottom'
|
135
|
+
// textStyle: null // 默认使用全局文本样式,详见TEXTSTYLE
|
146
136
|
}
|
147
137
|
},
|
138
|
+
lineStyle: {
|
139
|
+
width: 2,
|
140
|
+
type: 'solid',
|
141
|
+
shadowColor: 'rgba(0,0,0,0)', //默认透明
|
142
|
+
shadowBlur: 5,
|
143
|
+
shadowOffsetX: 3,
|
144
|
+
shadowOffsetY: 3
|
145
|
+
},
|
148
146
|
//smooth : false,
|
149
147
|
//symbol: null, // 拐点图形类型
|
150
148
|
symbolSize: 2, // 拐点图形大小
|
151
149
|
//symbolRotate : null, // 拐点图形旋转控制
|
152
150
|
showAllSymbol: false // 标志图形默认只有主轴显示(随主轴标签间隔隐藏策略)
|
153
151
|
},
|
154
|
-
|
155
152
|
candlestick: {
|
156
153
|
itemStyle: {
|
157
154
|
color: '#fe9778',
|
@@ -176,25 +173,25 @@
|
|
176
173
|
startAngle: 90,
|
177
174
|
minAngle: 0, // 最小角度改为0
|
178
175
|
selectedOffset: 10, // 选中是扇区偏移量
|
176
|
+
label: {
|
177
|
+
show: true,
|
178
|
+
position: 'outer',
|
179
|
+
color: '#1b1b1b',
|
180
|
+
lineStyle: { color: '#1b1b1b' }
|
181
|
+
// textStyle: null // 默认使用全局文本样式,详见TEXTSTYLE
|
182
|
+
},
|
179
183
|
itemStyle: {
|
180
184
|
// color: 各异,
|
181
185
|
borderColor: '#fff',
|
182
|
-
borderWidth: 1
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
//
|
189
|
-
|
190
|
-
|
191
|
-
show: true,
|
192
|
-
length: 20,
|
193
|
-
lineStyle: {
|
194
|
-
// color: 各异,
|
195
|
-
width: 1,
|
196
|
-
type: 'solid'
|
197
|
-
}
|
186
|
+
borderWidth: 1
|
187
|
+
},
|
188
|
+
labelLine: {
|
189
|
+
show: true,
|
190
|
+
length: 20,
|
191
|
+
lineStyle: {
|
192
|
+
// color: 各异,
|
193
|
+
width: 1,
|
194
|
+
type: 'solid'
|
198
195
|
}
|
199
196
|
}
|
200
197
|
},
|
@@ -31,7 +31,7 @@
|
|
31
31
|
// Browser globals
|
32
32
|
factory({}, root.echarts);
|
33
33
|
}
|
34
|
-
})(
|
34
|
+
})(this, function(exports, echarts) {
|
35
35
|
var log = function(msg) {
|
36
36
|
if (typeof console !== 'undefined') {
|
37
37
|
console && console.error && console.error(msg);
|
@@ -31,7 +31,7 @@
|
|
31
31
|
// Browser globals
|
32
32
|
factory({}, root.echarts);
|
33
33
|
}
|
34
|
-
})(
|
34
|
+
})(this, function(exports, echarts) {
|
35
35
|
var log = function(msg) {
|
36
36
|
if (typeof console !== 'undefined') {
|
37
37
|
console && console.error && console.error(msg);
|
@@ -31,7 +31,7 @@
|
|
31
31
|
// Browser globals
|
32
32
|
factory({}, root.echarts);
|
33
33
|
}
|
34
|
-
})(
|
34
|
+
})(this, function(exports, echarts) {
|
35
35
|
var log = function(msg) {
|
36
36
|
if (typeof console !== 'undefined') {
|
37
37
|
console && console.error && console.error(msg);
|
@@ -32,7 +32,7 @@
|
|
32
32
|
// Browser globals
|
33
33
|
factory({}, root.echarts);
|
34
34
|
}
|
35
|
-
})(
|
35
|
+
})(this, function(exports, echarts) {
|
36
36
|
var log = function(msg) {
|
37
37
|
if (typeof console !== 'undefined') {
|
38
38
|
console && console.error && console.error(msg);
|
@@ -31,7 +31,7 @@
|
|
31
31
|
// Browser globals
|
32
32
|
factory({}, root.echarts);
|
33
33
|
}
|
34
|
-
})(
|
34
|
+
})(this, function(exports, echarts) {
|
35
35
|
var log = function(msg) {
|
36
36
|
if (typeof console !== 'undefined') {
|
37
37
|
console && console.error && console.error(msg);
|
@@ -31,7 +31,7 @@
|
|
31
31
|
// Browser globals
|
32
32
|
factory({}, root.echarts);
|
33
33
|
}
|
34
|
-
})(
|
34
|
+
})(this, function(exports, echarts) {
|
35
35
|
var log = function(msg) {
|
36
36
|
if (typeof console !== 'undefined') {
|
37
37
|
console && console.error && console.error(msg);
|
@@ -30,7 +30,7 @@
|
|
30
30
|
// Browser globals
|
31
31
|
factory({}, root.echarts);
|
32
32
|
}
|
33
|
-
})(
|
33
|
+
})(this, function(exports, echarts) {
|
34
34
|
var log = function(msg) {
|
35
35
|
if (typeof console !== 'undefined') {
|
36
36
|
console && console.error && console.error(msg);
|
@@ -67,9 +67,7 @@
|
|
67
67
|
|
68
68
|
toolbox: {
|
69
69
|
iconStyle: {
|
70
|
-
|
71
|
-
borderColor: '#06467c'
|
72
|
-
}
|
70
|
+
borderColor: '#06467c'
|
73
71
|
}
|
74
72
|
},
|
75
73
|
|
@@ -31,7 +31,7 @@
|
|
31
31
|
// Browser globals
|
32
32
|
factory({}, root.echarts);
|
33
33
|
}
|
34
|
-
})(
|
34
|
+
})(this, function(exports, echarts) {
|
35
35
|
var log = function(msg) {
|
36
36
|
if (typeof console !== 'undefined') {
|
37
37
|
console && console.error && console.error(msg);
|
@@ -105,8 +105,12 @@
|
|
105
105
|
color: '#00aecd'
|
106
106
|
},
|
107
107
|
controlStyle: {
|
108
|
-
|
109
|
-
|
108
|
+
color: '#00aecd',
|
109
|
+
},
|
110
|
+
emphasis: {
|
111
|
+
controlStyle: {
|
112
|
+
color: '#00aecd'
|
113
|
+
}
|
110
114
|
}
|
111
115
|
},
|
112
116
|
|
@@ -0,0 +1,88 @@
|
|
1
|
+
/*
|
2
|
+
* Licensed to the Apache Software Foundation (ASF) under one
|
3
|
+
* or more contributor license agreements. See the NOTICE file
|
4
|
+
* distributed with this work for additional information
|
5
|
+
* regarding copyright ownership. The ASF licenses this file
|
6
|
+
* to you under the Apache License, Version 2.0 (the
|
7
|
+
* "License"); you may not use this file except in compliance
|
8
|
+
* with the License. You may obtain a copy of the License at
|
9
|
+
*
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
*
|
12
|
+
* Unless required by applicable law or agreed to in writing,
|
13
|
+
* software distributed under the License is distributed on an
|
14
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
15
|
+
* KIND, either express or implied. See the License for the
|
16
|
+
* specific language governing permissions and limitations
|
17
|
+
* under the License.
|
18
|
+
*/
|
19
|
+
|
20
|
+
export default {
|
21
|
+
title: {
|
22
|
+
text: 'Area Chart',
|
23
|
+
left: 'center',
|
24
|
+
top: '3%',
|
25
|
+
textStyle: {
|
26
|
+
fontWeight: 'normal'
|
27
|
+
}
|
28
|
+
},
|
29
|
+
grid: {
|
30
|
+
left: '3%',
|
31
|
+
right: '4%',
|
32
|
+
bottom: '12%',
|
33
|
+
containLabel: true
|
34
|
+
},
|
35
|
+
xAxis: {
|
36
|
+
type: 'category',
|
37
|
+
boundaryGap: false,
|
38
|
+
data: ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday','Sunday']
|
39
|
+
},
|
40
|
+
yAxis: {
|
41
|
+
type: 'value',
|
42
|
+
splitNumber: 3
|
43
|
+
},
|
44
|
+
dataZoom: {
|
45
|
+
|
46
|
+
},
|
47
|
+
series: [
|
48
|
+
{
|
49
|
+
name:'Email',
|
50
|
+
type:'line',
|
51
|
+
stack: '总量',
|
52
|
+
areaStyle: {},
|
53
|
+
data:[120, 132, 101, 134, 90, 230, 210]
|
54
|
+
},
|
55
|
+
{
|
56
|
+
name:'联盟广告',
|
57
|
+
type:'line',
|
58
|
+
stack: '总量',
|
59
|
+
areaStyle: {},
|
60
|
+
data:[220, 182, 191, 234, 290, 330, 310]
|
61
|
+
},
|
62
|
+
{
|
63
|
+
name:'视频广告',
|
64
|
+
type:'line',
|
65
|
+
stack: '总量',
|
66
|
+
areaStyle: {},
|
67
|
+
data:[150, 232, 201, 154, 190, 330, 410]
|
68
|
+
},
|
69
|
+
{
|
70
|
+
name:'直接访问',
|
71
|
+
type:'line',
|
72
|
+
stack: '总量',
|
73
|
+
areaStyle: {},
|
74
|
+
data:[320, 332, 301, 334, 390, 330, 320]
|
75
|
+
},
|
76
|
+
{
|
77
|
+
name:'搜索引擎',
|
78
|
+
type:'line',
|
79
|
+
stack: '总量',
|
80
|
+
label: {
|
81
|
+
show: true,
|
82
|
+
position: 'top'
|
83
|
+
},
|
84
|
+
areaStyle: {},
|
85
|
+
data:[820, 932, 901, 934, 1290, 1330, 1320]
|
86
|
+
}
|
87
|
+
]
|
88
|
+
};
|