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.
Files changed (104) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +19 -3
  3. data/app/assets/javascripts/echarts/extension/bmap.js +36 -81
  4. data/app/assets/javascripts/echarts/extension/bmap.js.map +1 -1
  5. data/app/assets/javascripts/echarts/extension/dataTool.js +14 -48
  6. data/app/assets/javascripts/echarts/extension/dataTool.js.map +1 -1
  7. data/app/assets/javascripts/echarts/i18n/langAR-obj.js +178 -0
  8. data/app/assets/javascripts/echarts/i18n/langAR.js +174 -0
  9. data/app/assets/javascripts/echarts/i18n/langCS-obj.js +4 -1
  10. data/app/assets/javascripts/echarts/i18n/langCS.js +4 -1
  11. data/app/assets/javascripts/echarts/i18n/langDE-obj.js +5 -2
  12. data/app/assets/javascripts/echarts/i18n/langDE.js +5 -2
  13. data/app/assets/javascripts/echarts/i18n/langEN-obj.js +3 -1
  14. data/app/assets/javascripts/echarts/i18n/langEN.js +3 -1
  15. data/app/assets/javascripts/echarts/i18n/langES-obj.js +60 -0
  16. data/app/assets/javascripts/echarts/i18n/langES.js +60 -0
  17. data/app/assets/javascripts/echarts/i18n/langFA-obj.js +175 -0
  18. data/app/assets/javascripts/echarts/i18n/langFA.js +171 -0
  19. data/app/assets/javascripts/echarts/i18n/langFI-obj.js +60 -0
  20. data/app/assets/javascripts/echarts/i18n/langFI.js +60 -0
  21. data/app/assets/javascripts/echarts/i18n/langFR-obj.js +3 -1
  22. data/app/assets/javascripts/echarts/i18n/langFR.js +3 -1
  23. data/app/assets/javascripts/echarts/i18n/langHU-obj.js +175 -0
  24. data/app/assets/javascripts/echarts/i18n/langHU.js +171 -0
  25. data/app/assets/javascripts/echarts/i18n/langIT-obj.js +3 -1
  26. data/app/assets/javascripts/echarts/i18n/langIT.js +3 -1
  27. data/app/assets/javascripts/echarts/i18n/langJA-obj.js +3 -1
  28. data/app/assets/javascripts/echarts/i18n/langJA.js +3 -1
  29. data/app/assets/javascripts/echarts/i18n/langKO-obj.js +3 -1
  30. data/app/assets/javascripts/echarts/i18n/langKO.js +3 -1
  31. data/app/assets/javascripts/echarts/i18n/langNL-obj.js +175 -0
  32. data/app/assets/javascripts/echarts/i18n/langNL.js +171 -0
  33. data/app/assets/javascripts/echarts/i18n/langPL-obj.js +3 -1
  34. data/app/assets/javascripts/echarts/i18n/langPL.js +3 -1
  35. data/app/assets/javascripts/echarts/i18n/langPT-br-obj.js +14 -12
  36. data/app/assets/javascripts/echarts/i18n/langPT-br.js +14 -12
  37. data/app/assets/javascripts/echarts/i18n/langRO-obj.js +3 -1
  38. data/app/assets/javascripts/echarts/i18n/langRO.js +3 -1
  39. data/app/assets/javascripts/echarts/i18n/langRU-obj.js +3 -1
  40. data/app/assets/javascripts/echarts/i18n/langRU.js +3 -1
  41. data/app/assets/javascripts/echarts/i18n/langSI-obj.js +4 -1
  42. data/app/assets/javascripts/echarts/i18n/langSI.js +4 -1
  43. data/app/assets/javascripts/echarts/i18n/langSV-obj.js +174 -0
  44. data/app/assets/javascripts/echarts/i18n/langSV.js +170 -0
  45. data/app/assets/javascripts/echarts/i18n/langTH-obj.js +60 -0
  46. data/app/assets/javascripts/echarts/i18n/langTH.js +60 -0
  47. data/app/assets/javascripts/echarts/i18n/langTR-obj.js +175 -0
  48. data/app/assets/javascripts/echarts/i18n/langTR.js +171 -0
  49. data/app/assets/javascripts/echarts/i18n/{langUA-obj.js → langUK-obj.js} +3 -1
  50. data/app/assets/javascripts/echarts/i18n/{langUA.js → langUK.js} +4 -2
  51. data/app/assets/javascripts/echarts/i18n/langVI-obj.js +200 -0
  52. data/app/assets/javascripts/echarts/i18n/langVI.js +196 -0
  53. data/app/assets/javascripts/echarts/i18n/langZH-obj.js +4 -1
  54. data/app/assets/javascripts/echarts/i18n/langZH.js +4 -1
  55. data/app/assets/javascripts/echarts/i18n/package.json +3 -0
  56. data/app/assets/javascripts/echarts/theme/azul.js +1 -1
  57. data/app/assets/javascripts/echarts/theme/bee-inspired.js +1 -1
  58. data/app/assets/javascripts/echarts/theme/blue.js +1 -1
  59. data/app/assets/javascripts/echarts/theme/caravan.js +1 -1
  60. data/app/assets/javascripts/echarts/theme/carp.js +1 -1
  61. data/app/assets/javascripts/echarts/theme/cool.js +1 -1
  62. data/app/assets/javascripts/echarts/theme/dark-blue.js +1 -1
  63. data/app/assets/javascripts/echarts/theme/dark-bold.js +1 -1
  64. data/app/assets/javascripts/echarts/theme/dark-digerati.js +1 -1
  65. data/app/assets/javascripts/echarts/theme/dark-fresh-cut.js +1 -1
  66. data/app/assets/javascripts/echarts/theme/dark-mushroom.js +1 -1
  67. data/app/assets/javascripts/echarts/theme/dark.js +1 -1
  68. data/app/assets/javascripts/echarts/theme/eduardo.js +1 -1
  69. data/app/assets/javascripts/echarts/theme/forest.js +1 -1
  70. data/app/assets/javascripts/echarts/theme/fresh-cut.js +1 -1
  71. data/app/assets/javascripts/echarts/theme/fruit.js +1 -1
  72. data/app/assets/javascripts/echarts/theme/gray.js +1 -1
  73. data/app/assets/javascripts/echarts/theme/green.js +1 -1
  74. data/app/assets/javascripts/echarts/theme/helianthus.js +1 -1
  75. data/app/assets/javascripts/echarts/theme/infographic.js +6 -6
  76. data/app/assets/javascripts/echarts/theme/inspired.js +1 -1
  77. data/app/assets/javascripts/echarts/theme/jazz.js +1 -1
  78. data/app/assets/javascripts/echarts/theme/london.js +1 -1
  79. data/app/assets/javascripts/echarts/theme/macarons.js +6 -4
  80. data/app/assets/javascripts/echarts/theme/macarons2.js +59 -62
  81. data/app/assets/javascripts/echarts/theme/mint.js +1 -1
  82. data/app/assets/javascripts/echarts/theme/package.json +3 -0
  83. data/app/assets/javascripts/echarts/theme/red-velvet.js +1 -1
  84. data/app/assets/javascripts/echarts/theme/red.js +1 -1
  85. data/app/assets/javascripts/echarts/theme/roma.js +1 -1
  86. data/app/assets/javascripts/echarts/theme/royal.js +1 -1
  87. data/app/assets/javascripts/echarts/theme/sakura.js +1 -1
  88. data/app/assets/javascripts/echarts/theme/shine.js +2 -4
  89. data/app/assets/javascripts/echarts/theme/tech-blue.js +7 -3
  90. data/app/assets/javascripts/echarts/theme/tool/option/area.js +88 -0
  91. data/app/assets/javascripts/echarts/theme/tool/option/bar.js +107 -0
  92. data/app/assets/javascripts/echarts/theme/tool/option/graph.js +2824 -0
  93. data/app/assets/javascripts/echarts/theme/tool/option/map.js +141 -0
  94. data/app/assets/javascripts/echarts/theme/tool/option/pie.js +87 -0
  95. data/app/assets/javascripts/echarts/theme/tool/option/scatter.js +201 -0
  96. data/app/assets/javascripts/echarts/theme/tool/thumb.html +65 -0
  97. data/app/assets/javascripts/echarts/theme/tool/thumb.js +63 -0
  98. data/app/assets/javascripts/echarts/theme/vintage.js +1 -1
  99. data/app/assets/javascripts/echarts.min.js +2 -2
  100. data/lib/rails_charts/base_chart.rb +5 -4
  101. data/lib/rails_charts/javascript.rb +1 -1
  102. data/lib/rails_charts/stacked_bar_chart.rb +1 -1
  103. data/lib/rails_charts/version.rb +1 -1
  104. metadata +29 -22
