rails_charts 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (100) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.md +487 -0
  4. data/Rakefile +3 -0
  5. data/lib/rails_charts/area_chart.rb +31 -0
  6. data/lib/rails_charts/bar_chart.rb +25 -0
  7. data/lib/rails_charts/base_chart.rb +123 -0
  8. data/lib/rails_charts/calendar_chart.rb +36 -0
  9. data/lib/rails_charts/candlestick_chart.rb +25 -0
  10. data/lib/rails_charts/custom_chart.rb +14 -0
  11. data/lib/rails_charts/donut_chart.rb +36 -0
  12. data/lib/rails_charts/engine.rb +33 -0
  13. data/lib/rails_charts/funnel_chart.rb +30 -0
  14. data/lib/rails_charts/gauge_chart.rb +30 -0
  15. data/lib/rails_charts/helpers.rb +83 -0
  16. data/lib/rails_charts/javascript.rb +17 -0
  17. data/lib/rails_charts/line_chart.rb +78 -0
  18. data/lib/rails_charts/parallel_chart.rb +30 -0
  19. data/lib/rails_charts/pie_chart.rb +55 -0
  20. data/lib/rails_charts/radar_chart.rb +38 -0
  21. data/lib/rails_charts/ruby_ext.rb +28 -0
  22. data/lib/rails_charts/sankey_chart.rb +31 -0
  23. data/lib/rails_charts/scatter_chart.rb +34 -0
  24. data/lib/rails_charts/stacked_bar_chart.rb +13 -0
  25. data/lib/rails_charts/version.rb +3 -0
  26. data/lib/rails_charts.rb +43 -0
  27. data/vendor/assets/rails_charts/echarts.min.js +45 -0
  28. data/vendor/assets/rails_charts/extension/bmap.js +413 -0
  29. data/vendor/assets/rails_charts/extension/bmap.js.map +1 -0
  30. data/vendor/assets/rails_charts/extension/bmap.min.js +22 -0
  31. data/vendor/assets/rails_charts/extension/dataTool.js +436 -0
  32. data/vendor/assets/rails_charts/extension/dataTool.js.map +1 -0
  33. data/vendor/assets/rails_charts/extension/dataTool.min.js +22 -0
  34. data/vendor/assets/rails_charts/i18n/langCS-obj.js +172 -0
  35. data/vendor/assets/rails_charts/i18n/langCS.js +168 -0
  36. data/vendor/assets/rails_charts/i18n/langDE-obj.js +172 -0
  37. data/vendor/assets/rails_charts/i18n/langDE.js +168 -0
  38. data/vendor/assets/rails_charts/i18n/langEN-obj.js +173 -0
  39. data/vendor/assets/rails_charts/i18n/langEN.js +169 -0
  40. data/vendor/assets/rails_charts/i18n/langES-obj.js +111 -0
  41. data/vendor/assets/rails_charts/i18n/langES.js +107 -0
  42. data/vendor/assets/rails_charts/i18n/langFI-obj.js +111 -0
  43. data/vendor/assets/rails_charts/i18n/langFI.js +107 -0
  44. data/vendor/assets/rails_charts/i18n/langFR-obj.js +173 -0
  45. data/vendor/assets/rails_charts/i18n/langFR.js +169 -0
  46. data/vendor/assets/rails_charts/i18n/langIT-obj.js +173 -0
  47. data/vendor/assets/rails_charts/i18n/langIT.js +169 -0
  48. data/vendor/assets/rails_charts/i18n/langJA-obj.js +173 -0
  49. data/vendor/assets/rails_charts/i18n/langJA.js +169 -0
  50. data/vendor/assets/rails_charts/i18n/langKO-obj.js +173 -0
  51. data/vendor/assets/rails_charts/i18n/langKO.js +169 -0
  52. data/vendor/assets/rails_charts/i18n/langPL-obj.js +173 -0
  53. data/vendor/assets/rails_charts/i18n/langPL.js +169 -0
  54. data/vendor/assets/rails_charts/i18n/langPT-br-obj.js +174 -0
  55. data/vendor/assets/rails_charts/i18n/langPT-br.js +170 -0
  56. data/vendor/assets/rails_charts/i18n/langRO-obj.js +173 -0
  57. data/vendor/assets/rails_charts/i18n/langRO.js +169 -0
  58. data/vendor/assets/rails_charts/i18n/langRU-obj.js +174 -0
  59. data/vendor/assets/rails_charts/i18n/langRU.js +170 -0
  60. data/vendor/assets/rails_charts/i18n/langSI-obj.js +172 -0
  61. data/vendor/assets/rails_charts/i18n/langSI.js +168 -0
  62. data/vendor/assets/rails_charts/i18n/langTH-obj.js +111 -0
  63. data/vendor/assets/rails_charts/i18n/langTH.js +107 -0
  64. data/vendor/assets/rails_charts/i18n/langZH-obj.js +168 -0
  65. data/vendor/assets/rails_charts/i18n/langZH.js +164 -0
  66. data/vendor/assets/rails_charts/theme/azul.js +163 -0
  67. data/vendor/assets/rails_charts/theme/bee-inspired.js +178 -0
  68. data/vendor/assets/rails_charts/theme/blue.js +178 -0
  69. data/vendor/assets/rails_charts/theme/caravan.js +178 -0
  70. data/vendor/assets/rails_charts/theme/carp.js +163 -0
  71. data/vendor/assets/rails_charts/theme/cool.js +180 -0
  72. data/vendor/assets/rails_charts/theme/dark-blue.js +164 -0
  73. data/vendor/assets/rails_charts/theme/dark-bold.js +164 -0
  74. data/vendor/assets/rails_charts/theme/dark-digerati.js +164 -0
  75. data/vendor/assets/rails_charts/theme/dark-fresh-cut.js +164 -0
  76. data/vendor/assets/rails_charts/theme/dark-mushroom.js +164 -0
  77. data/vendor/assets/rails_charts/theme/dark.js +224 -0
  78. data/vendor/assets/rails_charts/theme/eduardo.js +178 -0
  79. data/vendor/assets/rails_charts/theme/forest.js +163 -0
  80. data/vendor/assets/rails_charts/theme/fresh-cut.js +163 -0
  81. data/vendor/assets/rails_charts/theme/fruit.js +178 -0
  82. data/vendor/assets/rails_charts/theme/gray.js +220 -0
  83. data/vendor/assets/rails_charts/theme/green.js +222 -0
  84. data/vendor/assets/rails_charts/theme/helianthus.js +263 -0
  85. data/vendor/assets/rails_charts/theme/infographic.js +236 -0
  86. data/vendor/assets/rails_charts/theme/inspired.js +163 -0
  87. data/vendor/assets/rails_charts/theme/jazz.js +163 -0
  88. data/vendor/assets/rails_charts/theme/london.js +163 -0
  89. data/vendor/assets/rails_charts/theme/macarons.js +240 -0
  90. data/vendor/assets/rails_charts/theme/macarons2.js +249 -0
  91. data/vendor/assets/rails_charts/theme/mint.js +155 -0
  92. data/vendor/assets/rails_charts/theme/red-velvet.js +163 -0
  93. data/vendor/assets/rails_charts/theme/red.js +225 -0
  94. data/vendor/assets/rails_charts/theme/roma.js +119 -0
  95. data/vendor/assets/rails_charts/theme/royal.js +163 -0
  96. data/vendor/assets/rails_charts/theme/sakura.js +140 -0
  97. data/vendor/assets/rails_charts/theme/shine.js +177 -0
  98. data/vendor/assets/rails_charts/theme/tech-blue.js +180 -0
  99. data/vendor/assets/rails_charts/theme/vintage.js +63 -0
  100. metadata +268 -0
