rails_charts 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.md +487 -0
- data/Rakefile +3 -0
- data/lib/rails_charts/area_chart.rb +31 -0
- data/lib/rails_charts/bar_chart.rb +25 -0
- data/lib/rails_charts/base_chart.rb +123 -0
- data/lib/rails_charts/calendar_chart.rb +36 -0
- data/lib/rails_charts/candlestick_chart.rb +25 -0
- data/lib/rails_charts/custom_chart.rb +14 -0
- data/lib/rails_charts/donut_chart.rb +36 -0
- data/lib/rails_charts/engine.rb +33 -0
- data/lib/rails_charts/funnel_chart.rb +30 -0
- data/lib/rails_charts/gauge_chart.rb +30 -0
- data/lib/rails_charts/helpers.rb +83 -0
- data/lib/rails_charts/javascript.rb +17 -0
- data/lib/rails_charts/line_chart.rb +78 -0
- data/lib/rails_charts/parallel_chart.rb +30 -0
- data/lib/rails_charts/pie_chart.rb +55 -0
- data/lib/rails_charts/radar_chart.rb +38 -0
- data/lib/rails_charts/ruby_ext.rb +28 -0
- data/lib/rails_charts/sankey_chart.rb +31 -0
- data/lib/rails_charts/scatter_chart.rb +34 -0
- data/lib/rails_charts/stacked_bar_chart.rb +13 -0
- data/lib/rails_charts/version.rb +3 -0
- data/lib/rails_charts.rb +43 -0
- data/vendor/assets/rails_charts/echarts.min.js +45 -0
- data/vendor/assets/rails_charts/extension/bmap.js +413 -0
- data/vendor/assets/rails_charts/extension/bmap.js.map +1 -0
- data/vendor/assets/rails_charts/extension/bmap.min.js +22 -0
- data/vendor/assets/rails_charts/extension/dataTool.js +436 -0
- data/vendor/assets/rails_charts/extension/dataTool.js.map +1 -0
- data/vendor/assets/rails_charts/extension/dataTool.min.js +22 -0
- data/vendor/assets/rails_charts/i18n/langCS-obj.js +172 -0
- data/vendor/assets/rails_charts/i18n/langCS.js +168 -0
- data/vendor/assets/rails_charts/i18n/langDE-obj.js +172 -0
- data/vendor/assets/rails_charts/i18n/langDE.js +168 -0
- data/vendor/assets/rails_charts/i18n/langEN-obj.js +173 -0
- data/vendor/assets/rails_charts/i18n/langEN.js +169 -0
- data/vendor/assets/rails_charts/i18n/langES-obj.js +111 -0
- data/vendor/assets/rails_charts/i18n/langES.js +107 -0
- data/vendor/assets/rails_charts/i18n/langFI-obj.js +111 -0
- data/vendor/assets/rails_charts/i18n/langFI.js +107 -0
- data/vendor/assets/rails_charts/i18n/langFR-obj.js +173 -0
- data/vendor/assets/rails_charts/i18n/langFR.js +169 -0
- data/vendor/assets/rails_charts/i18n/langIT-obj.js +173 -0
- data/vendor/assets/rails_charts/i18n/langIT.js +169 -0
- data/vendor/assets/rails_charts/i18n/langJA-obj.js +173 -0
- data/vendor/assets/rails_charts/i18n/langJA.js +169 -0
- data/vendor/assets/rails_charts/i18n/langKO-obj.js +173 -0
- data/vendor/assets/rails_charts/i18n/langKO.js +169 -0
- data/vendor/assets/rails_charts/i18n/langPL-obj.js +173 -0
- data/vendor/assets/rails_charts/i18n/langPL.js +169 -0
- data/vendor/assets/rails_charts/i18n/langPT-br-obj.js +174 -0
- data/vendor/assets/rails_charts/i18n/langPT-br.js +170 -0
- data/vendor/assets/rails_charts/i18n/langRO-obj.js +173 -0
- data/vendor/assets/rails_charts/i18n/langRO.js +169 -0
- data/vendor/assets/rails_charts/i18n/langRU-obj.js +174 -0
- data/vendor/assets/rails_charts/i18n/langRU.js +170 -0
- data/vendor/assets/rails_charts/i18n/langSI-obj.js +172 -0
- data/vendor/assets/rails_charts/i18n/langSI.js +168 -0
- data/vendor/assets/rails_charts/i18n/langTH-obj.js +111 -0
- data/vendor/assets/rails_charts/i18n/langTH.js +107 -0
- data/vendor/assets/rails_charts/i18n/langZH-obj.js +168 -0
- data/vendor/assets/rails_charts/i18n/langZH.js +164 -0
- data/vendor/assets/rails_charts/theme/azul.js +163 -0
- data/vendor/assets/rails_charts/theme/bee-inspired.js +178 -0
- data/vendor/assets/rails_charts/theme/blue.js +178 -0
- data/vendor/assets/rails_charts/theme/caravan.js +178 -0
- data/vendor/assets/rails_charts/theme/carp.js +163 -0
- data/vendor/assets/rails_charts/theme/cool.js +180 -0
- data/vendor/assets/rails_charts/theme/dark-blue.js +164 -0
- data/vendor/assets/rails_charts/theme/dark-bold.js +164 -0
- data/vendor/assets/rails_charts/theme/dark-digerati.js +164 -0
- data/vendor/assets/rails_charts/theme/dark-fresh-cut.js +164 -0
- data/vendor/assets/rails_charts/theme/dark-mushroom.js +164 -0
- data/vendor/assets/rails_charts/theme/dark.js +224 -0
- data/vendor/assets/rails_charts/theme/eduardo.js +178 -0
- data/vendor/assets/rails_charts/theme/forest.js +163 -0
- data/vendor/assets/rails_charts/theme/fresh-cut.js +163 -0
- data/vendor/assets/rails_charts/theme/fruit.js +178 -0
- data/vendor/assets/rails_charts/theme/gray.js +220 -0
- data/vendor/assets/rails_charts/theme/green.js +222 -0
- data/vendor/assets/rails_charts/theme/helianthus.js +263 -0
- data/vendor/assets/rails_charts/theme/infographic.js +236 -0
- data/vendor/assets/rails_charts/theme/inspired.js +163 -0
- data/vendor/assets/rails_charts/theme/jazz.js +163 -0
- data/vendor/assets/rails_charts/theme/london.js +163 -0
- data/vendor/assets/rails_charts/theme/macarons.js +240 -0
- data/vendor/assets/rails_charts/theme/macarons2.js +249 -0
- data/vendor/assets/rails_charts/theme/mint.js +155 -0
- data/vendor/assets/rails_charts/theme/red-velvet.js +163 -0
- data/vendor/assets/rails_charts/theme/red.js +225 -0
- data/vendor/assets/rails_charts/theme/roma.js +119 -0
- data/vendor/assets/rails_charts/theme/royal.js +163 -0
- data/vendor/assets/rails_charts/theme/sakura.js +140 -0
- data/vendor/assets/rails_charts/theme/shine.js +177 -0
- data/vendor/assets/rails_charts/theme/tech-blue.js +180 -0
- data/vendor/assets/rails_charts/theme/vintage.js +63 -0
- 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: 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
|
+
echarts.registerLocale('RU', localeObj);
|
169
|
+
|
170
|
+
});
|
@@ -0,0 +1,172 @@
|
|
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: Slovenian.
|
45
|
+
*/
|
46
|
+
|
47
|
+
var localeObj = {
|
48
|
+
time: {
|
49
|
+
month: [
|
50
|
+
'Januar', 'Februar', 'Marec', 'April', 'Maj', 'Junij',
|
51
|
+
'Julij', 'Avgust', 'September', 'Oktober', 'November', 'December'
|
52
|
+
],
|
53
|
+
monthAbbr: [
|
54
|
+
'Jan', 'Feb', 'Mar', 'Apr', 'Maj', 'Jun',
|
55
|
+
'Jul', 'Avg', 'Sep', 'Okt', 'Nov', 'Dec'
|
56
|
+
],
|
57
|
+
dayOfWeek: [
|
58
|
+
'Nedelja', 'Ponedeljek', 'Torek', 'Sreda', 'Četrtek', 'Petek', 'Sobota'
|
59
|
+
],
|
60
|
+
dayOfWeekAbbr: [
|
61
|
+
'Ned', 'Pon', 'Tor', 'Sre', 'Čet', 'Pet', 'Sob'
|
62
|
+
]
|
63
|
+
},
|
64
|
+
legend: {
|
65
|
+
selector: {
|
66
|
+
all: 'Vsi',
|
67
|
+
inverse: 'Obratno'
|
68
|
+
}
|
69
|
+
},
|
70
|
+
toolbox: {
|
71
|
+
brush: {
|
72
|
+
title: {
|
73
|
+
rect: 'Izbor s pravokotnikom',
|
74
|
+
polygon: 'Izbor z lasom',
|
75
|
+
lineX: 'Vodoravni izbor',
|
76
|
+
lineY: 'Navpični izbor',
|
77
|
+
keep: 'Ohrani izbor',
|
78
|
+
clear: 'Počisti izbor'
|
79
|
+
}
|
80
|
+
},
|
81
|
+
dataView: {
|
82
|
+
title: 'Pogled podatkov',
|
83
|
+
lang: ['Pogled podatkov', 'Zapri', 'Osveži']
|
84
|
+
},
|
85
|
+
dataZoom: {
|
86
|
+
title: {
|
87
|
+
zoom: 'Približaj',
|
88
|
+
back: 'Povrni velikost'
|
89
|
+
}
|
90
|
+
},
|
91
|
+
magicType: {
|
92
|
+
title: {
|
93
|
+
line: 'Preklopi na črtni grafikon',
|
94
|
+
bar: 'Preklopi na stolpčni grafikon',
|
95
|
+
stack: 'Naloži',
|
96
|
+
tiled: 'Drug ob drugem'
|
97
|
+
}
|
98
|
+
},
|
99
|
+
restore: {
|
100
|
+
title: 'Povrni'
|
101
|
+
},
|
102
|
+
saveAsImage: {
|
103
|
+
title: 'Shrani kot sliko',
|
104
|
+
lang: ['Z desnim klikom shrani sliko']
|
105
|
+
}
|
106
|
+
},
|
107
|
+
series: {
|
108
|
+
typeNames: {
|
109
|
+
pie: 'Tortni grafikon',
|
110
|
+
bar: 'Stolpčni grafikon',
|
111
|
+
line: 'Črtni grafikon',
|
112
|
+
scatter: 'Raztreseni grafikon',
|
113
|
+
effectScatter: 'Raztreseni grafikon z efektom',
|
114
|
+
radar: 'Radarski grafikon',
|
115
|
+
tree: 'Drevo',
|
116
|
+
treemap: 'Drevesna struktura',
|
117
|
+
boxplot: 'Boxplot grafikon',
|
118
|
+
candlestick: 'Svečni grafikon',
|
119
|
+
k: 'K line grafikon',
|
120
|
+
heatmap: 'Toplotni zemljevid',
|
121
|
+
map: 'Zemljevid',
|
122
|
+
parallel: 'Zemljevid vzporednih koordinat',
|
123
|
+
lines: 'Črtni grafikon',
|
124
|
+
graph: 'Grafikon razmerij',
|
125
|
+
sankey: 'Sankey grafikon',
|
126
|
+
funnel: 'Lijakasti grafikon',
|
127
|
+
gauge: 'Števec',
|
128
|
+
pictorialBar: 'Stolpčni grafikon s podobo',
|
129
|
+
themeRiver: 'Tematski rečni grafikon',
|
130
|
+
sunburst: 'Večnivojski tortni grafikon'
|
131
|
+
}
|
132
|
+
},
|
133
|
+
aria: {
|
134
|
+
general: {
|
135
|
+
withTitle: 'To je grafikon z naslovom "{title}"',
|
136
|
+
withoutTitle: 'To je grafikon'
|
137
|
+
},
|
138
|
+
series: {
|
139
|
+
single: {
|
140
|
+
prefix: '',
|
141
|
+
withName: ' tipa {seriesType} imenovan {seriesName}.',
|
142
|
+
withoutName: ' tipa {seriesType}.'
|
143
|
+
},
|
144
|
+
multiple: {
|
145
|
+
prefix: '. Sestavljen iz {seriesCount} nizov.',
|
146
|
+
withName: ' Niz {seriesId} je tipa {seriesType} z nazivom {seriesName}.',
|
147
|
+
withoutName: ' Niz {seriesId} je tipa {seriesType}.',
|
148
|
+
separator: {
|
149
|
+
middle: '',
|
150
|
+
end: ''
|
151
|
+
}
|
152
|
+
}
|
153
|
+
},
|
154
|
+
data: {
|
155
|
+
allData: 'Podatki so naslednji: ',
|
156
|
+
partialData: 'Prvih {displayCnt} elementov je: ',
|
157
|
+
withName: 'podatek za {name} je {value}',
|
158
|
+
withoutName: '{value}',
|
159
|
+
separator: {
|
160
|
+
middle: ', ',
|
161
|
+
end: '. '
|
162
|
+
}
|
163
|
+
}
|
164
|
+
}
|
165
|
+
};
|
166
|
+
for (var key in localeObj) {
|
167
|
+
if (localeObj.hasOwnProperty(key)) {
|
168
|
+
exports[key] = localeObj[key];
|
169
|
+
}
|
170
|
+
}
|
171
|
+
|
172
|
+
});
|
@@ -0,0 +1,168 @@
|
|
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: Slovenian.
|
45
|
+
*/
|
46
|
+
|
47
|
+
var localeObj = {
|
48
|
+
time: {
|
49
|
+
month: [
|
50
|
+
'Januar', 'Februar', 'Marec', 'April', 'Maj', 'Junij',
|
51
|
+
'Julij', 'Avgust', 'September', 'Oktober', 'November', 'December'
|
52
|
+
],
|
53
|
+
monthAbbr: [
|
54
|
+
'Jan', 'Feb', 'Mar', 'Apr', 'Maj', 'Jun',
|
55
|
+
'Jul', 'Avg', 'Sep', 'Okt', 'Nov', 'Dec'
|
56
|
+
],
|
57
|
+
dayOfWeek: [
|
58
|
+
'Nedelja', 'Ponedeljek', 'Torek', 'Sreda', 'Četrtek', 'Petek', 'Sobota'
|
59
|
+
],
|
60
|
+
dayOfWeekAbbr: [
|
61
|
+
'Ned', 'Pon', 'Tor', 'Sre', 'Čet', 'Pet', 'Sob'
|
62
|
+
]
|
63
|
+
},
|
64
|
+
legend: {
|
65
|
+
selector: {
|
66
|
+
all: 'Vsi',
|
67
|
+
inverse: 'Obratno'
|
68
|
+
}
|
69
|
+
},
|
70
|
+
toolbox: {
|
71
|
+
brush: {
|
72
|
+
title: {
|
73
|
+
rect: 'Izbor s pravokotnikom',
|
74
|
+
polygon: 'Izbor z lasom',
|
75
|
+
lineX: 'Vodoravni izbor',
|
76
|
+
lineY: 'Navpični izbor',
|
77
|
+
keep: 'Ohrani izbor',
|
78
|
+
clear: 'Počisti izbor'
|
79
|
+
}
|
80
|
+
},
|
81
|
+
dataView: {
|
82
|
+
title: 'Pogled podatkov',
|
83
|
+
lang: ['Pogled podatkov', 'Zapri', 'Osveži']
|
84
|
+
},
|
85
|
+
dataZoom: {
|
86
|
+
title: {
|
87
|
+
zoom: 'Približaj',
|
88
|
+
back: 'Povrni velikost'
|
89
|
+
}
|
90
|
+
},
|
91
|
+
magicType: {
|
92
|
+
title: {
|
93
|
+
line: 'Preklopi na črtni grafikon',
|
94
|
+
bar: 'Preklopi na stolpčni grafikon',
|
95
|
+
stack: 'Naloži',
|
96
|
+
tiled: 'Drug ob drugem'
|
97
|
+
}
|
98
|
+
},
|
99
|
+
restore: {
|
100
|
+
title: 'Povrni'
|
101
|
+
},
|
102
|
+
saveAsImage: {
|
103
|
+
title: 'Shrani kot sliko',
|
104
|
+
lang: ['Z desnim klikom shrani sliko']
|
105
|
+
}
|
106
|
+
},
|
107
|
+
series: {
|
108
|
+
typeNames: {
|
109
|
+
pie: 'Tortni grafikon',
|
110
|
+
bar: 'Stolpčni grafikon',
|
111
|
+
line: 'Črtni grafikon',
|
112
|
+
scatter: 'Raztreseni grafikon',
|
113
|
+
effectScatter: 'Raztreseni grafikon z efektom',
|
114
|
+
radar: 'Radarski grafikon',
|
115
|
+
tree: 'Drevo',
|
116
|
+
treemap: 'Drevesna struktura',
|
117
|
+
boxplot: 'Boxplot grafikon',
|
118
|
+
candlestick: 'Svečni grafikon',
|
119
|
+
k: 'K line grafikon',
|
120
|
+
heatmap: 'Toplotni zemljevid',
|
121
|
+
map: 'Zemljevid',
|
122
|
+
parallel: 'Zemljevid vzporednih koordinat',
|
123
|
+
lines: 'Črtni grafikon',
|
124
|
+
graph: 'Grafikon razmerij',
|
125
|
+
sankey: 'Sankey grafikon',
|
126
|
+
funnel: 'Lijakasti grafikon',
|
127
|
+
gauge: 'Števec',
|
128
|
+
pictorialBar: 'Stolpčni grafikon s podobo',
|
129
|
+
themeRiver: 'Tematski rečni grafikon',
|
130
|
+
sunburst: 'Večnivojski tortni grafikon'
|
131
|
+
}
|
132
|
+
},
|
133
|
+
aria: {
|
134
|
+
general: {
|
135
|
+
withTitle: 'To je grafikon z naslovom "{title}"',
|
136
|
+
withoutTitle: 'To je grafikon'
|
137
|
+
},
|
138
|
+
series: {
|
139
|
+
single: {
|
140
|
+
prefix: '',
|
141
|
+
withName: ' tipa {seriesType} imenovan {seriesName}.',
|
142
|
+
withoutName: ' tipa {seriesType}.'
|
143
|
+
},
|
144
|
+
multiple: {
|
145
|
+
prefix: '. Sestavljen iz {seriesCount} nizov.',
|
146
|
+
withName: ' Niz {seriesId} je tipa {seriesType} z nazivom {seriesName}.',
|
147
|
+
withoutName: ' Niz {seriesId} je tipa {seriesType}.',
|
148
|
+
separator: {
|
149
|
+
middle: '',
|
150
|
+
end: ''
|
151
|
+
}
|
152
|
+
}
|
153
|
+
},
|
154
|
+
data: {
|
155
|
+
allData: 'Podatki so naslednji: ',
|
156
|
+
partialData: 'Prvih {displayCnt} elementov je: ',
|
157
|
+
withName: 'podatek za {name} je {value}',
|
158
|
+
withoutName: '{value}',
|
159
|
+
separator: {
|
160
|
+
middle: ', ',
|
161
|
+
end: '. '
|
162
|
+
}
|
163
|
+
}
|
164
|
+
}
|
165
|
+
};
|
166
|
+
echarts.registerLocale('SI', localeObj);
|
167
|
+
|
168
|
+
});
|
@@ -0,0 +1,111 @@
|
|
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
|
+
var localeObj = {
|
44
|
+
time: {
|
45
|
+
month: [
|
46
|
+
'มกราคม', 'กุมภาพันธ์', 'มีนาคม', 'เมษายน', 'พฤษภาคม', 'มิถุนายน',
|
47
|
+
'กรกฎาคม', 'สิงหาคม', 'กันยายน', 'ตุลาคม', 'พฤศจิกายน', 'ธันวาคม'
|
48
|
+
],
|
49
|
+
monthAbbr: [
|
50
|
+
'ม.ค.', 'ก.พ.', 'มี.ค.', 'เม.ย.', 'พ.ค.', 'มิ.ย.',
|
51
|
+
'ก.ค.', 'ส.ค.', 'ก.ย.', 'ต.ค.', 'พ.ย.', 'ธ.ค.'
|
52
|
+
],
|
53
|
+
dayOfWeek: [
|
54
|
+
'วันอาทิตย์', 'วันจันทร์', 'วันอังคาร', 'วันพุธ', 'วันพฤหัสบดี', 'วันศุกร์', 'วันเสาร์'
|
55
|
+
],
|
56
|
+
dayOfWeekAbbr: [
|
57
|
+
'อา.', 'จ.', 'อ.', 'พ.', 'พฤ.', 'ศ.', 'ส.'
|
58
|
+
]
|
59
|
+
},
|
60
|
+
legend: {
|
61
|
+
selector: {
|
62
|
+
all: 'ทั้งหมด',
|
63
|
+
inverse: 'ผกผัน'
|
64
|
+
}
|
65
|
+
},
|
66
|
+
toolbox: {
|
67
|
+
brush: {
|
68
|
+
title: {
|
69
|
+
rect: 'ตัวเลือกแบบกล่อง',
|
70
|
+
polygon: 'ตัวเลือกแบบบ่วงบาศ',
|
71
|
+
lineX: 'ตัวเลือกแบบแนวนอน',
|
72
|
+
lineY: 'ตัวเลือกแบบแนวตั้ง',
|
73
|
+
keep: 'บันทึกตัวเลือก',
|
74
|
+
clear: 'ล้างตัวเลือก'
|
75
|
+
}
|
76
|
+
},
|
77
|
+
dataView: {
|
78
|
+
title: 'มุมมองข้อมูล',
|
79
|
+
lang: ['มุมมองข้อมูล', 'ปิด', 'รีเฟรช']
|
80
|
+
},
|
81
|
+
dataZoom: {
|
82
|
+
title: {
|
83
|
+
zoom: 'ซูม',
|
84
|
+
back: 'ตั้งซูมใหม่'
|
85
|
+
}
|
86
|
+
},
|
87
|
+
magicType: {
|
88
|
+
title: {
|
89
|
+
line: 'สวิตซ์แบบแผนภาพเส้น',
|
90
|
+
bar: 'สวิตซ์แบบแผนภาพแท่ง',
|
91
|
+
stack: 'กองไว้',
|
92
|
+
tiled: 'แยกไว้'
|
93
|
+
}
|
94
|
+
},
|
95
|
+
restore: {
|
96
|
+
title: 'ตั้งค่าใหม่'
|
97
|
+
},
|
98
|
+
saveAsImage: {
|
99
|
+
title: 'บันทึกไปยังรูปภาพ',
|
100
|
+
lang: ['คลิกขวาเพื่อบันทึกรูปภาพ']
|
101
|
+
}
|
102
|
+
}
|
103
|
+
};
|
104
|
+
|
105
|
+
for (var key in localeObj) {
|
106
|
+
if (localeObj.hasOwnProperty(key)) {
|
107
|
+
exports[key] = localeObj[key];
|
108
|
+
}
|
109
|
+
}
|
110
|
+
|
111
|
+
});
|