@@ -0,0 +1,171 @@
1
+
2
+
3
+ /*
4
+ * Licensed to the Apache Software Foundation (ASF) under one
5
+ * or more contributor license agreements. See the NOTICE file
6
+ * distributed with this work for additional information
7
+ * regarding copyright ownership. The ASF licenses this file
8
+ * to you under the Apache License, Version 2.0 (the
9
+ * "License"); you may not use this file except in compliance
10
+ * with the License. You may obtain a copy of the License at
11
+ *
12
+ * http://www.apache.org/licenses/LICENSE-2.0
13
+ *
14
+ * Unless required by applicable law or agreed to in writing,
15
+ * software distributed under the License is distributed on an
16
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17
+ * KIND, either express or implied. See the License for the
18
+ * specific language governing permissions and limitations
19
+ * under the License.
20
+ */
21
+
22
+
23
+ /**
24
+ * AUTO-GENERATED FILE. DO NOT MODIFY.
25
+ */
26
+ (function(root, factory) {
27
+ if (typeof define === 'function' && define.amd) {
28
+ // AMD. Register as an anonymous module.
29
+ define(['exports', 'echarts'], factory);
30
+ } else if (
31
+ typeof exports === 'object' &&
32
+ typeof exports.nodeName !== 'string'
33
+ ) {
34
+ // CommonJS
35
+ factory(exports, require('echarts/lib/echarts'));
36
+ } else {
37
+ // Browser globals
38
+ factory({}, root.echarts);
39
+ }
40
+ })(this, function(exports, echarts) {
41
+
42
+
43
+ /**
44
+ * Language: Türkçe.
45
+ */
46
+
47
+ var localeObj = {
48
+ time: {
49
+ month: [
50
+ 'Ocak', 'Şubat', 'Mart', 'Nisan', 'Mayıs', 'Haziran',
51
+ 'Temmuz', 'Ağustos', 'Eylül', 'Ekim', 'Kasım', 'Aralık'
52
+ ],
53
+ monthAbbr: [
54
+ 'Oca', 'Şub', 'Mar', 'Nis', 'May', 'Haz',
55
+ 'Tem', 'Agu', 'Eyl', 'Eki', 'Kas', 'Ara'
56
+ ],
57
+ dayOfWeek: [
58
+ 'Pazar', 'Pazartesi', 'Salı', 'Çarşamba', 'Perşembe', 'Cuma', 'Cumartesi'
59
+ ],
60
+ dayOfWeekAbbr: [
61
+ 'Paz', 'Pzt', 'Sal', 'Çrş', 'Prş', 'Cum', 'Cts'
62
+ ]
63
+ },
64
+ legend: {
65
+ selector: {
66
+ all: 'Tümünü Seç',
67
+ inverse: 'Seçimi Ters Çevir'
68
+ }
69
+ },
70
+ toolbox: {
71
+ brush: {
72
+ title: {
73
+ rect: 'Dikdörtgen Seçimi',
74
+ polygon: 'Kement Seçimi',
75
+ lineX: 'Yatay Seçim',
76
+ lineY: 'Dikey Seçim',
77
+ keep: 'Seçimi Koru',
78
+ clear: 'Seçimi Sil'
79
+ }
80
+ },
81
+ dataView: {
82
+ title: 'Veri Görünümü',
83
+ lang: ['Veri Görünümü', 'Kapat', 'Yenile']
84
+ },
85
+ dataZoom: {
86
+ title: {
87
+ zoom: 'Yakınlaştır/Uzaklaştır',
88
+ back: 'Yakınlaştırmayı Sıfırla'
89
+ }
90
+ },
91
+ magicType: {
92
+ title: {
93
+ line: 'Çizgisel Grafiğe Çevir',
94
+ bar: 'Çubuk Grafiğe Çevir',
95
+ stack: 'Yığın',
96
+ tiled: 'Blok'
97
+ }
98
+ },
99
+ restore: {
100
+ title: 'Eski Haline Getir'
101
+ },
102
+ saveAsImage: {
103
+ title: 'Resim Olarak Kaydet',
104
+ lang: ['Resim Olarak Kaydetmek için Sağ Tıklayın']
105
+ }
106
+ },
107
+ series: {
108
+ typeNames: {
109
+ pie: 'Pasta Grafiği',
110
+ bar: 'Çubuk Grafik',
111
+ line: 'Çizgi Grafiği',
112
+ scatter: 'Dağılım Grafiği',
113
+ effectScatter: 'Dalga Efekt Dağılım Grafiği',
114
+ radar: 'Radar Grafiği',
115
+ tree: 'Ağaç Grafiği',
116
+ treemap: 'Ağaç Haritası',
117
+ boxplot: 'Kutu Grafiği',
118
+ candlestick: 'Şamdan Grafik',
119
+ k: 'K Çizgi Grafiği',
120
+ heatmap: 'Sıcaklık Haritası',
121
+ map: 'Harita',
122
+ parallel: 'Paralel Koordinat Haritası',
123
+ lines: 'Çizgisel Grafik',
124
+ graph: 'İlişkisel Grafik',
125
+ sankey: 'Sankey Diagramı',
126
+ funnel: 'Huni Grafik',
127
+ gauge: 'Gösterge',
128
+ pictorialBar: 'Resimli Çubuk Grafiği',
129
+ themeRiver: 'Akış Haritası',
130
+ sunburst: 'Güeş Patlaması Tablosu',
131
+ custom: 'Özel grafik',
132
+ chart: 'Grafiği'
133
+ }
134
+ },
135
+ aria: {
136
+ general: {
137
+ withTitle: 'Bu grafik "{title}" içindir.',
138
+ withoutTitle: 'Bu Bir Grafiktir.'
139
+ },
140
+ series: {
141
+ single: {
142
+ prefix: '',
143
+ withName: ' Grafik Türü {seriesType} ve {seriesName} gösteriyor.',
144
+ withoutName: ' {seriesType} tipinde grafik.'
145
+ },
146
+ multiple: {
147
+ prefix: '. {seriesCount} kadar grafik sayısından oluşur.',
148
+ withName: ' {seriesId}.serisi {seriesName} adını temsil eden bir {seriesType} temsil eder.',
149
+ withoutName: ' {seriesId}. serisi bir {seriesType}.',
150
+ separator: {
151
+ middle: '',
152
+ end: ''
153
+ }
154
+ }
155
+ },
156
+ data: {
157
+ allData: 'Veriler Aşağıdaki Gibidir: ',
158
+ partialData: 'İlk {displayCnt} öğesi: ',
159
+ withName: ' {value} için {name}',
160
+ withoutName: '{value}',
161
+ separator: {
162
+ middle: ', ',
163
+ end: '. '
164
+ }
165
+ }
166
+ }
167
+ };
168
+
169
+ echarts.registerLocale('TR', localeObj);
170
+
171
+ });
@@ -127,7 +127,9 @@ var localeObj = {
127
127
  gauge: 'Шкала',
128
128
  pictorialBar: 'Стовпчик-картинка',
129
129
  themeRiver: 'Тематична ріка',
130
- sunburst: 'Сонячне проміння'
130
+ sunburst: 'Сонячне проміння',
131
+ custom: 'Спеціальна діаграма',
132
+ chart: 'діаграма'
131
133
  }
