amcharts.rb 3.4.8.0 → 3.11.1.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. checksums.yaml +8 -8
  2. data/app/assets/javascripts/amcharts/helpers.js +12 -0
  3. data/app/assets/javascripts/amcharts/remote_json_provider.js +20 -3
  4. data/app/views/amcharts/_data_source.erb +7 -4
  5. data/app/views/amcharts/_immediate_data_load.erb +3 -0
  6. data/app/views/amcharts/chart_builder.erb +7 -2
  7. data/lib/amcharts/chart_builder.rb +8 -0
  8. data/lib/amcharts/version.rb +1 -1
  9. data/vendor/assets/javascripts/amcharts/amcharts.js +379 -362
  10. data/vendor/assets/javascripts/amcharts/amstock.js +97 -92
  11. data/vendor/assets/javascripts/amcharts/exporting/amexport.js +854 -666
  12. data/vendor/assets/javascripts/amcharts/funnel.js +17 -7
  13. data/vendor/assets/javascripts/amcharts/gauge.js +20 -19
  14. data/vendor/assets/javascripts/amcharts/lang/az.js +1 -0
  15. data/vendor/assets/javascripts/amcharts/lang/bg.js +1 -0
  16. data/vendor/assets/javascripts/amcharts/lang/de.js +13 -0
  17. data/vendor/assets/javascripts/amcharts/lang/es.js +1 -0
  18. data/vendor/assets/javascripts/amcharts/lang/fi.js +1 -0
  19. data/vendor/assets/javascripts/amcharts/lang/fo.js +1 -0
  20. data/vendor/assets/javascripts/amcharts/lang/fr.js +1 -0
  21. data/vendor/assets/javascripts/amcharts/lang/hr.js +1 -0
  22. data/vendor/assets/javascripts/amcharts/lang/hu.js +1 -0
  23. data/vendor/assets/javascripts/amcharts/lang/id.js +1 -0
  24. data/vendor/assets/javascripts/amcharts/lang/is.js +1 -0
  25. data/vendor/assets/javascripts/amcharts/lang/it.js +1 -0
  26. data/vendor/assets/javascripts/amcharts/lang/lt.js +1 -0
  27. data/vendor/assets/javascripts/amcharts/lang/lv.js +1 -0
  28. data/vendor/assets/javascripts/amcharts/lang/mk.js +1 -0
  29. data/vendor/assets/javascripts/amcharts/lang/mn.js +1 -0
  30. data/vendor/assets/javascripts/amcharts/lang/mt.js +1 -0
  31. data/vendor/assets/javascripts/amcharts/lang/nl.js +1 -0
  32. data/vendor/assets/javascripts/amcharts/lang/no.js +1 -0
  33. data/vendor/assets/javascripts/amcharts/lang/pl.js +1 -0
  34. data/vendor/assets/javascripts/amcharts/lang/pt.js +1 -0
  35. data/vendor/assets/javascripts/amcharts/lang/ro.js +1 -0
  36. data/vendor/assets/javascripts/amcharts/lang/ru.js +1 -0
  37. data/vendor/assets/javascripts/amcharts/lang/rw.js +1 -0
  38. data/vendor/assets/javascripts/amcharts/lang/sk.js +1 -0
  39. data/vendor/assets/javascripts/amcharts/lang/so.js +1 -0
  40. data/vendor/assets/javascripts/amcharts/lang/th.js +1 -0
  41. data/vendor/assets/javascripts/amcharts/lang/tr.js +1 -0
  42. data/vendor/assets/javascripts/amcharts/pie.js +10 -10
  43. data/vendor/assets/javascripts/amcharts/radar.js +6 -6
  44. data/vendor/assets/javascripts/amcharts/serial.js +57 -53
  45. data/vendor/assets/javascripts/amcharts/themes/black.js +205 -205
  46. data/vendor/assets/javascripts/amcharts/themes/chalk.js +216 -216
  47. data/vendor/assets/javascripts/amcharts/themes/dark.js +204 -204
  48. data/vendor/assets/javascripts/amcharts/themes/light.js +198 -198
  49. data/vendor/assets/javascripts/amcharts/themes/patterns.js +258 -258
  50. data/vendor/assets/javascripts/amcharts/xy.js +1 -1
  51. metadata +31 -2