@@ -0,0 +1,170 @@
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: Portuguese (Brazil).
45
+ */
46
+
47
+ var localeObj = {
48
+ time: {
49
+ month: [
50
+ 'Janeiro', 'Fevereiro', 'Março', 'Abril', 'Maio', 'Junho',
51
+ 'Julho', 'Agosto', 'Setembro', 'Outubro', 'Novembro', 'Dezembro'
52
+ ],
53
+ monthAbbr: [
54
+ 'Jan', 'Fev', 'Mar', 'Abr', 'Mai', 'Jun',
55
+ 'Jul', 'Ago', 'Set', 'Out', 'Nov', 'Dez'
56
+ ],
57
+ dayOfWeek: [
58
+ 'Domingo', 'Segunda-feira', 'Terça-feira', 'Quarta-feira',
59
+ 'Quinta-feira', 'Sexta-feira', 'Sábado'
60
+ ],
61
+ dayOfWeekAbbr: [
62
+ 'Dom', 'Seg', 'Ter', 'Qua', 'Qui', 'Sex', 'Sáb'
63
+ ]
64
+ },
65
+ legend: {
66
+ selector: {
67
+ all: 'Todas',
68
+ inverse: 'Inv'
69
+ }
70
+ },
71
+ toolbox: {
72
+ brush: {
73
+ title: {
74
+ rect: 'Seleção retangular',
75
+ polygon: 'Seleção em laço',
76
+ lineX: 'Selecionar horizontalmente',
77
+ lineY: 'Selecionar verticalmente',
78
+ keep: 'Manter seleções',
79
+ clear: 'Limpar seleções'
80
+ }
81
+ },
82
+ dataView: {
83
+ title: 'Exibição de dados',
84
+ lang: ['Exibição de dados', 'Fechar', 'Atualizar']
85
+ },
86
+ dataZoom: {
87
+ title: {
88
+ zoom: 'Zoom',
89
+ back: 'Restaurar Zoom'
90
+ }
91
+ },
92
+ magicType: {
93
+ title: {
94
+ line: 'Trocar para gráfico de linhas',
95
+ bar: 'Trocar para gráfico de barras',
96
+ stack: 'Empilhar',
97
+ tiled: 'Tile'
98
+ }
99
+ },
100
+ restore: {
101
+ title: 'Restore'
102
+ },
103
+ saveAsImage: {
104
+ title: 'Salvar como imagem',
105
+ lang: ['Clique com o botão direito para salvar imagem']
106
+ }
107
+ },
108
+ series: {
109
+ typeNames: {
110
+ pie: 'Gráfico de pizza',
111
+ bar: 'Gráfico de barras',
112
+ line: 'Gráfico de linhas',
113
+ scatter: 'Gráfico de dispersão',
114
+ effectScatter: 'Gráfico de dispersão ondulado',
115
+ radar: 'Gráfico radar',
116
+ tree: 'Árvore',
117
+ treemap: 'Treemap',
118
+ boxplot: 'Boxplot',
119
+ candlestick: 'Candlestick',
120
+ k: 'Gráfico K line',
121
+ heatmap: 'Mapa de calor',
122
+ map: 'Mapa',
123
+ parallel: 'Coordenadas paralelas',
124
+ lines: 'Gráfico de linhas',
125
+ graph: 'Relationship graph',
126
+ sankey: 'Gráfico Sankey',
127
+ funnel: 'Gráfico de funil',
128
+ gauge: 'Gauge',
129
+ pictorialBar: 'Pictorial bar',
130
+ themeRiver: 'Theme River Map',
131
+ sunburst: 'Sunburst'
132
+ }
133
+ },
134
+ aria: {
135
+ general: {
136
+ withTitle: 'Este é um gráfico entitulado "{title}"',
137
+ withoutTitle: 'Este é um gráfico'
138
+ },
139
+ series: {
140
+ single: {
141
+ prefix: '',
142
+ withName: ' do tipo {seriesType} nomeada/nomeado como {seriesName}.',
143
+ withoutName: ' do tipo {seriesType}.'
144
+ },
145
+ multiple: {
146
+ prefix: '. Consiste de {seriesCount} séries.',
147
+ withName: ' A {seriesId} série é um/uma {seriesType} representando {seriesName}.',
148
+ withoutName: ' A {seriesId} series é um/uma {seriesType}.',
149
+ separator: {
150
+ middle: '',
151
+ end: ''
152
+ }
153
+ }
154
+ },
155
+ data: {
156
+ allData: 'Os dados são: ',
157
+ partialData: 'As primeiros {displayCnt} itens são: ',
158
+ withName: 'os dados para {name} são {value}',
159
+ withoutName: '{value}',
160
+ separator: {
161
+ middle: ', ',
162
+ end: '. '
163
+ }
164
+ }
165
+ }
166
+ };
167
+
168
+ echarts.registerLocale('PT-br', localeObj);
169
+
170
+ });
@@ -0,0 +1,173 @@
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: Romanian.
45
+ */
46
+
47
+ var localeObj = {
48
+ time: {
49
+ month: [
50
+ 'ianuarie', 'februarie', 'martie', 'aprilie', 'mai', 'iunie',
51
+ 'iulie', 'august', 'septembrie', 'octombrie', 'noiembrie', 'decembrie'
52
+ ],
53
+ monthAbbr: [
54
+ 'ian.', 'febr.', 'mart.', 'apr.', 'mai', 'iun.',
55
+ 'iul.', 'aug.', 'sept.', 'oct.', 'nov.', 'dec.'
56
+ ],
57
+ dayOfWeek: [
58
+ 'Duminică', 'Luni', 'Marți', 'Miercuri', 'Joi', 'Vineri', 'Sâmbătă'
59
+ ],
60
+ dayOfWeekAbbr: [
61
+ 'du.', 'lu.', 'ma.', 'mi.', 'jo.', 'vi.', 'sâ.'
62
+ ]
63
+ },
64
+ legend: {
65
+ selector: {
66
+ all: 'Toate',
67
+ inverse: 'Inversează'
68
+ }
69
+ },
70
+ toolbox: {
71
+ brush: {
72
+ title: {
73
+ rect: 'Selecție dreptunghiulară',
74
+ polygon: 'Selecție lasso',
75
+ lineX: 'Selecție orizontală',
76
+ lineY: 'Selecție verticală',
77
+ keep: 'Păstrează selecția',
78
+ clear: 'Șterge selecția'
79
+ }
80
+ },
81
+ dataView: {
82
+ title: 'Vizualizarea datelor',
83
+ lang: ['Vizualizarea datelor', 'Închide', 'Reîmprospătează']
84
+ },
85
+ dataZoom: {
86
+ title: {
87
+ zoom: 'Zoom',
88
+ back: 'Resetează zoom'
89
+ }
90
+ },
91
+ magicType: {
92
+ title: {
93
+ line: 'Comută la diagramă cu linii',
94
+ bar: 'Comută la diagramă cu bare',
95
+ stack: 'Suprapune',
96
+ tiled: 'Alătură'
97
+ }
98
+ },
99
+ restore: {
100
+ title: 'Resetează'
101
+ },
102
+ saveAsImage: {
103
+ title: 'Salvează ca imagine',
104
+ lang: ['Clic dreapta pentru a salva ca imagine']
105
+ }
106
+ },
107
+ series: {
108
+ typeNames: {
109
+ pie: 'Diagramă radială',
110
+ bar: 'Diagramă cu bare',
111
+ line: 'Diagramă cu linii',
112
+ scatter: 'Diagramă de dispersie',
113
+ effectScatter: 'Diagramă de dispersie stilizată',
114
+ radar: 'Diagramă radar',
115
+ tree: 'Arbore',
116
+ treemap: 'Hartă de arbori',
117
+ boxplot: 'Diagramă boxbare',
118
+ candlestick: 'Diagramă bursieră',
119
+ k: 'Diagramă cu linii K',
120
+ heatmap: 'Hartă termografică',
121
+ map: 'Hartă',
122
+ parallel: 'Hartă de coordonate paralele',
123
+ lines: 'Linii',
124
+ graph: 'Graf',
125
+ sankey: 'Diagramă Sankey',
126
+ funnel: 'Diagramă pâlnie',
127
+ gauge: 'Calibru',
128
+ pictorialBar: 'Diagramă cu bare picturale',
129
+ themeRiver: 'Streamgraph',
130
+ sunburst: 'Diagramă rază de soare'
131
+ }
132
+ },
133
+ aria: {
134
+ general: {
135
+ withTitle: 'Aceasta este o diagrmă despre "{title}"',
136
+ withoutTitle: 'Aceasta este o diagramă'
137
+ },
138
+ series: {
139
+ single: {
140
+ prefix: '',
141
+ withName: ' de tipul {seriesType} denumită {seriesName}.',
142
+ withoutName: ' de tipul {seriesType}.'
143
+ },
144
+ multiple: {
145
+ prefix: '. Este alcătuită din {seriesCount} serii.',
146
+ withName: ' Seria {seriesId} este de tipul {seriesType} și reprezintă {seriesName}.',
147
+ withoutName: ' Seria {seriesId} este de tipul {seriesType}.',
148
+ separator: {
149
+ middle: '',
150
+ end: ''
151
+ }
152
+ }
153
+ },
154
+ data: {
155
+ allData: 'Datele sunt: ',
156
+ partialData: 'Primele {displayCnt} elemente sunt: ',
157
+ withName: 'datele pentru {name} sunt {value}',
158
+ withoutName: '{value}',
159
+ separator: {
160
+ middle: ', ',
161
+ end: '. '
162
+ }
163
+ }
164
+ }
165
+ };
166
+
167
+ for (var key in localeObj) {
168
+ if (localeObj.hasOwnProperty(key)) {
169
+ exports[key] = localeObj[key];
170
+ }
171
+ }
172
+
173
+ });
@@ -0,0 +1,169 @@
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: Romanian.
45
+ */
46
+
47
+ var localeObj = {
48
+ time: {
49
+ month: [
50
+ 'ianuarie', 'februarie', 'martie', 'aprilie', 'mai', 'iunie',
51
+ 'iulie', 'august', 'septembrie', 'octombrie', 'noiembrie', 'decembrie'
52
+ ],
53
+ monthAbbr: [
54
+ 'ian.', 'febr.', 'mart.', 'apr.', 'mai', 'iun.',
55
+ 'iul.', 'aug.', 'sept.', 'oct.', 'nov.', 'dec.'
56
+ ],
57
+ dayOfWeek: [
58
+ 'Duminică', 'Luni', 'Marți', 'Miercuri', 'Joi', 'Vineri', 'Sâmbătă'
59
+ ],
60
+ dayOfWeekAbbr: [
61
+ 'du.', 'lu.', 'ma.', 'mi.', 'jo.', 'vi.', 'sâ.'
62
+ ]
63
+ },
64
+ legend: {
65
+ selector: {
66
+ all: 'Toate',
67
+ inverse: 'Inversează'
68
+ }
69
+ },
70
+ toolbox: {
71
+ brush: {
72
+ title: {
73
+ rect: 'Selecție dreptunghiulară',
74
+ polygon: 'Selecție lasso',
75
+ lineX: 'Selecție orizontală',
76
+ lineY: 'Selecție verticală',
77
+ keep: 'Păstrează selecția',
78
+ clear: 'Șterge selecția'
79
+ }
80
+ },
81
+ dataView: {
82
+ title: 'Vizualizarea datelor',
83
+ lang: ['Vizualizarea datelor', 'Închide', 'Reîmprospătează']
84
+ },
85
+ dataZoom: {
86
+ title: {
87
+ zoom: 'Zoom',
88
+ back: 'Resetează zoom'
89
+ }
90
+ },
91
+ magicType: {
92
+ title: {
93
+ line: 'Comută la diagramă cu linii',
94
+ bar: 'Comută la diagramă cu bare',
95
+ stack: 'Suprapune',
96
+ tiled: 'Alătură'
97
+ }
98
+ },
99
+ restore: {
100
+ title: 'Resetează'
101
+ },
102
+ saveAsImage: {
103
+ title: 'Salvează ca imagine',
104
+ lang: ['Clic dreapta pentru a salva ca imagine']
105
+ }
106
+ },
107
+ series: {
108
+ typeNames: {
109
+ pie: 'Diagramă radială',
110
+ bar: 'Diagramă cu bare',
111
+ line: 'Diagramă cu linii',
112
+ scatter: 'Diagramă de dispersie',
113
+ effectScatter: 'Diagramă de dispersie stilizată',
114
+ radar: 'Diagramă radar',
115
+ tree: 'Arbore',
116
+ treemap: 'Hartă de arbori',
117
+ boxplot: 'Diagramă boxbare',
118
+ candlestick: 'Diagramă bursieră',
119
+ k: 'Diagramă cu linii K',
120
+ heatmap: 'Hartă termografică',
121
+ map: 'Hartă',
122
+ parallel: 'Hartă de coordonate paralele',
123
+ lines: 'Linii',
124
+ graph: 'Graf',
125
+ sankey: 'Diagramă Sankey',
126
+ funnel: 'Diagramă pâlnie',
127
+ gauge: 'Calibru',
128
+ pictorialBar: 'Diagramă cu bare picturale',
129
+ themeRiver: 'Streamgraph',
130
+ sunburst: 'Diagramă rază de soare'
131
+ }
132
+ },
133
+ aria: {
134
+ general: {
135
+ withTitle: 'Aceasta este o diagrmă despre "{title}"',
136
+ withoutTitle: 'Aceasta este o diagramă'
137
+ },
138
+ series: {
139
+ single: {
140
+ prefix: '',
141
+ withName: ' de tipul {seriesType} denumită {seriesName}.',
142
+ withoutName: ' de tipul {seriesType}.'
143
+ },
144
+ multiple: {
145
+ prefix: '. Este alcătuită din {seriesCount} serii.',
146
+ withName: ' Seria {seriesId} este de tipul {seriesType} și reprezintă {seriesName}.',
147
+ withoutName: ' Seria {seriesId} este de tipul {seriesType}.',
148
+ separator: {
149
+ middle: '',
150
+ end: ''
151
+ }
152
+ }
153
+ },
154
+ data: {
155
+ allData: 'Datele sunt: ',
156
+ partialData: 'Primele {displayCnt} elemente sunt: ',
157
+ withName: 'datele pentru {name} sunt {value}',
158
+ withoutName: '{value}',
159
+ separator: {
160
+ middle: ', ',
161
+ end: '. '
162
+ }
163
+ }
164
+ }
165
+ };
166
+
167
+ echarts.registerLocale('RO', localeObj);
168
+
169
+ });
@@ -0,0 +1,174 @@
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: Russian.
45
+ */
46
+
47
+ var localeObj = {
48
+ time: {
49
+ month: [
50
+ 'Январь', 'Февраль', 'Март', 'Апрель', 'Май', 'Июнь',
51
+ 'Июль', 'Август', 'Сентябрь', 'Октябрь', 'Ноябрь', 'Декабрь'
52
+ ],
53
+ monthAbbr: [
54
+ 'Янв', 'Фев', 'Мар', 'Апр', 'Май', 'Июн',
55
+ 'Июл', 'Авг', 'Сен', 'Окт', 'Ноя', 'Дек'
56
+ ],
57
+ dayOfWeek: [
58
+ 'Воскресенье', 'Понедельник', 'Вторник', 'Среда', 'Четверг', 'Пятница', 'Суббота'
59
+ ],
60
+ dayOfWeekAbbr: [
61
+ 'вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'
62
+ ]
63
+ },
64
+ legend: {
65
+ selector: {
66
+ all: 'Всё',
67
+ inverse: 'Обратить'
68
+ }
69
+ },
70
+ toolbox: {
71
+ brush: {
72
+ title: {
73
+ rect: 'Выделить область',
74
+ polygon: 'Инструмент «Лассо»',
75
+ lineX: 'Горизонтальное выделение',
76
+ lineY: 'Вертикальное выделение',
77
+ keep: 'Оставить выбранное',
78
+ clear: 'Очистить выбранное'
79
+ }
80
+ },
81
+ dataView: {
82
+ title: 'Данные',
83
+ lang: ['Данные', 'Закрыть', 'Обновить']
84
+ },
85
+ dataZoom: {
86
+ title: {
87
+ zoom: 'Увеличить',
88
+ back: 'Сбросить увеличение'
89
+ }
90
+ },
91
+ magicType: {
92
+ title: {
93
+ line: 'Переключиться на линейный график',
94
+ bar: 'Переключиться на столбчатую диаграмму',
95
+ stack: 'Стопка',
96
+ tiled: 'Плитка'
97
+ }
98
+ },
99
+ restore: {
100
+ title: 'Восстановить'
101
+ },
102
+ saveAsImage: {
103
+ title: 'Сохранить картинку',
104
+ lang: ['Правый клик, чтобы сохранить картинку']
105
+ }
106
+ },
107
+ series: {
108
+ typeNames: {
109
+ pie: 'Круговая диаграмма',
110
+ bar: 'Столбчатая диаграмма',
111
+ line: 'Линейный график',
112
+ scatter: 'Точечная диаграмма',
113
+ effectScatter: 'Точечная диаграмма с волнами',
114
+ radar: 'Лепестковая диаграмма',
115
+ tree: 'Дерево',
116
+ treemap: 'Плоское дерево',
117
+ boxplot: 'Ящик с усами',
118
+ candlestick: 'Свечной график',
119
+ k: 'График К-линий',
120
+ heatmap: 'Тепловая карта',
121
+ map: 'Карта',
122
+ parallel: 'Диаграмма параллельных координат',
123
+ lines: 'Линейный граф',
124
+ graph: 'Граф отношений',
125
+ sankey: 'Диаграмма Санкей',
126
+ funnel: 'Воронкообразная диаграмма',
127
+ gauge: 'Шкала',
128
+ pictorialBar: 'Столбец-картинка',
129
+ themeRiver: 'Тематическая река',
130
+ sunburst: 'Солнечные лучи'
131
+ }
132
+ },
133
+ aria: {
134
+ general: {
135
+ withTitle: 'Это график, показывающий "{title}"',
136
+ withoutTitle: 'Это график'
137
+ },
138
+ series: {
139
+ single: {
140
+ prefix: '',
141
+ withName: ' с типом {seriesType} и именем {seriesName}.',
142
+ withoutName: ' с типом {seriesType}.'
143
+ },
144
+ multiple: {
145
+ prefix: '. Он состоит из {seriesCount} серий.',
146
+ withName:
147
+ ' Серия {seriesId} имеет тип {seriesType} и показывает {seriesName}.',
148
+ withoutName: ' Серия {seriesId} имеет тип {seriesType}.',
149
+ separator: {
150
+ middle: '',
151
+ end: ''
152
+ }
153
+ }
154
+ },
155
+ data: {
156
+ allData: 'Данные таковы: ',
157
+ partialData: 'Первые {displayCnt} элементов: ',
158
+ withName: 'значение для {name} — {value}',
159
+ withoutName: '{value}',
160
+ separator: {
161
+ middle: ', ',
162
+ end: '. '
163
+ }
164
+ }
165
+ }
166
+ };
167
+
168
+ for (var key in localeObj) {
169
+ if (localeObj.hasOwnProperty(key)) {
170
+ exports[key] = localeObj[key];
171
+ }
172
+ }
173
+
174
+ });