Skip to content

Commit 05b54a0

Browse files
Merge pull request #32 from railsjazz/new_echats_version
new v 6.0
2 parents 254f299 + 99d17c2 commit 05b54a0

File tree

16 files changed

+1616
-264
lines changed

16 files changed

+1616
-264
lines changed

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
rails_charts (0.0.8)
4+
rails_charts (0.0.9)
55
rails
66

77
GEM

app/assets/javascripts/echarts.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/assets/javascripts/echarts/extension/bmap.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/assets/javascripts/echarts/extension/dataTool.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 175 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,175 @@
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: Greek.
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: 'Διάγραμμα Sankey',
126+
funnel: 'Διάγραμμα χωνιού',
127+
gauge: 'Διάγραμμα μετρητή',
128+
pictorialBar: 'Εικονογραφικό ραβδογράφημα',
129+
themeRiver: 'Γράφημα Ροής Κατηγοριών',
130+
sunburst: 'Γράφημα Ιεραρχικών Δακτυλίων',
131+
custom: 'Προσαρμοσμένο διάγραμμα',
132+
chart: 'Διάγραμμα'
133+
}
134+
},
135+
aria: {
136+
general: {
137+
withTitle: 'Αυτό είναι ένα διάγραμμα με τίτλο "{title}"',
138+
withoutTitle: 'Αυτό είναι ένα διάγραμμα'
139+
},
140+
series: {
141+
single: {
142+
prefix: '',
143+
withName: ' με τύπο {seriesType} και όνομα {seriesName}.',
144+
withoutName: ' με τύπο {seriesType}.'
145+
},
146+
multiple: {
147+
prefix: '. Αποτελείται από {seriesCount} σειρές δεδομένων.',
148+
withName: ' Η σειρά {seriesId} είναι {seriesType} με όνομα {seriesName}.',
149+
withoutName: ' Η σειρά {seriesId} είναι {seriesType}.',
150+
separator: {
151+
middle: '',
152+
end: ''
153+
}
154+
}
155+
},
156+
data: {
157+
allData: 'Τα δεδομένα είναι τα εξής:',
158+
partialData: 'Τα πρώτα {displayCnt} στοιχεία είναι: ',
159+
withName: 'τα δεδομένα για {name} είναι {value}',
160+
withoutName: '{value}',
161+
separator: {
162+
middle: ', ',
163+
end: '. '
164+
}
165+
}
166+
}
167+
};
168+
169+
for (var key in localeObj) {
170+
if (localeObj.hasOwnProperty(key)) {
171+
exports[key] = localeObj[key];
172+
}
173+
}
174+
175+
});
Lines changed: 171 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,171 @@
1+
2+
3+
/*
4+
* Licensed to the Apache Software Foundation (ASF) under one
5+
* or more contributor license agreements. See the NOTICE file
6+
* distributed with this work for additional information
7+
* regarding copyright ownership. The ASF licenses this file
8+
* to you under the Apache License, Version 2.0 (the
9+
* "License"); you may not use this file except in compliance
10+
* with the License. You may obtain a copy of the License at
11+
*
12+
* http://www.apache.org/licenses/LICENSE-2.0
13+
*
14+
* Unless required by applicable law or agreed to in writing,
15+
* software distributed under the License is distributed on an
16+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17+
* KIND, either express or implied. See the License for the
18+
* specific language governing permissions and limitations
19+
* under the License.
20+
*/
21+
22+
23+
/**
24+
* AUTO-GENERATED FILE. DO NOT MODIFY.
25+
*/
26+
(function(root, factory) {
27+
if (typeof define === 'function' && define.amd) {
28+
// AMD. Register as an anonymous module.
29+
define(['exports', 'echarts'], factory);
30+
} else if (
31+
typeof exports === 'object' &&
32+
typeof exports.nodeName !== 'string'
33+
) {
34+
// CommonJS
35+
factory(exports, require('echarts/lib/echarts'));
36+
} else {
37+
// Browser globals
38+
factory({}, root.echarts);
39+
}
40+
})(this, function(exports, echarts) {
41+
42+
43+
/**
44+
* Language: Greek.
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: 'Διάγραμμα Sankey',
126+
funnel: 'Διάγραμμα χωνιού',
127+
gauge: 'Διάγραμμα μετρητή',
128+
pictorialBar: 'Εικονογραφικό ραβδογράφημα',
129+
themeRiver: 'Γράφημα Ροής Κατηγοριών',
130+
sunburst: 'Γράφημα Ιεραρχικών Δακτυλίων',
131+
custom: 'Προσαρμοσμένο διάγραμμα',
132+
chart: 'Διάγραμμα'
133+
}
134+
},
135+
aria: {
136+
general: {
137+
withTitle: 'Αυτό είναι ένα διάγραμμα με τίτλο "{title}"',
138+
withoutTitle: 'Αυτό είναι ένα διάγραμμα'
139+
},
140+
series: {
141+
single: {
142+
prefix: '',
143+
withName: ' με τύπο {seriesType} και όνομα {seriesName}.',
144+
withoutName: ' με τύπο {seriesType}.'
145+
},
146+
multiple: {
147+
prefix: '. Αποτελείται από {seriesCount} σειρές δεδομένων.',
148+
withName: ' Η σειρά {seriesId} είναι {seriesType} με όνομα {seriesName}.',
149+
withoutName: ' Η σειρά {seriesId} είναι {seriesType}.',
150+
separator: {
151+
middle: '',
152+
end: ''
153+
}
154+
}
155+
},
156+
data: {
157+
allData: 'Τα δεδομένα είναι τα εξής:',
158+
partialData: 'Τα πρώτα {displayCnt} στοιχεία είναι: ',
159+
withName: 'τα δεδομένα για {name} είναι {value}',
160+
withoutName: '{value}',
161+
separator: {
162+
middle: ', ',
163+
end: '. '
164+
}
165+
}
166+
}
167+
};
168+
169+
echarts.registerLocale('EL', localeObj);
170+
171+
});

0 commit comments

Comments
 (0)