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: Italian.
45
+ */
46
+
47
+ var localeObj = {
48
+ time: {
49
+ month: [
50
+ 'Gennaio', 'Febbraio', 'Marzo', 'Aprile', 'Maggio', 'Giugno',
51
+ 'Luglio', 'Agosto', 'Settembre', 'Ottobre', 'Novembre', 'Dicembre'
52
+ ],
53
+ monthAbbr: [
54
+ 'Gen', 'Feb', 'Mar', 'Apr', 'Mag', 'Giu',
55
+ 'Lug', 'Ago', 'Set', 'Ott', 'Nov', 'Dic'
56
+ ],
57
+ dayOfWeek: [
58
+ 'Domenica', 'Lunedì', 'Martedì', 'Mercoledì', 'Giovedì', 'Venerdì', 'Sabato'
59
+ ],
60
+ dayOfWeekAbbr: [
61
+ 'Dom', 'Lun', 'Mar', 'Mer', 'Gio', 'Ven', 'Sab'
62
+ ]
63
+ },
64
+ legend: {
65
+ selector: {
66
+ all: 'Tutti',
67
+ inverse: 'Inverso'
68
+ }
69
+ },
70
+ toolbox: {
71
+ brush: {
72
+ title: {
73
+ rect: 'Selezione rettangolare',
74
+ polygon: 'Selezione lazo',
75
+ lineX: 'Selezione orizzontale',
76
+ lineY: 'Selezione verticale',
77
+ keep: 'Mantieni selezione',
78
+ clear: 'Rimuovi selezione'
79
+ }
80
+ },
81
+ dataView: {
82
+ title: 'Visualizzazione dati',
83
+ lang: ['Visualizzazione dati', 'Chiudi', 'Aggiorna']
84
+ },
85
+ dataZoom: {
86
+ title: {
87
+ zoom: 'Zoom',
88
+ back: 'Resetta zoom'
89
+ }
90
+ },
91
+ magicType: {
92
+ title: {
93
+ line: 'Passa al grafico a linee',
94
+ bar: 'Passa al grafico a barre',
95
+ stack: 'Pila',
96
+ tiled: 'Piastrella'
97
+ }
98
+ },
99
+ restore: {
100
+ title: 'Ripristina'
101
+ },
102
+ saveAsImage: {
103
+ title: 'Salva come immagine',
104
+ lang: ['Tasto destro per salvare l\'immagine']
105
+ }
106
+ },
107
+ series: {
108
+ typeNames: {
109
+ pie: 'Grafico a torta',
110
+ bar: 'Grafico a barre',
111
+ line: 'Grafico a linee',
112
+ scatter: 'Grafico a dispersione',
113
+ effectScatter: 'Ripple scatter plot',
114
+ radar: 'Grafico radar',
115
+ tree: 'Albero',
116
+ treemap: 'Treemap',
117
+ boxplot: 'Diagramma a scatola e baffi',
118
+ candlestick: 'Candlestick',
119
+ k: 'K line chart',
120
+ heatmap: 'Mappa di calore',
121
+ map: 'Mappa',
122
+ parallel: 'Grafico a coordinate parallele',
123
+ lines: 'Grafico a linee',
124
+ graph: 'Diagramma delle relazioni',
125
+ sankey: 'Diagramma di Sankey',
126
+ funnel: 'Grafico a imbuto',
127
+ gauge: 'Gauge',
128
+ pictorialBar: 'Pictorial bar',
129
+ themeRiver: 'Theme River Map',
130
+ sunburst: 'Radiale'
131
+ }
132
+ },
133
+ aria: {
134
+ general: {
135
+ withTitle: 'Questo è un grafico su "{title}"',
136
+ withoutTitle: 'Questo è un grafico'
137
+ },
138
+ series: {
139
+ single: {
140
+ prefix: '',
141
+ withName: ' con il tipo {seriesType} denominato {seriesName}.',
142
+ withoutName: ' con il tipo {seriesType}.'
143
+ },
144
+ multiple: {
145
+ prefix: '. È composto da {seriesCount} serie.',
146
+ withName: ' La {seriesId} serie è un {seriesType} denominata {seriesName}.',
147
+ withoutName: ' la {seriesId} serie è un {seriesType}.',
148
+ separator: {
149
+ middle: '',
150
+ end: ''
151
+ }
152
+ }
153
+ },
154
+ data: {
155
+ allData: 'I dati sono come segue: ',
156
+ partialData: 'I primi {displayCnt} elementi sono: ',
157
+ withName: 'il dato per {name} è {value}',
158
+ withoutName: '{value}',
159
+ separator: {
160
+ middle: ', ',
161
+ end: '. '
162
+ }
163
+ }
164
+ }
165
+ };
166
+
167
+ echarts.registerLocale('IT', 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: Japanese.
45
+ */
46
+
47
+ var localeObj = {
48
+ time: {
49
+ month: [
50
+ '一月', '二月', '三月', '四月', '五月', '六月',
51
+ '七月', '八月', '九月', '十月', '十一月', '十二月'
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: 'Kチャート',
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}で、',
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
+ 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: Japanese.
45
+ */
46
+
47
+ var localeObj = {
48
+ time: {
49
+ month: [
50
+ '一月', '二月', '三月', '四月', '五月', '六月',
51
+ '七月', '八月', '九月', '十月', '十一月', '十二月'
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: 'Kチャート',
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}で、',
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('JA', 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: 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
+ for (var key in localeObj) {
168
+ if (localeObj.hasOwnProperty(key)) {
169
+ exports[key] = localeObj[key];
170
+ }
171
+ }
172
+
173
+ });