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,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: Korean.
45
+ */
46
+
47
+ var localeObj = {
48
+ time: {
49
+ month: [
50
+ '1월', '2월', '3월', '4월', '5월', '6월',
51
+ '7월', '8월', '9월', '10월', '11월', '12월'
52
+ ],
53
+ monthAbbr: [
54
+ '1월', '2월', '3월', '4월', '5월', '6월',
55
+ '7월', '8월', '9월', '10월', '11월', '12월'
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: '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: ' {seriesId}번째 시리즈는 {seriesName}을 나타내는 {seriesType} representing.',
147
+ withoutName: ' {seriesId}번째 시리즈는 {seriesType}입니다.',
148
+ separator: {
149
+ middle: '',
150
+ end: ''
151
+ }
152
+ }
153
+ },
154
+ data: {
155
+ allData: '데이터: ',
156
+ partialData: '첫번째 {displayCnt} 아이템: ',
157
+ withName: '{name}의 데이터는 {value}',
158
+ withoutName: '{value}',
159
+ separator: {
160
+ middle: ', ',
161
+ end: '. '
162
+ }
163
+ }
164
+ }
165
+ };
166
+
167
+ echarts.registerLocale('KO', localeObj);
168
+
169
+ });
@@ -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: Polish
45
+ */
46
+
47
+ var localeObj = {
48
+ time: {
49
+ month: [
50
+ 'Styczeń', 'Luty', 'Marzec', 'Kwiecień', 'Maj', 'Czerwiec',
51
+ 'Lipiec', 'Sierpień', 'Wrzesień', 'Październik', 'Listopad', 'Grudzień'
52
+ ],
53
+ monthAbbr: [
54
+ 'Sty', 'Lut', 'Mar', 'Kwi', 'Maj', 'Cze',
55
+ 'Lip', 'Sie', 'Wrz', 'Paź', 'Lis', 'Gru'
56
+ ],
57
+ dayOfWeek: [
58
+ 'Niedziela', 'Poniedziałek', 'Wtorek', 'Środa', 'Czwartek', 'Piątek', 'Sobota'
59
+ ],
60
+ dayOfWeekAbbr: [
61
+ 'Nie', 'Pon', 'Wto', 'Śro', 'Czw', 'Pią', 'Sob'
62
+ ]
63
+ },
64
+ legend: {
65
+ selector: {
66
+ all: 'Wszystko',
67
+ inverse: 'Odwróć'
68
+ }
69
+ },
70
+ toolbox: {
71
+ brush: {
72
+ title: {
73
+ rect: 'Zaznaczenie prostokątne',
74
+ polygon: 'Zaznaczanie lasso',
75
+ lineX: 'Zaznaczenie poziome',
76
+ lineY: 'Zaznaczenie pionowe',
77
+ keep: 'Zachowaj zaznaczenie',
78
+ clear: 'Wyczyść zaznaczenie'
79
+ }
80
+ },
81
+ dataView: {
82
+ title: 'Widok danych',
83
+ lang: ['Widok danych', 'Zamknij', 'Odśwież']
84
+ },
85
+ dataZoom: {
86
+ title: {
87
+ zoom: 'Przybliżenie',
88
+ back: 'Resetuj przybliżenie'
89
+ }
90
+ },
91
+ magicType: {
92
+ title: {
93
+ line: 'Przełącz na wykres liniowy',
94
+ bar: 'Przełącz na wykres słupkowy',
95
+ stack: 'Przełącz na wykres słupkowy skumulowany',
96
+ tiled: 'Przełącz na kafelki'
97
+ }
98
+ },
99
+ restore: {
100
+ title: 'Przywróć'
101
+ },
102
+ saveAsImage: {
103
+ title: 'Zapisz jako obrazek',
104
+ lang: ['Kliknij prawym klawiszem myszy aby zapisać']
105
+ }
106
+ },
107
+ series: {
108
+ typeNames: {
109
+ pie: 'Wykres kołowy',
110
+ bar: 'Wykres słupkowy',
111
+ line: 'Wykres liniowy',
112
+ scatter: 'Wykres punktowy',
113
+ effectScatter: 'Wykres punktowy z efektem falowania',
114
+ radar: 'Wykres radarowy',
115
+ tree: 'Drzewo',
116
+ treemap: 'Mapa drzewa',
117
+ boxplot: 'Wykres pudełkowy',
118
+ candlestick: 'Wykres świecowy',
119
+ k: 'Wykres linii K',
120
+ heatmap: 'Mapa ciepła',
121
+ map: 'Mapa',
122
+ parallel: 'Wykres współrzędnych równoległych',
123
+ lines: 'Diagram linii',
124
+ graph: 'Graf relacji',
125
+ sankey: 'Wykres Sankeya',
126
+ funnel: 'Wykres lejkowy',
127
+ gauge: 'Wykres zegarowy',
128
+ pictorialBar: 'Wykres słupkowy obrazkowy',
129
+ themeRiver: 'Wykres rzeki tematycznej',
130
+ sunburst: 'Wykres hierarchiczny słonecznikowy'
131
+ }
132
+ },
133
+ aria: {
134
+ general: {
135
+ withTitle: 'To jest wykres dotyczący "{title}"',
136
+ withoutTitle: 'To jest wykres'
137
+ },
138
+ series: {
139
+ single: {
140
+ prefix: '',
141
+ withName: ' typu {seriesType} nazwana {seriesName}.',
142
+ withoutName: ' typu {seriesType}.'
143
+ },
144
+ multiple: {
145
+ prefix: '. Składający się z {seriesCount} serii danych.',
146
+ withName: ' Seria danych {seriesId} jest serią typu {seriesType} przedstawiającą {seriesName}.',
147
+ withoutName: ' Seria danych {seriesId} jest serią typu {seriesType}.',
148
+ separator: {
149
+ middle: '',
150
+ end: ''
151
+ }
152
+ }
153
+ },
154
+ data: {
155
+ allData: 'Dane są następujące: ',
156
+ partialData: 'Pierwszych {displayCnt} elementów to: ',
157
+ withName: 'dane dla {name} to {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: Polish
45
+ */
46
+
47
+ var localeObj = {
48
+ time: {
49
+ month: [
50
+ 'Styczeń', 'Luty', 'Marzec', 'Kwiecień', 'Maj', 'Czerwiec',
51
+ 'Lipiec', 'Sierpień', 'Wrzesień', 'Październik', 'Listopad', 'Grudzień'
52
+ ],
53
+ monthAbbr: [
54
+ 'Sty', 'Lut', 'Mar', 'Kwi', 'Maj', 'Cze',
55
+ 'Lip', 'Sie', 'Wrz', 'Paź', 'Lis', 'Gru'
56
+ ],
57
+ dayOfWeek: [
58
+ 'Niedziela', 'Poniedziałek', 'Wtorek', 'Środa', 'Czwartek', 'Piątek', 'Sobota'
59
+ ],
60
+ dayOfWeekAbbr: [
61
+ 'Nie', 'Pon', 'Wto', 'Śro', 'Czw', 'Pią', 'Sob'
62
+ ]
63
+ },
64
+ legend: {
65
+ selector: {
66
+ all: 'Wszystko',
67
+ inverse: 'Odwróć'
68
+ }
69
+ },
70
+ toolbox: {
71
+ brush: {
72
+ title: {
73
+ rect: 'Zaznaczenie prostokątne',
74
+ polygon: 'Zaznaczanie lasso',
75
+ lineX: 'Zaznaczenie poziome',
76
+ lineY: 'Zaznaczenie pionowe',
77
+ keep: 'Zachowaj zaznaczenie',
78
+ clear: 'Wyczyść zaznaczenie'
79
+ }
80
+ },
81
+ dataView: {
82
+ title: 'Widok danych',
83
+ lang: ['Widok danych', 'Zamknij', 'Odśwież']
84
+ },
85
+ dataZoom: {
86
+ title: {
87
+ zoom: 'Przybliżenie',
88
+ back: 'Resetuj przybliżenie'
89
+ }
90
+ },
91
+ magicType: {
92
+ title: {
93
+ line: 'Przełącz na wykres liniowy',
94
+ bar: 'Przełącz na wykres słupkowy',
95
+ stack: 'Przełącz na wykres słupkowy skumulowany',
96
+ tiled: 'Przełącz na kafelki'
97
+ }
98
+ },
99
+ restore: {
100
+ title: 'Przywróć'
101
+ },
102
+ saveAsImage: {
103
+ title: 'Zapisz jako obrazek',
104
+ lang: ['Kliknij prawym klawiszem myszy aby zapisać']
105
+ }
106
+ },
107
+ series: {
108
+ typeNames: {
109
+ pie: 'Wykres kołowy',
110
+ bar: 'Wykres słupkowy',
111
+ line: 'Wykres liniowy',
112
+ scatter: 'Wykres punktowy',
113
+ effectScatter: 'Wykres punktowy z efektem falowania',
114
+ radar: 'Wykres radarowy',
115
+ tree: 'Drzewo',
116
+ treemap: 'Mapa drzewa',
117
+ boxplot: 'Wykres pudełkowy',
118
+ candlestick: 'Wykres świecowy',
119
+ k: 'Wykres linii K',
120
+ heatmap: 'Mapa ciepła',
121
+ map: 'Mapa',
122
+ parallel: 'Wykres współrzędnych równoległych',
123
+ lines: 'Diagram linii',
124
+ graph: 'Graf relacji',
125
+ sankey: 'Wykres Sankeya',
126
+ funnel: 'Wykres lejkowy',
127
+ gauge: 'Wykres zegarowy',
128
+ pictorialBar: 'Wykres słupkowy obrazkowy',
129
+ themeRiver: 'Wykres rzeki tematycznej',
130
+ sunburst: 'Wykres hierarchiczny słonecznikowy'
131
+ }
132
+ },
133
+ aria: {
134
+ general: {
135
+ withTitle: 'To jest wykres dotyczący "{title}"',
136
+ withoutTitle: 'To jest wykres'
137
+ },
138
+ series: {
139
+ single: {
140
+ prefix: '',
141
+ withName: ' typu {seriesType} nazwana {seriesName}.',
142
+ withoutName: ' typu {seriesType}.'
143
+ },
144
+ multiple: {
145
+ prefix: '. Składający się z {seriesCount} serii danych.',
146
+ withName: ' Seria danych {seriesId} jest serią typu {seriesType} przedstawiającą {seriesName}.',
147
+ withoutName: ' Seria danych {seriesId} jest serią typu {seriesType}.',
148
+ separator: {
149
+ middle: '',
150
+ end: ''
151
+ }
152
+ }
153
+ },
154
+ data: {
155
+ allData: 'Dane są następujące: ',
156
+ partialData: 'Pierwszych {displayCnt} elementów to: ',
157
+ withName: 'dane dla {name} to {value}',
158
+ withoutName: '{value}',
159
+ separator: {
160
+ middle: ', ',
161
+ end: '. '
162
+ }
163
+ }
164
+ }
165
+ };
166
+
167
+ echarts.registerLocale('PL', 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: 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
+ for (var key in localeObj) {
169
+ if (localeObj.hasOwnProperty(key)) {
170
+ exports[key] = localeObj[key];
171
+ }
172
+ }
173
+
174
+ });