@@ -1,217 +1,217 @@
1
- AmCharts.themes.chalk = {
2
-
3
- themeName: "chalk",
4
-
5
- AmChart: {
6
- color: "#e7e7e7",
7
- fontFamily: "Covered By Your Grace",
8
- fontSize: 18,
9
- handDrawn: true,
10
- backgroundColor: "#282828"
11
- },
12
-
13
- AmCoordinateChart: {
14
- colors: ["#FFFFFF", "#e384a6", "#f4d499", "#4d90d6", "#c7e38c", "#9986c8", "#edf28c", "#ffd1d4", "#5ee1dc", "#b0eead", "#fef85a", "#8badd2"]
15
- },
16
-
17
- AmSlicedChart: {
18
- outlineAlpha: 1,
19
- labelTickColor: "#FFFFFF",
20
- labelTickAlpha: 0.3,
21
- colors: ["#FFFFFF", "#e384a6", "#f4d499", "#4d90d6", "#c7e38c", "#9986c8", "#edf28c", "#ffd1d4", "#5ee1dc", "#b0eead", "#fef85a", "#8badd2"]
22
- },
23
-
24
- AmStockChart: {
25
- colors: ["#FFFFFF", "#e384a6", "#f4d499", "#4d90d6", "#c7e38c", "#9986c8", "#edf28c", "#ffd1d4", "#5ee1dc", "#b0eead", "#fef85a", "#8badd2"]
26
- },
27
-
28
- AmRectangularChart: {
29
-
30
- zoomOutButtonColor: '#FFFFFF',
31
- zoomOutButtonRollOverAlpha: 0.15,
32
- zoomOutButtonImage: "lensWhite.png"
33
- },
34
-
35
- AxisBase: {
36
- axisColor: "#FFFFFF",
37
- gridColor: "#FFFFFF"
38
- },
39
-
40
- ChartScrollbar: {
41
- backgroundColor: "#FFFFFF",
42
- backgroundAlpha: 0.2,
43
- graphFillAlpha: 0.5,
44
- graphLineAlpha: 0,
45
- selectedBackgroundColor: "#000000",
46
- selectedBackgroundAlpha: 0.25,
47
- fontSize: 15,
48
- gridAlpha: 0.15
49
- },
50
-
51
- ChartCursor: {
52
- cursorColor: "#FFFFFF",
53
- color: "#000000"
54
- },
55
-
56
- AmLegend: {
57
- color: "#e7e7e7",
58
- markerSize: 20
59
- },
60
-
61
- AmGraph: {
62
- lineAlpha: 0.8
63
- },
64
-
65
-
66
- GaugeArrow: {
67
- color: "#FFFFFF",
68
- alpha: 0.1,
69
- nailAlpha: 0,
70
- innerRadius: "40%",
71
- nailRadius: 15,
72
- startWidth: 15,
73
- borderAlpha: 0.8,
74
- nailBorderAlpha: 0
75
- },
76
-
77
- GaugeAxis: {
78
- tickColor: "#FFFFFF",
79
- tickAlpha: 0.8,
80
- tickLength: 15,
81
- minorTickLength: 8,
82
- axisThickness: 3,
83
- axisColor: '#FFFFFF',
84
- axisAlpha: 0.8,
85
- bandAlpha: 0.4
86
- },
87
-
88
- TrendLine: {
89
- lineColor: "#c03246",
90
- lineAlpha: 0.8
91
- },
92
-
93
- // ammap
94
- AmMap: {
95
- handDrawn: false
96
- },
97
-
98
- AreasSettings: {
99
- alpha: 0.8,
100
- color: "#FFFFFF",
101
- colorSolid: "#000000",
102
- unlistedAreasAlpha: 0.4,
103
- unlistedAreasColor: "#FFFFFF",
104
- outlineColor: "#000000",
105
- outlineAlpha: 0.5,
106
- outlineThickness: 0.5,
107
- rollOverColor: "#4d90d6",
108
- rollOverOutlineColor: "#000000",
109
- selectedOutlineColor: "#000000",
110
- selectedColor: "#e384a6",
111
- unlistedAreasOutlineColor: "#000000",
112
- unlistedAreasOutlineAlpha: 0.5
113
- },
114
-
115
- LinesSettings: {
116
- color: "#FFFFFF",
117
- alpha: 0.8
118
- },
119
-
120
- ImagesSettings: {
121
- alpha: 0.8,
122
- labelFontSize: 16,
123
- labelColor: "#FFFFFF",
124
- color: "#FFFFFF",
125
- labelRollOverColor: "#4d90d6"
126
- },
127
-
128
- ZoomControl: {
129
- buttonRollOverColor: "#4d90d6",
130
- buttonFillColor: "#e384a6",
131
- buttonFillAlpha: 0.8,
132
- buttonBorderColor: "#FFFFFF",
133
- gridBackgroundColor: "#FFFFFF",
134
- gridAlpha: 0.8
135
- },
136
-
137
- SmallMap: {
138
- mapColor: "#FFFFFF",
139
- rectangleColor: "#FFFFFF",
140
- backgroundColor: "#000000",
141
- backgroundAlpha: 0.7,
142
- borderThickness: 1,
143
- borderAlpha: 0.8
144
- },
145
-
146
-
147
- // the defaults below are set using CSS syntax, you can use any existing css property
148
- // if you don't use Stock chart, you can delete lines below
149
- PeriodSelector: {
150
- fontFamily: "Covered By Your Grace",
151
- fontSize:"16px",
152
- color: "#e7e7e7"
153
- },
154
-
155
- PeriodButton: {
156
- fontFamily: "Covered By Your Grace",
157
- fontSize:"16px",
158
- color: "#e7e7e7",
159
- background: "transparent",
160
- opacity: 0.7,
161
- border: "1px solid rgba(255, 255, 255, .15)",
162
- MozBorderRadius: "5px",
163
- borderRadius: "5px",
164
- margin: "1px",
165
- outline: "none",
166
- boxSizing: "border-box"
167
- },
168
-
169
- PeriodButtonSelected: {
170
- fontFamily: "Covered By Your Grace",
171
- fontSize:"16px",
172
- color: "#e7e7e7",
173
- backgroundColor: "rgba(255, 255, 255, 0.1)",
174
- border: "1px solid rgba(255, 255, 255, .3)",
175
- MozBorderRadius: "5px",
176
- borderRadius: "5px",
177
- margin: "1px",
178
- outline: "none",
179
- opacity: 1,
180
- boxSizing: "border-box"
181
- },
182
-
183
- PeriodInputField: {
184
- fontFamily: "Covered By Your Grace",
185
- fontSize:"16px",
186
- color: "#e7e7e7",
187
- background: "transparent",
188
- border: "1px solid rgba(255, 255, 255, .15)",
189
- outline: "none"
190
- },
191
-
192
- DataSetSelector: {
193
- fontFamily: "Covered By Your Grace",
194
- fontSize:"16px",
195
- color: "#e7e7e7",
196
- selectedBackgroundColor: "rgba(255, 255, 255, .25)",
197
- rollOverBackgroundColor: "rgba(255, 255, 255, .15)"
198
- },
199
-
200
- DataSetCompareList: {
201
- fontFamily: "Covered By Your Grace",
202
- fontSize:"16px",
203
- color: "#e7e7e7",
204
- lineHeight: "100%",
205
- boxSizing: "initial",
206
- webkitBoxSizing: "initial",
207
- border: "1px solid rgba(255, 255, 255, .15)"
208
- },
209
-
210
- DataSetSelect: {
211
- fontFamily: "Covered By Your Grace",
212
- fontSize:"16px",
213
- border: "1px solid rgba(255, 255, 255, .15)",
214
- outline: "none"
215
- }
216
-
1
+ AmCharts.themes.chalk = {
2
+
3
+ themeName: "chalk",
4
+
5
+ AmChart: {
6
+ color: "#e7e7e7",
7
+ fontFamily: "Covered By Your Grace",
8
+ fontSize: 18,
9
+ handDrawn: true,
10
+ backgroundColor: "#282828"
11
+ },
12
+
13
+ AmCoordinateChart: {
14
+ colors: ["#FFFFFF", "#e384a6", "#f4d499", "#4d90d6", "#c7e38c", "#9986c8", "#edf28c", "#ffd1d4", "#5ee1dc", "#b0eead", "#fef85a", "#8badd2"]
15
+ },
16
+
17
+ AmSlicedChart: {
18
+ outlineAlpha: 1,
19
+ labelTickColor: "#FFFFFF",
20
+ labelTickAlpha: 0.3,
21
+ colors: ["#FFFFFF", "#e384a6", "#f4d499", "#4d90d6", "#c7e38c", "#9986c8", "#edf28c", "#ffd1d4", "#5ee1dc", "#b0eead", "#fef85a", "#8badd2"]
22
+ },
23
+
24
+ AmStockChart: {
25
+ colors: ["#FFFFFF", "#e384a6", "#f4d499", "#4d90d6", "#c7e38c", "#9986c8", "#edf28c", "#ffd1d4", "#5ee1dc", "#b0eead", "#fef85a", "#8badd2"]
26
+ },
27
+
28
+ AmRectangularChart: {
29
+
30
+ zoomOutButtonColor: '#FFFFFF',
31
+ zoomOutButtonRollOverAlpha: 0.15,
32
+ zoomOutButtonImage: "lensWhite.png"
33
+ },
34
+
35
+ AxisBase: {
36
+ axisColor: "#FFFFFF",
37
+ gridColor: "#FFFFFF"
38
+ },
39
+
40
+ ChartScrollbar: {
41
+ backgroundColor: "#FFFFFF",
42
+ backgroundAlpha: 0.2,
43
+ graphFillAlpha: 0.5,
44
+ graphLineAlpha: 0,
45
+ selectedBackgroundColor: "#000000",
46
+ selectedBackgroundAlpha: 0.25,
47
+ fontSize: 15,
48
+ gridAlpha: 0.15
49
+ },
50
+
51
+ ChartCursor: {
52
+ cursorColor: "#FFFFFF",
53
+ color: "#000000"
54
+ },
55
+
56
+ AmLegend: {
57
+ color: "#e7e7e7",
58
+ markerSize: 20
59
+ },
60
+
61
+ AmGraph: {
62
+ lineAlpha: 0.8
63
+ },
64
+
65
+
66
+ GaugeArrow: {
67
+ color: "#FFFFFF",
68
+ alpha: 0.1,
69
+ nailAlpha: 0,
70
+ innerRadius: "40%",
71
+ nailRadius: 15,
72
+ startWidth: 15,
73
+ borderAlpha: 0.8,
74
+ nailBorderAlpha: 0
75
+ },
76
+
77
+ GaugeAxis: {
78
+ tickColor: "#FFFFFF",
79
+ tickAlpha: 0.8,
80
+ tickLength: 15,
81
+ minorTickLength: 8,
82
+ axisThickness: 3,
83
+ axisColor: '#FFFFFF',
84
+ axisAlpha: 0.8,
85
+ bandAlpha: 0.4
86
+ },
87
+
88
+ TrendLine: {
89
+ lineColor: "#c03246",
90
+ lineAlpha: 0.8
91
+ },
92
+
93
+ // ammap
94
+ AmMap: {
95
+ handDrawn: false
96
+ },
97
+
98
+ AreasSettings: {
99
+ alpha: 0.8,
100
+ color: "#FFFFFF",
101
+ colorSolid: "#000000",
102
+ unlistedAreasAlpha: 0.4,
103
+ unlistedAreasColor: "#FFFFFF",
104
+ outlineColor: "#000000",
105
+ outlineAlpha: 0.5,
106
+ outlineThickness: 0.5,
107
+ rollOverColor: "#4d90d6",
108
+ rollOverOutlineColor: "#000000",
109
+ selectedOutlineColor: "#000000",
110
+ selectedColor: "#e384a6",
111
+ unlistedAreasOutlineColor: "#000000",
112
+ unlistedAreasOutlineAlpha: 0.5
113
+ },
114
+
115
+ LinesSettings: {
116
+ color: "#FFFFFF",
117
+ alpha: 0.8
118
+ },
119
+
120
+ ImagesSettings: {
121
+ alpha: 0.8,
122
+ labelFontSize: 16,
123
+ labelColor: "#FFFFFF",
124
+ color: "#FFFFFF",
125
+ labelRollOverColor: "#4d90d6"
126
+ },
127
+
128
+ ZoomControl: {
129
+ buttonRollOverColor: "#4d90d6",
130
+ buttonFillColor: "#e384a6",
131
+ buttonFillAlpha: 0.8,
132
+ buttonBorderColor: "#FFFFFF",
133
+ gridBackgroundColor: "#FFFFFF",
134
+ gridAlpha: 0.8
135
+ },
136
+
137
+ SmallMap: {
138
+ mapColor: "#FFFFFF",
139
+ rectangleColor: "#FFFFFF",
140
+ backgroundColor: "#000000",
141
+ backgroundAlpha: 0.7,
142
+ borderThickness: 1,
143
+ borderAlpha: 0.8
144
+ },
145
+
146
+
147
+ // the defaults below are set using CSS syntax, you can use any existing css property
148
+ // if you don't use Stock chart, you can delete lines below
149
+ PeriodSelector: {
150
+ fontFamily: "Covered By Your Grace",
151
+ fontSize:"16px",
152
+ color: "#e7e7e7"
153
+ },
154
+
155
+ PeriodButton: {
156
+ fontFamily: "Covered By Your Grace",
157
+ fontSize:"16px",
158
+ color: "#e7e7e7",
159
+ background: "transparent",
160
+ opacity: 0.7,
161
+ border: "1px solid rgba(255, 255, 255, .15)",
162
+ MozBorderRadius: "5px",
163
+ borderRadius: "5px",
164
+ margin: "1px",
165
+ outline: "none",
166
+ boxSizing: "border-box"
167
+ },
168
+
169
+ PeriodButtonSelected: {
170
+ fontFamily: "Covered By Your Grace",
171
+ fontSize:"16px",
172
+ color: "#e7e7e7",
173
+ backgroundColor: "rgba(255, 255, 255, 0.1)",
174
+ border: "1px solid rgba(255, 255, 255, .3)",
175
+ MozBorderRadius: "5px",
176
+ borderRadius: "5px",
177
+ margin: "1px",
178
+ outline: "none",
179
+ opacity: 1,
180
+ boxSizing: "border-box"
181
+ },
182
+
183
+ PeriodInputField: {
184
+ fontFamily: "Covered By Your Grace",
185
+ fontSize:"16px",
186
+ color: "#e7e7e7",
187
+ background: "transparent",
188
+ border: "1px solid rgba(255, 255, 255, .15)",
189
+ outline: "none"
190
+ },
191
+
192
+ DataSetSelector: {
193
+ fontFamily: "Covered By Your Grace",
194
+ fontSize:"16px",
195
+ color: "#e7e7e7",
196
+ selectedBackgroundColor: "rgba(255, 255, 255, .25)",
197
+ rollOverBackgroundColor: "rgba(255, 255, 255, .15)"
198
+ },
199
+
200
+ DataSetCompareList: {
201
+ fontFamily: "Covered By Your Grace",
202
+ fontSize:"16px",
203
+ color: "#e7e7e7",
204
+ lineHeight: "100%",
205
+ boxSizing: "initial",
206
+ webkitBoxSizing: "initial",
207
+ border: "1px solid rgba(255, 255, 255, .15)"
208
+ },
209
+
210
+ DataSetSelect: {
211
+ fontFamily: "Covered By Your Grace",
212
+ fontSize:"16px",
213
+ border: "1px solid rgba(255, 255, 255, .15)",
214
+ outline: "none"
215
+ }
216
+
217
217
  };
@@ -1,205 +1,205 @@
1
- AmCharts.themes.dark = {
2
-
3
- themeName: "dark",
4
-
5
- AmChart: {
6
- color: "#e7e7e7", backgroundColor: "#282828"
7
- },
8
-
9
- AmCoordinateChart: {
10
- colors: ["#ae85c9", "#aab9f7", "#b6d2ff", "#c9e6f2", "#c9f0e1", "#e8d685", "#e0ad63", "#d48652", "#d27362", "#495fba", "#7a629b", "#8881cc"]
11
- },
12
-
13
- AmStockChart: {
14
- colors: ["#639dbd", "#e8d685", "#ae85c9", "#c9f0e1", "#d48652", "#629b6d", "#719dc3", "#719dc3"]
15
- },
16
-
17
- AmSlicedChart: {
18
- outlineAlpha: 1,
19
- outlineThickness: 2,
20
- labelTickColor: "#FFFFFF",
21
- labelTickAlpha: 0.3,
22
- colors: ["#495fba", "#e8d685", "#ae85c9", "#c9f0e1", "#d48652", "#629b6d", "#719dc3", "#719dc3"]
23
- },
24
-
25
- AmRectangularChart: {
26
- zoomOutButtonColor: '#FFFFFF',
27
- zoomOutButtonRollOverAlpha: 0.15,
28
- zoomOutButtonImage: "lensWhite.png"
29
- },
30
-
31
- AxisBase: {
32
- axisColor: "#FFFFFF",
33
- axisAlpha: 0.3,
34
- gridAlpha: 0.1,
35
- gridColor: "#FFFFFF",
36
- dashLength: 3
37
- },
38
-
39
- ChartScrollbar: {
40
- backgroundColor: "#000000",
41
- backgroundAlpha: 0.2,
42
- graphFillAlpha: 0.2,
43
- graphLineAlpha: 0,
44
- graphFillColor: "#FFFFFF",
45
- selectedGraphFillColor: "#FFFFFF",
46
- selectedGraphFillAlpha: 0.4,
47
- selectedGraphLineColor: "#FFFFFF",
48
- selectedBackgroundColor: "#FFFFFF",
49
- selectedBackgroundAlpha: 0.09,
50
- gridAlpha: 0.15
51
- },
52
-
53
- ChartCursor: {
54
- cursorColor: "#FFFFFF",
55
- color: "#000000",
56
- cursorAlpha: 0.5
57
- },
58
-
59
- AmLegend: {
60
- color: "#e7e7e7"
61
- },
62
-
63
- AmGraph: {
64
- lineAlpha: 0.9
65
- },
66
-
67
-
68
- GaugeArrow: {
69
- color: "#FFFFFF",
70
- alpha: 0.8,
71
- nailAlpha: 0,
72
- innerRadius: "40%",
73
- nailRadius: 15,
74
- startWidth: 15,
75
- borderAlpha: 0.8,
76
- nailBorderAlpha: 0
77
- },
78
-
79
- GaugeAxis: {
80
- tickColor: "#FFFFFF",
81
- tickAlpha: 1,
82
- tickLength: 15,
83
- minorTickLength: 8,
84
- axisThickness: 3,
85
- axisColor: '#FFFFFF',
86
- axisAlpha: 1,
87
- bandAlpha: 0.8
88
- },
89
-
90
- TrendLine: {
91
- lineColor: "#c03246",
92
- lineAlpha: 0.8
93
- },
94
-
95
- // ammap
96
- AreasSettings: {
97
- alpha: 0.8,
98
- color: "#FFFFFF",
99
- colorSolid: "#000000",
100
- unlistedAreasAlpha: 0.4,
101
- unlistedAreasColor: "#FFFFFF",
102
- outlineColor: "#000000",
103
- outlineAlpha: 0.5,
104
- outlineThickness: 0.5,
105
- rollOverColor: "#3c5bdc",
106
- rollOverOutlineColor: "#000000",
107
- selectedOutlineColor: "#000000",
108
- selectedColor: "#f15135",
109
- unlistedAreasOutlineColor: "#000000",
110
- unlistedAreasOutlineAlpha: 0.5
111
- },
112
-
113
- LinesSettings: {
114
- color: "#FFFFFF",
115
- alpha: 0.8
116
- },
117
-
118
- ImagesSettings: {
119
- alpha: 0.8,
120
- labelColor: "#FFFFFF",
121
- color: "#FFFFFF",
122
- labelRollOverColor: "#3c5bdc"
123
- },
124
-
125
- ZoomControl: {
126
- buttonRollOverColor: "#3c5bdc",
127
- buttonFillColor: "#f15135",
128
- buttonFillAlpha: 0.8,
129
- gridBackgroundColor: "#FFFFFF",
130
- buttonBorderAlpha:0,
131
- buttonCornerRadius:2,
132
- gridAlpha:0.5,
133
- gridBackgroundColor:"#FFFFFF",
134
- homeIconFile:"homeIconWhite.gif",
135
- buttonIconAlpha:0.6,
136
- gridAlpha: 0.2,
137
- buttonSize:20
138
- },
139
-
140
- SmallMap: {
141
- mapColor: "#FFFFFF",
142
- rectangleColor: "#FFFFFF",
143
- backgroundColor: "#000000",
144
- backgroundAlpha: 0.7,
145
- borderThickness: 1,
146
- borderAlpha: 0.8
147
- },
148
-
149
- // the defaults below are set using CSS syntax, you can use any existing css property
150
- // if you don't use Stock chart, you can delete lines below
151
- PeriodSelector: {
152
- color: "#e7e7e7"
153
- },
154
-
155
- PeriodButton: {
156
- color: "#e7e7e7",
157
- background: "transparent",
158
- opacity: 0.7,
159
- border: "1px solid rgba(255, 255, 255, .15)",
160
- MozBorderRadius: "5px",
161
- borderRadius: "5px",
162
- margin: "1px",
163
- outline: "none",
164
- boxSizing: "border-box"
165
- },
166
-
167
- PeriodButtonSelected: {
168
- color: "#e7e7e7",
169
- backgroundColor: "rgba(255, 255, 255, 0.1)",
170
- border: "1px solid rgba(255, 255, 255, .3)",
171
- MozBorderRadius: "5px",
172
- borderRadius: "5px",
173
- margin: "1px",
174
- outline: "none",
175
- opacity: 1,
176
- boxSizing: "border-box"
177
- },
178
-
179
- PeriodInputField: {
180
- color: "#e7e7e7",
181
- background: "transparent",
182
- border: "1px solid rgba(255, 255, 255, .15)",
183
- outline: "none"
184
- },
185
-
186
- DataSetSelector: {
187
- color: "#e7e7e7",
188
- selectedBackgroundColor: "rgba(255, 255, 255, .25)",
189
- rollOverBackgroundColor: "rgba(255, 255, 255, .15)"
190
- },
191
-
192
- DataSetCompareList: {
193
- color: "#e7e7e7",
194
- lineHeight: "100%",
195
- boxSizing: "initial",
196
- webkitBoxSizing: "initial",
197
- border: "1px solid rgba(255, 255, 255, .15)"
198
- },
199
-
200
- DataSetSelect: {
201
- border: "1px solid rgba(255, 255, 255, .15)",
202
- outline: "none"
203
- }
204
-
1
+ AmCharts.themes.dark = {
2
+
3
+ themeName: "dark",
4
+
5
+ AmChart: {
6
+ color: "#e7e7e7", backgroundColor: "#282828"
7
+ },
8
+
9
+ AmCoordinateChart: {
10
+ colors: ["#ae85c9", "#aab9f7", "#b6d2ff", "#c9e6f2", "#c9f0e1", "#e8d685", "#e0ad63", "#d48652", "#d27362", "#495fba", "#7a629b", "#8881cc"]
11
+ },
12
+
13
+ AmStockChart: {
14
+ colors: ["#639dbd", "#e8d685", "#ae85c9", "#c9f0e1", "#d48652", "#629b6d", "#719dc3", "#719dc3"]
15
+ },
16
+
17
+ AmSlicedChart: {
18
+ outlineAlpha: 1,
19
+ outlineThickness: 2,
20
+ labelTickColor: "#FFFFFF",
21
+ labelTickAlpha: 0.3,
22
+ colors: ["#495fba", "#e8d685", "#ae85c9", "#c9f0e1", "#d48652", "#629b6d", "#719dc3", "#719dc3"]
23
+ },
24
+
25
+ AmRectangularChart: {
26
+ zoomOutButtonColor: '#FFFFFF',
27
+ zoomOutButtonRollOverAlpha: 0.15,
28
+ zoomOutButtonImage: "lensWhite.png"
29
+ },
30
+
31
+ AxisBase: {
32
+ axisColor: "#FFFFFF",
33
+ axisAlpha: 0.3,
34
+ gridAlpha: 0.1,
35
+ gridColor: "#FFFFFF",
36
+ dashLength: 3
37
+ },
38
+
39
+ ChartScrollbar: {
40
+ backgroundColor: "#000000",
41
+ backgroundAlpha: 0.2,
42
+ graphFillAlpha: 0.2,
43
+ graphLineAlpha: 0,
44
+ graphFillColor: "#FFFFFF",
45
+ selectedGraphFillColor: "#FFFFFF",
46
+ selectedGraphFillAlpha: 0.4,
47
+ selectedGraphLineColor: "#FFFFFF",
48
+ selectedBackgroundColor: "#FFFFFF",
49
+ selectedBackgroundAlpha: 0.09,
50
+ gridAlpha: 0.15
51
+ },
52
+
53
+ ChartCursor: {
54
+ cursorColor: "#FFFFFF",
55
+ color: "#000000",
56
+ cursorAlpha: 0.5
57
+ },
58
+
59
+ AmLegend: {
60
+ color: "#e7e7e7"
61
+ },
62
+
63
+ AmGraph: {
64
+ lineAlpha: 0.9
65
+ },
66
+
67
+
68
+ GaugeArrow: {
69
+ color: "#FFFFFF",
70
+ alpha: 0.8,
71
+ nailAlpha: 0,
72
+ innerRadius: "40%",
73
+ nailRadius: 15,
74
+ startWidth: 15,
75
+ borderAlpha: 0.8,
76
+ nailBorderAlpha: 0
77
+ },
78
+
79
+ GaugeAxis: {
80
+ tickColor: "#FFFFFF",
81
+ tickAlpha: 1,
82
+ tickLength: 15,
83
+ minorTickLength: 8,
84
+ axisThickness: 3,
85
+ axisColor: '#FFFFFF',
86
+ axisAlpha: 1,
87
+ bandAlpha: 0.8
88
+ },
89
+
90
+ TrendLine: {
91
+ lineColor: "#c03246",
92
+ lineAlpha: 0.8
93
+ },
94
+
95
+ // ammap
96
+ AreasSettings: {
97
+ alpha: 0.8,
98
+ color: "#FFFFFF",
99
+ colorSolid: "#000000",
100
+ unlistedAreasAlpha: 0.4,
101
+ unlistedAreasColor: "#FFFFFF",
102
+ outlineColor: "#000000",
103
+ outlineAlpha: 0.5,
104
+ outlineThickness: 0.5,
105
+ rollOverColor: "#3c5bdc",
106
+ rollOverOutlineColor: "#000000",
107
+ selectedOutlineColor: "#000000",
108
+ selectedColor: "#f15135",
109
+ unlistedAreasOutlineColor: "#000000",
110
+ unlistedAreasOutlineAlpha: 0.5
111
+ },
112
+
113
+ LinesSettings: {
114
+ color: "#FFFFFF",
115
+ alpha: 0.8
116
+ },
117
+
118
+ ImagesSettings: {
119
+ alpha: 0.8,
120
+ labelColor: "#FFFFFF",
121
+ color: "#FFFFFF",
122
+ labelRollOverColor: "#3c5bdc"
123
+ },
124
+
125
+ ZoomControl: {
126
+ buttonRollOverColor: "#3c5bdc",
127
+ buttonFillColor: "#f15135",
128
+ buttonFillAlpha: 0.8,
129
+ gridBackgroundColor: "#FFFFFF",
130
+ buttonBorderAlpha:0,
131
+ buttonCornerRadius:2,
132
+ gridAlpha:0.5,
133
+ gridBackgroundColor:"#FFFFFF",
134
+ homeIconFile:"homeIconWhite.gif",
135
+ buttonIconAlpha:0.6,
136
+ gridAlpha: 0.2,
137
+ buttonSize:20
138
+ },
139
+
140
+ SmallMap: {
141
+ mapColor: "#FFFFFF",
142
+ rectangleColor: "#FFFFFF",
143
+ backgroundColor: "#000000",
144
+ backgroundAlpha: 0.7,
145
+ borderThickness: 1,
146
+ borderAlpha: 0.8
147
+ },
148
+
149
+ // the defaults below are set using CSS syntax, you can use any existing css property
150
+ // if you don't use Stock chart, you can delete lines below
151
+ PeriodSelector: {
152
+ color: "#e7e7e7"
153
+ },
154
+
155
+ PeriodButton: {
156
+ color: "#e7e7e7",
157
+ background: "transparent",
158
+ opacity: 0.7,
159
+ border: "1px solid rgba(255, 255, 255, .15)",
160
+ MozBorderRadius: "5px",
161
+ borderRadius: "5px",
162
+ margin: "1px",
163
+ outline: "none",
164
+ boxSizing: "border-box"
165
+ },
166
+
167
+ PeriodButtonSelected: {
168
+ color: "#e7e7e7",
169
+ backgroundColor: "rgba(255, 255, 255, 0.1)",
170
+ border: "1px solid rgba(255, 255, 255, .3)",
171
+ MozBorderRadius: "5px",
172
+ borderRadius: "5px",
173
+ margin: "1px",
174
+ outline: "none",
175
+ opacity: 1,
176
+ boxSizing: "border-box"
177
+ },
178
+
179
+ PeriodInputField: {
180
+ color: "#e7e7e7",
181
+ background: "transparent",
182
+ border: "1px solid rgba(255, 255, 255, .15)",
183
+ outline: "none"
184
+ },
185
+
186
+ DataSetSelector: {
187
+ color: "#e7e7e7",
188
+ selectedBackgroundColor: "rgba(255, 255, 255, .25)",
189
+ rollOverBackgroundColor: "rgba(255, 255, 255, .15)"
190
+ },
191
+
192
+ DataSetCompareList: {
193
+ color: "#e7e7e7",
194
+ lineHeight: "100%",
195
+ boxSizing: "initial",
196
+ webkitBoxSizing: "initial",
197
+ border: "1px solid rgba(255, 255, 255, .15)"
198
+ },
199
+
200
+ DataSetSelect: {
201
+ border: "1px solid rgba(255, 255, 255, .15)",
202
+ outline: "none"
203
+ }
204
+
205
205
  };