132
134
  },
133
135
  aria: {
@@ -127,7 +127,9 @@ var localeObj = {
127
127
  gauge: 'Шкала',
128
128
  pictorialBar: 'Стовпчик-картинка',
129
129
  themeRiver: 'Тематична ріка',
130
- sunburst: 'Сонячне проміння'
130
+ sunburst: 'Сонячне проміння',
131
+ custom: 'Спеціальна діаграма',
132
+ chart: 'діаграма'
131
133
  }
132
134
  },
133
135
  aria: {
@@ -165,6 +167,6 @@ var localeObj = {
165
167
  }
166
168
  };
167
169
 
168
- echarts.registerLocale('UA', localeObj);
170
+ echarts.registerLocale('UK', localeObj);
169
171
 
170
172
  });
@@ -0,0 +1,200 @@
1
+
2
+
3
+ /*
4
+ * Licensed to the Apache Software Foundation (ASF) under one
5
+ * or more contributor license agreements. See the NOTICE file
6
+ * distributed with this work for additional information
7
+ * regarding copyright ownership. The ASF licenses this file
8
+ * to you under the Apache License, Version 2.0 (the
9
+ * "License"); you may not use this file except in compliance
10
+ * with the License. You may obtain a copy of the License at
11
+ *
12
+ * http://www.apache.org/licenses/LICENSE-2.0
13
+ *
14
+ * Unless required by applicable law or agreed to in writing,
15
+ * software distributed under the License is distributed on an
16
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17
+ * KIND, either express or implied. See the License for the
18
+ * specific language governing permissions and limitations
19
+ * under the License.
20
+ */
21
+
22
+
23
+ /**
24
+ * AUTO-GENERATED FILE. DO NOT MODIFY.
25
+ */
26
+ (function(root, factory) {
27
+ if (typeof define === 'function' && define.amd) {
28
+ // AMD. Register as an anonymous module.
29
+ define(['exports'], factory);
30
+ } else if (
31
+ typeof exports === 'object' &&
32
+ typeof exports.nodeName !== 'string'
33
+ ) {
34
+ // CommonJS
35
+ factory(exports);
36
+ } else {
37
+ // Browser globals
38
+ factory({});
39
+ }
40
+ })(this, function(exports) {
41
+
42
+
43
+ /**
44
+ * Language: Vietnamese.
45
+ */
46
+
47
+ var localeObj = {
48
+ time: {
49
+ month: [
50
+ 'Tháng 1',
51
+ 'Tháng 2',
52
+ 'Tháng 3',
53
+ 'Tháng 4',
54
+ 'Tháng 5',
55
+ 'Tháng 6',
56
+ 'Tháng 7',
57
+ 'Tháng 8',
58
+ 'Tháng 9',
59
+ 'Tháng 10',
60
+ 'Tháng 11',
61
+ 'Tháng 12'
62
+ ],
63
+ monthAbbr: [
64
+ 'Th01',
65
+ 'Th02',
66
+ 'Th03',
67
+ 'Th04',
68
+ 'Th05',
69
+ 'Th06',
70
+ 'Th07',
71
+ 'Th08',
72
+ 'Th09',
73
+ 'Th10',
74
+ 'Th11',
75
+ 'Th12'
76
+ ],
77
+ dayOfWeek: [
78
+ 'Chủ nhật',
79
+ 'Thứ hai',
80
+ 'Thứ ba',
81
+ 'Thứ tư',
82
+ 'Thứ năm',
83
+ 'Thứ sáu',
84
+ 'Thứ bảy'
85
+ ],
86
+ dayOfWeekAbbr: ['CN', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7']
87
+ },
88
+ legend: {
89
+ selector: {
90
+ all: 'Tất cả',
91
+ inverse: 'Ngược lại'
92
+ }
93
+ },
94
+ toolbox: {
95
+ brush: {
96
+ title: {
97
+ rect: 'Chọn theo ô',
98
+ polygon: 'Chọn theo đường bất kỳ',
99
+ lineX: 'Chọn theo chiều ngang',
100
+ lineY: 'Chọn theo chiều dọc',
101
+ keep: 'Giữ đã chọn',
102
+ clear: 'Bỏ đã chọn'
103
+ }
104
+ },
105
+ dataView: {
106
+ title: 'Xem dữ liệu',
107
+ lang: ['Xem dữ liệu', 'Đóng', 'Làm mới']
108
+ },
109
+ dataZoom: {
110
+ title: {
111
+ zoom: 'Phóng to',
112
+ back: 'Bỏ phóng to'
113
+ }
114
+ },
115
+ magicType: {
116
+ title: {
117
+ line: 'Chuyển sang biểu đồ đường',
118
+ bar: 'Chuyển sang biểu đồ cột',
119
+ stack: 'Xếp chồng',
120
+ tiled: 'Lát'
121
+ }
122
+ },
123
+ restore: {
124
+ title: 'Khôi phục'
125
+ },
126
+ saveAsImage: {
127
+ title: 'Lưu thành ảnh',
128
+ lang: ['Bấm phải chuột để lưu ảnh']
129
+ }
130
+ },
131
+ series: {
132
+ typeNames: {
133
+ pie: 'Biều đồ tròn',
134
+ bar: 'Biểu đồ cột',
135
+ line: 'Biểu đồ đường',
136
+ scatter: 'Biểu đồ phân tán',
137
+ effectScatter: 'Biểu đồ gợn sóng',
138
+ radar: 'Biểu đồ Radar',
139
+ tree: 'Biểu đồ cây',
140
+ treemap: 'Sơ đồ cây',
141
+ boxplot: 'Biểu đồ hộp',
142
+ candlestick: 'Biều đồ nến',
143
+ k: 'Biểu đồ đường K',
144
+ heatmap: 'Bản đồ nhiệt',
145
+ map: 'Bản đồ',
146
+ parallel: 'Bản đồ tọa độ song song',
147
+ lines: 'Biểu đồ đường',
148
+ graph: 'Đồ thị quan hệ',
149
+ sankey: 'Sơ đồ dòng',
150
+ funnel: 'Biểu đồ hình phễu',
151
+ gauge: 'Biểu đồ cung tròn',
152
+ pictorialBar: 'Biểu diễn hình ảnh',
153
+ themeRiver: 'Bản đồ sông',
154
+ sunburst: 'Biểu đồ bậc',
155
+ custom: 'Biểu đồ tùy chỉnh',
156
+ chart: 'Đồ thị'
157
+ }
158
+ },
159
+ aria: {
160
+ general: {
161
+ withTitle: 'Đây là biểu đồ "{title}"',
162
+ withoutTitle: 'Đây là biểu đồ'
163
+ },
164
+ series: {
165
+ single: {
166
+ prefix: '',
167
+ withName: ' với kiểu {seriesType} tên là {seriesName}.',
168
+ withoutName: ' với kiểu {seriesType}.'
169
+ },
170
+ multiple: {
171
+ prefix: '. Nó bao gồm {seriesCount} chuỗi.',
172
+ withName:
173
+ ' Chuỗi {seriesId} có kiểu {seriesType} đại diện cho {seriesName}.',
174
+ withoutName: ' Chuỗi {seriesId} có kiểu {seriesType}.',
175
+ separator: {
176
+ middle: '',
177
+ end: ''
178
+ }
179
+ }
180
+ },
181
+ data: {
182
+ allData: 'Dữ liệu như sau: ',
183
+ partialData: 'Các mục {displayCnt} đầu tiên là: ',
184
+ withName: 'dữ liệu cho {name} là {value}',
185
+ withoutName: '{value}',
186
+ separator: {
187
+ middle: ', ',
188
+ end: '. '
189
+ }
190
+ }
191
+ }
192
+ };
193
+
194
+ for (var key in localeObj) {
195
+ if (localeObj.hasOwnProperty(key)) {
196
+ exports[key] = localeObj[key];
197
+ }
198
+ }
199
+
200
+ });
@@ -0,0 +1,196 @@
1
+
2
+
3
+ /*
4
+ * Licensed to the Apache Software Foundation (ASF) under one
5
+ * or more contributor license agreements. See the NOTICE file
6
+ * distributed with this work for additional information
7
+ * regarding copyright ownership. The ASF licenses this file
8
+ * to you under the Apache License, Version 2.0 (the
9
+ * "License"); you may not use this file except in compliance
10
+ * with the License. You may obtain a copy of the License at
11
+ *
12
+ * http://www.apache.org/licenses/LICENSE-2.0
13
+ *
14
+ * Unless required by applicable law or agreed to in writing,
15
+ * software distributed under the License is distributed on an
16
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17
+ * KIND, either express or implied. See the License for the
18
+ * specific language governing permissions and limitations
19
+ * under the License.
20
+ */
21
+
22
+
23
+ /**
24
+ * AUTO-GENERATED FILE. DO NOT MODIFY.
25
+ */
26
+ (function(root, factory) {
27
+ if (typeof define === 'function' && define.amd) {
28
+ // AMD. Register as an anonymous module.
29
+ define(['exports', 'echarts'], factory);
30
+ } else if (
31
+ typeof exports === 'object' &&
32
+ typeof exports.nodeName !== 'string'
33
+ ) {
34
+ // CommonJS
35
+ factory(exports, require('echarts/lib/echarts'));
36
+ } else {
37
+ // Browser globals
38
+ factory({}, root.echarts);
39
+ }
40
+ })(this, function(exports, echarts) {
41
+
42
+
43
+ /**
44
+ * Language: Vietnamese.
45
+ */
46
+
47
+ var localeObj = {
48
+ time: {
49
+ month: [
50
+ 'Tháng 1',
51
+ 'Tháng 2',
52
+ 'Tháng 3',
53
+ 'Tháng 4',
54
+ 'Tháng 5',
55
+ 'Tháng 6',
56
+ 'Tháng 7',
57
+ 'Tháng 8',
58
+ 'Tháng 9',
59
+ 'Tháng 10',
60
+ 'Tháng 11',
61
+ 'Tháng 12'
62
+ ],
63
+ monthAbbr: [
64
+ 'Th01',
65
+ 'Th02',
66
+ 'Th03',
67
+ 'Th04',
68
+ 'Th05',
69
+ 'Th06',
70
+ 'Th07',
71
+ 'Th08',
72
+ 'Th09',
73
+ 'Th10',
74
+ 'Th11',
75
+ 'Th12'
76
+ ],
77
+ dayOfWeek: [
78
+ 'Chủ nhật',
79
+ 'Thứ hai',
80
+ 'Thứ ba',
81
+ 'Thứ tư',
82
+ 'Thứ năm',
83
+ 'Thứ sáu',
84
+ 'Thứ bảy'
85
+ ],
86
+ dayOfWeekAbbr: ['CN', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7']
87
+ },
88
+ legend: {
89
+ selector: {
90
+ all: 'Tất cả',
91
+ inverse: 'Ngược lại'
92
+ }
93
+ },
94
+ toolbox: {
95
+ brush: {
96
+ title: {
97
+ rect: 'Chọn theo ô',
98
+ polygon: 'Chọn theo đường bất kỳ',
99
+ lineX: 'Chọn theo chiều ngang',
100
+ lineY: 'Chọn theo chiều dọc',
101
+ keep: 'Giữ đã chọn',
102
+ clear: 'Bỏ đã chọn'
103
+ }
104
+ },
105
+ dataView: {
106
+ title: 'Xem dữ liệu',
107
+ lang: ['Xem dữ liệu', 'Đóng', 'Làm mới']
108
+ },
109
+ dataZoom: {
110
+ title: {
111
+ zoom: 'Phóng to',
112
+ back: 'Bỏ phóng to'
113
+ }
114
+ },
115
+ magicType: {
116
+ title: {
117
+ line: 'Chuyển sang biểu đồ đường',
118
+ bar: 'Chuyển sang biểu đồ cột',
119
+ stack: 'Xếp chồng',
120
+ tiled: 'Lát'
121
+ }
122
+ },
123
+ restore: {
124
+ title: 'Khôi phục'
125
+ },
126
+ saveAsImage: {
127
+ title: 'Lưu thành ảnh',
128
+ lang: ['Bấm phải chuột để lưu ảnh']
129
+ }
130
+ },
131
+ series: {
132
+ typeNames: {
133
+ pie: 'Biều đồ tròn',
134
+ bar: 'Biểu đồ cột',
135
+ line: 'Biểu đồ đường',
136
+ scatter: 'Biểu đồ phân tán',
137
+ effectScatter: 'Biểu đồ gợn sóng',
138
+ radar: 'Biểu đồ Radar',
139
+ tree: 'Biểu đồ cây',
140
+ treemap: 'Sơ đồ cây',
141
+ boxplot: 'Biểu đồ hộp',
142
+ candlestick: 'Biều đồ nến',
143
+ k: 'Biểu đồ đường K',
144
+ heatmap: 'Bản đồ nhiệt',
145
+ map: 'Bản đồ',
146
+ parallel: 'Bản đồ tọa độ song song',
147
+ lines: 'Biểu đồ đường',
148
+ graph: 'Đồ thị quan hệ',
149
+ sankey: 'Sơ đồ dòng',
150
+ funnel: 'Biểu đồ hình phễu',
151
+ gauge: 'Biểu đồ cung tròn',
152
+ pictorialBar: 'Biểu diễn hình ảnh',
153
+ themeRiver: 'Bản đồ sông',
154
+ sunburst: 'Biểu đồ bậc',
155
+ custom: 'Biểu đồ tùy chỉnh',
156
+ chart: 'Đồ thị'
157
+ }
158
+ },
159
+ aria: {
160
+ general: {
161
+ withTitle: 'Đây là biểu đồ "{title}"',
162
+ withoutTitle: 'Đây là biểu đồ'
163
+ },
164
+ series: {
165
+ single: {
166
+ prefix: '',
167
+ withName: ' với kiểu {seriesType} tên là {seriesName}.',
168
+ withoutName: ' với kiểu {seriesType}.'
169
+ },
170
+ multiple: {
171
+ prefix: '. Nó bao gồm {seriesCount} chuỗi.',
172
+ withName:
173
+ ' Chuỗi {seriesId} có kiểu {seriesType} đại diện cho {seriesName}.',
174
+ withoutName: ' Chuỗi {seriesId} có kiểu {seriesType}.',
175
+ separator: {
176
+ middle: '',
177
+ end: ''
178
+ }
179
+ }
180
+ },
181
+ data: {
182
+ allData: 'Dữ liệu như sau: ',
183
+ partialData: 'Các mục {displayCnt} đầu tiên là: ',
184
+ withName: 'dữ liệu cho {name} là {value}',
185
+ withoutName: '{value}',
186
+ separator: {
187
+ middle: ', ',
188
+ end: '. '
189
+ }
190
+ }
191
+ }
192
+ };
193
+
194
+ echarts.registerLocale('VI', localeObj);
195
+
196
+ });
@@ -123,7 +123,9 @@ var localeObj = {
123
123
  gauge: '仪表盘图',
124
124
  pictorialBar: '象形柱图',
125
125
  themeRiver: '主题河流图',
126
- sunburst: '旭日图'
126
+ sunburst: '旭日图',
127
+ custom: '自定义图表',
128
+ chart: '图表'
127
129
  }
128
130
  },
129
131
  aria: {
@@ -159,6 +161,7 @@ var localeObj = {
159
161
  }
160
162
  }
161
163
  };
164
+
162
165
  for (var key in localeObj) {
163
166
  if (localeObj.hasOwnProperty(key)) {
164
167
  exports[key] = localeObj[key];
@@ -123,7 +123,9 @@ var localeObj = {
123
123
  gauge: '仪表盘图',
124
124
  pictorialBar: '象形柱图',
125
125
  themeRiver: '主题河流图',
126
- sunburst: '旭日图'
126
+ sunburst: '旭日图',
127
+ custom: '自定义图表',
128
+ chart: '图表'
127
129
  }
128
130
  },
129
131
  aria: {
@@ -159,6 +161,7 @@ var localeObj = {
159
161
  }
160
162
  }
161
163
  };
164
+
162
165
  echarts.registerLocale('ZH', localeObj);
163
166
 
164
167
  });
@@ -0,0 +1,3 @@
1
+ {
2
+ "type": "commonjs"
3
+ }
@@ -31,7 +31,7 @@
31
31
  // Browser globals
32
32
  factory({}, root.echarts);
33
33
  }
34
- })(window, function(exports, echarts) {
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
- })(window, function(exports, echarts) {
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
- })(window, function(exports, echarts) {
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
- })(window, function(exports, echarts) {
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
- })(window, function(exports, echarts) {
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);