highcharts_rails 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +10 -0
- data/.rspec +2 -0
- data/.travis.yml +5 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +21 -0
- data/README.md +106 -0
- data/Rakefile +6 -0
- data/highcharts_rails.gemspec +27 -0
- data/lib/highcharts_rails/version.rb +3 -0
- data/lib/highcharts_rails.rb +8 -0
- data/vendor/assets/javascripts/highcharts-3d.src.js +2139 -0
- data/vendor/assets/javascripts/highcharts-more.src.js +2982 -0
- data/vendor/assets/javascripts/highcharts.src.js +22947 -0
- data/vendor/assets/javascripts/js/highcharts-3d.src.js +2085 -0
- data/vendor/assets/javascripts/js/highcharts-more.src.js +2820 -0
- data/vendor/assets/javascripts/js/highcharts.src.js +20917 -0
- data/vendor/assets/javascripts/js/modules/accessibility.src.js +1072 -0
- data/vendor/assets/javascripts/js/modules/annotations.src.js +408 -0
- data/vendor/assets/javascripts/js/modules/boost.src.js +652 -0
- data/vendor/assets/javascripts/js/modules/broken-axis.src.js +338 -0
- data/vendor/assets/javascripts/js/modules/data.src.js +981 -0
- data/vendor/assets/javascripts/js/modules/drilldown.src.js +756 -0
- data/vendor/assets/javascripts/js/modules/exporting.src.js +953 -0
- data/vendor/assets/javascripts/js/modules/funnel.src.js +290 -0
- data/vendor/assets/javascripts/js/modules/gantt.src.js +791 -0
- data/vendor/assets/javascripts/js/modules/grid-axis.src.js +545 -0
- data/vendor/assets/javascripts/js/modules/heatmap.src.js +798 -0
- data/vendor/assets/javascripts/js/modules/no-data-to-display.src.js +150 -0
- data/vendor/assets/javascripts/js/modules/offline-exporting.src.js +492 -0
- data/vendor/assets/javascripts/js/modules/overlapping-datalabels.src.js +164 -0
- data/vendor/assets/javascripts/js/modules/series-label.src.js +606 -0
- data/vendor/assets/javascripts/js/modules/solid-gauge.src.js +305 -0
- data/vendor/assets/javascripts/js/modules/treemap.src.js +881 -0
- data/vendor/assets/javascripts/js/modules/xrange-series.src.js +254 -0
- data/vendor/assets/javascripts/js/themes/dark-blue.js +317 -0
- data/vendor/assets/javascripts/js/themes/dark-green.js +314 -0
- data/vendor/assets/javascripts/js/themes/dark-unica.js +243 -0
- data/vendor/assets/javascripts/js/themes/gray.js +326 -0
- data/vendor/assets/javascripts/js/themes/grid-light.js +99 -0
- data/vendor/assets/javascripts/js/themes/grid.js +131 -0
- data/vendor/assets/javascripts/js/themes/sand-signika.js +129 -0
- data/vendor/assets/javascripts/js/themes/skies.js +112 -0
- data/vendor/assets/javascripts/lib/canvg.src.js +3073 -0
- data/vendor/assets/javascripts/lib/jspdf.src.js +3031 -0
- data/vendor/assets/javascripts/lib/rgbcolor.src.js +299 -0
- data/vendor/assets/javascripts/lib/svg2pdf.src.js +1451 -0
- data/vendor/assets/javascripts/modules/accessibility.src.js +1072 -0
- data/vendor/assets/javascripts/modules/annotations.src.js +408 -0
- data/vendor/assets/javascripts/modules/boost.src.js +652 -0
- data/vendor/assets/javascripts/modules/broken-axis.src.js +338 -0
- data/vendor/assets/javascripts/modules/data.src.js +981 -0
- data/vendor/assets/javascripts/modules/drilldown.src.js +797 -0
- data/vendor/assets/javascripts/modules/exporting.src.js +882 -0
- data/vendor/assets/javascripts/modules/funnel.src.js +304 -0
- data/vendor/assets/javascripts/modules/gantt.src.js +815 -0
- data/vendor/assets/javascripts/modules/grid-axis.src.js +547 -0
- data/vendor/assets/javascripts/modules/heatmap.src.js +810 -0
- data/vendor/assets/javascripts/modules/no-data-to-display.src.js +161 -0
- data/vendor/assets/javascripts/modules/offline-exporting.src.js +492 -0
- data/vendor/assets/javascripts/modules/overlapping-datalabels.src.js +164 -0
- data/vendor/assets/javascripts/modules/series-label.src.js +606 -0
- data/vendor/assets/javascripts/modules/solid-gauge.src.js +316 -0
- data/vendor/assets/javascripts/modules/treemap.src.js +935 -0
- data/vendor/assets/javascripts/modules/xrange-series.src.js +276 -0
- data/vendor/assets/javascripts/themes/dark-blue.js +317 -0
- data/vendor/assets/javascripts/themes/dark-green.js +314 -0
- data/vendor/assets/javascripts/themes/dark-unica.js +243 -0
- data/vendor/assets/javascripts/themes/gray.js +326 -0
- data/vendor/assets/javascripts/themes/grid-light.js +99 -0
- data/vendor/assets/javascripts/themes/grid.js +131 -0
- data/vendor/assets/javascripts/themes/sand-signika.js +129 -0
- data/vendor/assets/javascripts/themes/skies.js +112 -0
- data/vendor/assets/stylesheets/highcharts.scss +610 -0
- metadata +161 -0
@@ -0,0 +1,112 @@
|
|
1
|
+
/**
|
2
|
+
* @license Highcharts JS v5.0.6 (2016-12-07)
|
3
|
+
*
|
4
|
+
* (c) 2009-2016 Torstein Honsi
|
5
|
+
*
|
6
|
+
* License: www.highcharts.com/license
|
7
|
+
*/
|
8
|
+
(function(factory) {
|
9
|
+
if (typeof module === 'object' && module.exports) {
|
10
|
+
module.exports = factory;
|
11
|
+
} else {
|
12
|
+
factory(Highcharts);
|
13
|
+
}
|
14
|
+
}(function(Highcharts) {
|
15
|
+
(function(Highcharts) {
|
16
|
+
/**
|
17
|
+
* (c) 2010-2016 Torstein Honsi
|
18
|
+
*
|
19
|
+
* License: www.highcharts.com/license
|
20
|
+
*
|
21
|
+
* Skies theme for Highcharts JS
|
22
|
+
* @author Torstein Honsi
|
23
|
+
*/
|
24
|
+
|
25
|
+
'use strict';
|
26
|
+
Highcharts.theme = {
|
27
|
+
colors: ['#514F78', '#42A07B', '#9B5E4A', '#72727F', '#1F949A', '#82914E', '#86777F', '#42A07B'],
|
28
|
+
chart: {
|
29
|
+
className: 'skies',
|
30
|
+
borderWidth: 0,
|
31
|
+
plotShadow: true,
|
32
|
+
plotBackgroundImage: 'http://www.highcharts.com/demo/gfx/skies.jpg',
|
33
|
+
plotBackgroundColor: {
|
34
|
+
linearGradient: [0, 0, 250, 500],
|
35
|
+
stops: [
|
36
|
+
[0, 'rgba(255, 255, 255, 1)'],
|
37
|
+
[1, 'rgba(255, 255, 255, 0)']
|
38
|
+
]
|
39
|
+
},
|
40
|
+
plotBorderWidth: 1
|
41
|
+
},
|
42
|
+
title: {
|
43
|
+
style: {
|
44
|
+
color: '#3E576F',
|
45
|
+
font: '16px Lucida Grande, Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif'
|
46
|
+
}
|
47
|
+
},
|
48
|
+
subtitle: {
|
49
|
+
style: {
|
50
|
+
color: '#6D869F',
|
51
|
+
font: '12px Lucida Grande, Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif'
|
52
|
+
}
|
53
|
+
},
|
54
|
+
xAxis: {
|
55
|
+
gridLineWidth: 0,
|
56
|
+
lineColor: '#C0D0E0',
|
57
|
+
tickColor: '#C0D0E0',
|
58
|
+
labels: {
|
59
|
+
style: {
|
60
|
+
color: '#666',
|
61
|
+
fontWeight: 'bold'
|
62
|
+
}
|
63
|
+
},
|
64
|
+
title: {
|
65
|
+
style: {
|
66
|
+
color: '#666',
|
67
|
+
font: '12px Lucida Grande, Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif'
|
68
|
+
}
|
69
|
+
}
|
70
|
+
},
|
71
|
+
yAxis: {
|
72
|
+
alternateGridColor: 'rgba(255, 255, 255, .5)',
|
73
|
+
lineColor: '#C0D0E0',
|
74
|
+
tickColor: '#C0D0E0',
|
75
|
+
tickWidth: 1,
|
76
|
+
labels: {
|
77
|
+
style: {
|
78
|
+
color: '#666',
|
79
|
+
fontWeight: 'bold'
|
80
|
+
}
|
81
|
+
},
|
82
|
+
title: {
|
83
|
+
style: {
|
84
|
+
color: '#666',
|
85
|
+
font: '12px Lucida Grande, Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif'
|
86
|
+
}
|
87
|
+
}
|
88
|
+
},
|
89
|
+
legend: {
|
90
|
+
itemStyle: {
|
91
|
+
font: '9pt Trebuchet MS, Verdana, sans-serif',
|
92
|
+
color: '#3E576F'
|
93
|
+
},
|
94
|
+
itemHoverStyle: {
|
95
|
+
color: 'black'
|
96
|
+
},
|
97
|
+
itemHiddenStyle: {
|
98
|
+
color: 'silver'
|
99
|
+
}
|
100
|
+
},
|
101
|
+
labels: {
|
102
|
+
style: {
|
103
|
+
color: '#3E576F'
|
104
|
+
}
|
105
|
+
}
|
106
|
+
};
|
107
|
+
|
108
|
+
// Apply the theme
|
109
|
+
Highcharts.setOptions(Highcharts.theme);
|
110
|
+
|
111
|
+
}(Highcharts));
|
112
|
+
}));
|
@@ -0,0 +1,610 @@
|
|
1
|
+
/* Colors for data series and points. */
|
2
|
+
$colors: #7cb5ec #434348 #90ed7d #f7a35c #8085e9 #f15c80 #e4d354 #2b908f #f45b5b #91e8e1;
|
3
|
+
|
4
|
+
/* Chart background, point stroke for markers and columns etc, */
|
5
|
+
$background-color: #ffffff;
|
6
|
+
|
7
|
+
/* Neutral colors, grayscale by default. The default colors are defined by mixing the background-color
|
8
|
+
with neutral, with a weight corresponding to the number in the name. */
|
9
|
+
$neutral-color-100: #000000; /* Strong text. */
|
10
|
+
$neutral-color-80: #333333; /* Main text and some strokes. */
|
11
|
+
$neutral-color-60: #666666; /* Axis labels, axis title, connector fallback. */
|
12
|
+
$neutral-color-40: #999999; /* Credits text, export menu stroke. */
|
13
|
+
$neutral-color-20: #cccccc; /* Disabled texts, button strokes, crosshair etc. */
|
14
|
+
$neutral-color-10: #e6e6e6; /* Grid lines etc. */
|
15
|
+
$neutral-color-5: #f2f2f2; /* Minor grid lines etc. */
|
16
|
+
$neutral-color-3: #f7f7f7; /* Tooltip backgroud, button fills, map null points. */
|
17
|
+
|
18
|
+
/* Colored, shades of blue by default */
|
19
|
+
$highlight-color-100: #003399; /* Drilldown clickable labels, color axis max color. */
|
20
|
+
$highlight-color-80: #335cad; /* Selection marker, menu hover, button hover, chart border, navigator series. */
|
21
|
+
$highlight-color-60: #6685c2; /* Navigator mask fill. */
|
22
|
+
$highlight-color-20: #ccd6eb; /* Ticks and axis line. */
|
23
|
+
$highlight-color-10: #e6ebf5; /* Pressed button, color axis min color. */
|
24
|
+
|
25
|
+
.highcharts-container {
|
26
|
+
position: relative;
|
27
|
+
overflow: hidden;
|
28
|
+
width: 100%;
|
29
|
+
height: 100%;
|
30
|
+
text-align: left;
|
31
|
+
line-height: normal;
|
32
|
+
z-index: 0; /* #1072 */
|
33
|
+
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
34
|
+
font-family: "Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif;
|
35
|
+
font-size: 12px;
|
36
|
+
}
|
37
|
+
.highcharts-root text {
|
38
|
+
stroke-width: 0;
|
39
|
+
}
|
40
|
+
.highcharts-background {
|
41
|
+
fill: $background-color;
|
42
|
+
}
|
43
|
+
.highcharts-plot-border, .highcharts-plot-background {
|
44
|
+
fill: none;
|
45
|
+
}
|
46
|
+
.highcharts-label-box {
|
47
|
+
fill: none;
|
48
|
+
}
|
49
|
+
.highcharts-button-box {
|
50
|
+
fill: inherit;
|
51
|
+
}
|
52
|
+
|
53
|
+
/* Titles */
|
54
|
+
.highcharts-title {
|
55
|
+
fill: $neutral-color-80;
|
56
|
+
font-size: 1.5em;
|
57
|
+
}
|
58
|
+
.highcharts-subtitle {
|
59
|
+
fill: $neutral-color-60;
|
60
|
+
}
|
61
|
+
|
62
|
+
/* Axes */
|
63
|
+
.highcharts-axis-line {
|
64
|
+
fill: none;
|
65
|
+
stroke: $highlight-color-20;
|
66
|
+
}
|
67
|
+
.highcharts-yaxis .highcharts-axis-line {
|
68
|
+
stroke-width: 0;
|
69
|
+
}
|
70
|
+
.highcharts-axis-title {
|
71
|
+
fill: $neutral-color-60;
|
72
|
+
}
|
73
|
+
.highcharts-axis-labels {
|
74
|
+
fill: $neutral-color-60;
|
75
|
+
cursor: default;
|
76
|
+
font-size: 0.9em;
|
77
|
+
}
|
78
|
+
.highcharts-grid-line {
|
79
|
+
fill: none;
|
80
|
+
stroke: $neutral-color-10;
|
81
|
+
}
|
82
|
+
.highcharts-xaxis-grid .highcharts-grid-line {
|
83
|
+
stroke-width: 0;
|
84
|
+
}
|
85
|
+
.highcharts-tick {
|
86
|
+
stroke: $highlight-color-20;
|
87
|
+
}
|
88
|
+
.highcharts-yaxis .highcharts-tick {
|
89
|
+
stroke-width: 0;
|
90
|
+
}
|
91
|
+
.highcharts-minor-grid-line {
|
92
|
+
stroke: $neutral-color-5;
|
93
|
+
}
|
94
|
+
.highcharts-crosshair-thin {
|
95
|
+
stroke-width: 1px;
|
96
|
+
stroke: $neutral-color-20;
|
97
|
+
}
|
98
|
+
.highcharts-crosshair-category {
|
99
|
+
stroke: $highlight-color-20;
|
100
|
+
stroke-opacity: 0.25;
|
101
|
+
}
|
102
|
+
|
103
|
+
|
104
|
+
/* Credits */
|
105
|
+
.highcharts-credits {
|
106
|
+
cursor: pointer;
|
107
|
+
fill: $neutral-color-40;
|
108
|
+
font-size: 0.7em;
|
109
|
+
transition: fill 250ms, font-size 250ms;
|
110
|
+
}
|
111
|
+
.highcharts-credits:hover {
|
112
|
+
fill: black;
|
113
|
+
font-size: 1em;
|
114
|
+
}
|
115
|
+
|
116
|
+
/* Tooltip */
|
117
|
+
.highcharts-tooltip {
|
118
|
+
cursor: default;
|
119
|
+
pointer-events: none;
|
120
|
+
white-space: nowrap;
|
121
|
+
transition: stroke 150ms;
|
122
|
+
}
|
123
|
+
.highcharts-tooltip text {
|
124
|
+
fill: $neutral-color-80;
|
125
|
+
}
|
126
|
+
.highcharts-tooltip .highcharts-header {
|
127
|
+
font-size: 0.85em;
|
128
|
+
}
|
129
|
+
.highcharts-tooltip-box {
|
130
|
+
stroke-width: 1px;
|
131
|
+
fill: $neutral-color-3;
|
132
|
+
fill-opacity: 0.85;
|
133
|
+
}
|
134
|
+
|
135
|
+
.highcharts-selection-marker {
|
136
|
+
fill: $highlight-color-80;
|
137
|
+
fill-opacity: 0.25;
|
138
|
+
}
|
139
|
+
|
140
|
+
.highcharts-graph {
|
141
|
+
fill: none;
|
142
|
+
stroke-width: 2px;
|
143
|
+
stroke-linecap: round;
|
144
|
+
stroke-linejoin: round;
|
145
|
+
}
|
146
|
+
.highcharts-state-hover .highcharts-graph {
|
147
|
+
stroke-width: 3;
|
148
|
+
}
|
149
|
+
.highcharts-state-hover path {
|
150
|
+
transition: stroke-width 50; /* quick in */
|
151
|
+
}
|
152
|
+
.highcharts-state-normal path {
|
153
|
+
transition: stroke-width 250ms; /* slow out */
|
154
|
+
}
|
155
|
+
|
156
|
+
/* Legend hover affects points and series */
|
157
|
+
g.highcharts-series, .highcharts-point {
|
158
|
+
transition: opacity 250ms;
|
159
|
+
}
|
160
|
+
.highcharts-legend-series-active g.highcharts-series:not(.highcharts-series-hover),
|
161
|
+
.highcharts-legend-point-active .highcharts-point:not(.highcharts-point-hover) {
|
162
|
+
opacity: 0.2;
|
163
|
+
}
|
164
|
+
|
165
|
+
/* Series options */
|
166
|
+
|
167
|
+
/* Default colors */
|
168
|
+
@for $i from 1 through length($colors) {
|
169
|
+
$color: nth($colors, $i);
|
170
|
+
.highcharts-color-#{$i - 1} {
|
171
|
+
fill: $color;
|
172
|
+
stroke: $color;
|
173
|
+
}
|
174
|
+
}
|
175
|
+
|
176
|
+
.highcharts-area {
|
177
|
+
fill-opacity: 0.75;
|
178
|
+
stroke-width: 0;
|
179
|
+
}
|
180
|
+
.highcharts-markers {
|
181
|
+
stroke-width: 1px;
|
182
|
+
stroke: $background-color;
|
183
|
+
}
|
184
|
+
.highcharts-point {
|
185
|
+
stroke-width: 1px;
|
186
|
+
}
|
187
|
+
.highcharts-dense-data .highcharts-point {
|
188
|
+
stroke-width: 0;
|
189
|
+
}
|
190
|
+
|
191
|
+
.highcharts-data-label {
|
192
|
+
font-size: 0.9em;
|
193
|
+
font-weight: bold;
|
194
|
+
}
|
195
|
+
.highcharts-data-label-box {
|
196
|
+
fill: none;
|
197
|
+
stroke-width: 0;
|
198
|
+
}
|
199
|
+
.highcharts-data-label text {
|
200
|
+
fill: $neutral-color-80;
|
201
|
+
}
|
202
|
+
.highcharts-data-label-connector {
|
203
|
+
fill: none;
|
204
|
+
}
|
205
|
+
.highcharts-halo {
|
206
|
+
fill-opacity: 0.25;
|
207
|
+
stroke-width: 0;
|
208
|
+
}
|
209
|
+
.highcharts-point-select {
|
210
|
+
fill: $neutral-color-20;
|
211
|
+
stroke: $neutral-color-100;
|
212
|
+
}
|
213
|
+
.highcharts-column-series .highcharts-point {
|
214
|
+
stroke: $background-color;
|
215
|
+
transition: fill-opacity 250ms;
|
216
|
+
}
|
217
|
+
.highcharts-column-series .highcharts-point-hover {
|
218
|
+
fill-opacity: 0.75;
|
219
|
+
transition: fill-opacity 50ms;
|
220
|
+
}
|
221
|
+
.highcharts-pie-series .highcharts-point {
|
222
|
+
stroke-linejoin: round;
|
223
|
+
stroke: $background-color;
|
224
|
+
}
|
225
|
+
.highcharts-pie-series .highcharts-point-hover {
|
226
|
+
fill-opacity: 0.75;
|
227
|
+
transition: fill-opacity 50ms;
|
228
|
+
}
|
229
|
+
.highcharts-pie-series .highcharts-point-select {
|
230
|
+
fill: inherit;
|
231
|
+
stroke: inherit;
|
232
|
+
}
|
233
|
+
.highcharts-funnel-series .highcharts-point {
|
234
|
+
stroke-linejoin: round;
|
235
|
+
stroke: $background-color;
|
236
|
+
}
|
237
|
+
.highcharts-funnel-series .highcharts-point-hover {
|
238
|
+
fill-opacity: 0.75;
|
239
|
+
transition: fill-opacity 50ms;
|
240
|
+
}
|
241
|
+
.highcharts-funnel-series .highcharts-point-select {
|
242
|
+
fill: inherit;
|
243
|
+
stroke: inherit;
|
244
|
+
}
|
245
|
+
.highcharts-pyramid-series .highcharts-point {
|
246
|
+
stroke-linejoin: round;
|
247
|
+
stroke: $background-color;
|
248
|
+
}
|
249
|
+
.highcharts-pyramid-series .highcharts-point-hover {
|
250
|
+
fill-opacity: 0.75;
|
251
|
+
transition: fill-opacity 50ms;
|
252
|
+
}
|
253
|
+
.highcharts-pyramid-series .highcharts-point-select {
|
254
|
+
fill: inherit;
|
255
|
+
stroke: inherit;
|
256
|
+
}
|
257
|
+
.highcharts-solidgauge-series .highcharts-point {
|
258
|
+
stroke-width: 0;
|
259
|
+
}
|
260
|
+
.highcharts-treemap-series .highcharts-point {
|
261
|
+
stroke-width: 1px;
|
262
|
+
stroke: $neutral-color-10;
|
263
|
+
transition: stroke 250ms, fill 250ms, fill-opacity 250ms;
|
264
|
+
}
|
265
|
+
.highcharts-treemap-series .highcharts-point-hover {
|
266
|
+
stroke: $neutral-color-40;
|
267
|
+
transition: stroke 25ms, fill 25ms, fill-opacity 25ms;
|
268
|
+
}
|
269
|
+
|
270
|
+
.highcharts-treemap-series .highcharts-above-level {
|
271
|
+
display: none;
|
272
|
+
}
|
273
|
+
.highcharts-treemap-series .highcharts-internal-node {
|
274
|
+
fill: none;
|
275
|
+
}
|
276
|
+
.highcharts-treemap-series .highcharts-internal-node-interactive {
|
277
|
+
fill-opacity: 0.15;
|
278
|
+
cursor: pointer;
|
279
|
+
}
|
280
|
+
.highcharts-treemap-series .highcharts-internal-node-interactive:hover {
|
281
|
+
fill-opacity: 0.75;
|
282
|
+
}
|
283
|
+
|
284
|
+
|
285
|
+
|
286
|
+
/* Legend */
|
287
|
+
.highcharts-legend-box {
|
288
|
+
fill: none;
|
289
|
+
stroke-width: 0;
|
290
|
+
}
|
291
|
+
.highcharts-legend-item text {
|
292
|
+
fill: $neutral-color-80;
|
293
|
+
font-weight: bold;
|
294
|
+
cursor: pointer;
|
295
|
+
stroke-width: 0;
|
296
|
+
}
|
297
|
+
.highcharts-legend-item:hover text {
|
298
|
+
fill: $neutral-color-100;
|
299
|
+
}
|
300
|
+
.highcharts-legend-item-hidden * {
|
301
|
+
fill: $neutral-color-20 !important;
|
302
|
+
stroke: $neutral-color-20 !important;
|
303
|
+
transition: fill 250ms;
|
304
|
+
}
|
305
|
+
.highcharts-legend-nav-active {
|
306
|
+
fill: $highlight-color-100;
|
307
|
+
cursor: pointer;
|
308
|
+
}
|
309
|
+
.highcharts-legend-nav-inactive {
|
310
|
+
fill: $neutral-color-20;
|
311
|
+
}
|
312
|
+
.highcharts-legend-title-box {
|
313
|
+
fill: none;
|
314
|
+
stroke-width: 0;
|
315
|
+
}
|
316
|
+
|
317
|
+
/* Loading */
|
318
|
+
.highcharts-loading {
|
319
|
+
position: absolute;
|
320
|
+
background-color: $background-color;
|
321
|
+
opacity: 0.5;
|
322
|
+
text-align: center;
|
323
|
+
z-index: 10;
|
324
|
+
transition: opacity 250ms;
|
325
|
+
}
|
326
|
+
.highcharts-loading-hidden {
|
327
|
+
height: 0 !important;
|
328
|
+
opacity: 0;
|
329
|
+
overflow: hidden;
|
330
|
+
transition: opacity 250ms, height 250ms step-end;
|
331
|
+
}
|
332
|
+
.highcharts-loading-inner {
|
333
|
+
font-weight: bold;
|
334
|
+
position: relative;
|
335
|
+
top: 45%;
|
336
|
+
}
|
337
|
+
|
338
|
+
/* Plot bands and polar pane backgrounds */
|
339
|
+
.highcharts-plot-band {
|
340
|
+
fill: $neutral-color-100;
|
341
|
+
fill-opacity: 0.05;
|
342
|
+
}
|
343
|
+
.highcharts-plot-line {
|
344
|
+
fill: none;
|
345
|
+
stroke: $neutral-color-40;
|
346
|
+
stroke-width: 1px;
|
347
|
+
}
|
348
|
+
|
349
|
+
/* Highcharts More */
|
350
|
+
.highcharts-boxplot-box {
|
351
|
+
fill: $background-color;
|
352
|
+
}
|
353
|
+
.highcharts-boxplot-median {
|
354
|
+
stroke-width: 2px;
|
355
|
+
}
|
356
|
+
.highcharts-bubble-series .highcharts-point {
|
357
|
+
fill-opacity: 0.5;
|
358
|
+
}
|
359
|
+
.highcharts-errorbar-series .highcharts-point {
|
360
|
+
stroke: $neutral-color-100;
|
361
|
+
}
|
362
|
+
.highcharts-gauge-series .highcharts-data-label-box {
|
363
|
+
stroke: $neutral-color-20;
|
364
|
+
stroke-width: 1px;
|
365
|
+
}
|
366
|
+
.highcharts-gauge-series .highcharts-dial {
|
367
|
+
fill: $neutral-color-100;
|
368
|
+
stroke-width: 0;
|
369
|
+
}
|
370
|
+
.highcharts-polygon-series .highcharts-graph {
|
371
|
+
fill: inherit;
|
372
|
+
stroke-width: 0;
|
373
|
+
}
|
374
|
+
.highcharts-waterfall-series .highcharts-graph {
|
375
|
+
stroke: $neutral-color-80;
|
376
|
+
stroke-dasharray: 1, 3;
|
377
|
+
}
|
378
|
+
|
379
|
+
/* Highstock */
|
380
|
+
.highcharts-navigator-mask {
|
381
|
+
fill: $highlight-color-60; /* navigator.maskFill option */
|
382
|
+
fill-opacity: 0.25;
|
383
|
+
}
|
384
|
+
.highcharts-navigator-mask-inside {
|
385
|
+
fill: $highlight-color-60; /* navigator.maskFill option */
|
386
|
+
fill-opacity: 0.25;
|
387
|
+
cursor: ew-resize;
|
388
|
+
}
|
389
|
+
.highcharts-navigator-outline {
|
390
|
+
stroke: $neutral-color-20;
|
391
|
+
fill: none;
|
392
|
+
}
|
393
|
+
.highcharts-navigator-handle {
|
394
|
+
stroke: $neutral-color-20;
|
395
|
+
fill: $neutral-color-5;
|
396
|
+
cursor: ew-resize;
|
397
|
+
}
|
398
|
+
.highcharts-navigator-series {
|
399
|
+
fill: $highlight-color-80;
|
400
|
+
stroke: $highlight-color-80;
|
401
|
+
}
|
402
|
+
.highcharts-navigator-series .highcharts-graph {
|
403
|
+
stroke-width: 1px;
|
404
|
+
}
|
405
|
+
.highcharts-navigator-series .highcharts-area {
|
406
|
+
fill-opacity: 0.05;
|
407
|
+
}
|
408
|
+
.highcharts-navigator-xaxis .highcharts-axis-line {
|
409
|
+
stroke-width: 0;
|
410
|
+
}
|
411
|
+
.highcharts-navigator-xaxis .highcharts-grid-line {
|
412
|
+
stroke-width: 1px;
|
413
|
+
stroke: $neutral-color-10;
|
414
|
+
}
|
415
|
+
.highcharts-navigator-xaxis.highcharts-axis-labels {
|
416
|
+
fill: $neutral-color-40;
|
417
|
+
}
|
418
|
+
.highcharts-navigator-yaxis .highcharts-grid-line {
|
419
|
+
stroke-width: 0;
|
420
|
+
}
|
421
|
+
.highcharts-scrollbar-thumb {
|
422
|
+
fill: $neutral-color-20;
|
423
|
+
stroke: $neutral-color-20;
|
424
|
+
stroke-width: 1px;
|
425
|
+
}
|
426
|
+
.highcharts-scrollbar-button {
|
427
|
+
fill: $neutral-color-10;
|
428
|
+
stroke: $neutral-color-20;
|
429
|
+
stroke-width: 1px;
|
430
|
+
}
|
431
|
+
.highcharts-scrollbar-arrow {
|
432
|
+
fill: $neutral-color-60;
|
433
|
+
}
|
434
|
+
.highcharts-scrollbar-rifles {
|
435
|
+
stroke: $neutral-color-60;
|
436
|
+
stroke-width: 1px;
|
437
|
+
}
|
438
|
+
.highcharts-scrollbar-track {
|
439
|
+
fill: $neutral-color-5;
|
440
|
+
stroke: $neutral-color-5;
|
441
|
+
stroke-width: 1px;
|
442
|
+
}
|
443
|
+
.highcharts-button {
|
444
|
+
fill: $neutral-color-3;
|
445
|
+
stroke: $neutral-color-20;
|
446
|
+
cursor: default;
|
447
|
+
stroke-width: 1px;
|
448
|
+
transition: fill 250ms;
|
449
|
+
}
|
450
|
+
.highcharts-button text {
|
451
|
+
fill: $neutral-color-80;
|
452
|
+
}
|
453
|
+
.highcharts-button-hover {
|
454
|
+
transition: fill 0ms;
|
455
|
+
fill: $neutral-color-10;
|
456
|
+
stroke: $neutral-color-80;
|
457
|
+
}
|
458
|
+
.highcharts-button-pressed {
|
459
|
+
font-weight: bold;
|
460
|
+
fill: $highlight-color-10;
|
461
|
+
stroke: $highlight-color-80;
|
462
|
+
}
|
463
|
+
.highcharts-button-disabled text {
|
464
|
+
fill: $neutral-color-20;
|
465
|
+
}
|
466
|
+
.highcharts-range-selector-buttons .highcharts-button {
|
467
|
+
stroke-width: 0;
|
468
|
+
}
|
469
|
+
.highcharts-range-label rect {
|
470
|
+
fill: none;
|
471
|
+
}
|
472
|
+
.highcharts-range-label text {
|
473
|
+
fill: $neutral-color-60;
|
474
|
+
}
|
475
|
+
.highcharts-range-input rect {
|
476
|
+
fill: none;
|
477
|
+
}
|
478
|
+
.highcharts-range-input text {
|
479
|
+
fill: $neutral-color-80;
|
480
|
+
}
|
481
|
+
input.highcharts-range-selector {
|
482
|
+
position: absolute;
|
483
|
+
border: 0;
|
484
|
+
width: 1px; /* Chrome needs a pixel to see it */
|
485
|
+
height: 1px;
|
486
|
+
padding: 0;
|
487
|
+
text-align: center;
|
488
|
+
left: -9em; /* #4798 */
|
489
|
+
}
|
490
|
+
.highcharts-crosshair-label text {
|
491
|
+
fill: $background-color;
|
492
|
+
font-size: 1.1em;
|
493
|
+
}
|
494
|
+
.highcharts-crosshair-label .highcharts-label-box {
|
495
|
+
fill: inherit;
|
496
|
+
}
|
497
|
+
|
498
|
+
|
499
|
+
.highcharts-candlestick-series .highcharts-point {
|
500
|
+
stroke: $neutral-color-100;
|
501
|
+
stroke-width: 1px;
|
502
|
+
}
|
503
|
+
.highcharts-candlestick-series .highcharts-point-up {
|
504
|
+
fill: $background-color;
|
505
|
+
}
|
506
|
+
.highcharts-ohlc-series .highcharts-point-hover {
|
507
|
+
stroke-width: 3px;
|
508
|
+
}
|
509
|
+
.highcharts-flags-series .highcharts-point {
|
510
|
+
stroke: $neutral-color-40;
|
511
|
+
fill: $background-color;
|
512
|
+
}
|
513
|
+
.highcharts-flags-series .highcharts-point-hover {
|
514
|
+
stroke: $neutral-color-100;
|
515
|
+
fill: $highlight-color-20;
|
516
|
+
}
|
517
|
+
.highcharts-flags-series .highcharts-point text {
|
518
|
+
fill: $neutral-color-100;
|
519
|
+
font-size: 0.9em;
|
520
|
+
font-weight: bold;
|
521
|
+
}
|
522
|
+
|
523
|
+
/* Highmaps */
|
524
|
+
.highcharts-map-series .highcharts-point {
|
525
|
+
transition: fill 500ms, fill-opacity 500ms, stroke-width 250ms;
|
526
|
+
stroke: $neutral-color-20;
|
527
|
+
}
|
528
|
+
.highcharts-map-series .highcharts-point-hover {
|
529
|
+
transition: fill 0ms, fill-opacity 0ms;
|
530
|
+
fill-opacity: 0.5;
|
531
|
+
stroke-width: 2px;
|
532
|
+
}
|
533
|
+
.highcharts-mapline-series .highcharts-point {
|
534
|
+
fill: none;
|
535
|
+
}
|
536
|
+
.highcharts-heatmap-series .highcharts-point {
|
537
|
+
stroke-width: 0;
|
538
|
+
}
|
539
|
+
.highcharts-map-navigation {
|
540
|
+
font-size: 1.3em;
|
541
|
+
font-weight: bold;
|
542
|
+
text-align: center;
|
543
|
+
}
|
544
|
+
.highcharts-coloraxis {
|
545
|
+
stroke-width: 0;
|
546
|
+
}
|
547
|
+
.highcharts-coloraxis-marker {
|
548
|
+
fill: $neutral-color-40;
|
549
|
+
}
|
550
|
+
.highcharts-null-point {
|
551
|
+
fill: $neutral-color-3;
|
552
|
+
}
|
553
|
+
|
554
|
+
/* 3d charts */
|
555
|
+
.highcharts-3d-frame {
|
556
|
+
fill: transparent;
|
557
|
+
}
|
558
|
+
.highcharts-column-series .highcharts-point {
|
559
|
+
stroke: inherit; /* use point color */
|
560
|
+
}
|
561
|
+
|
562
|
+
/* Exporting module */
|
563
|
+
.highcharts-contextbutton {
|
564
|
+
fill: $background-color; /* needed to capture hover */
|
565
|
+
stroke: none;
|
566
|
+
stroke-linecap: round;
|
567
|
+
}
|
568
|
+
.highcharts-contextbutton:hover {
|
569
|
+
fill: $neutral-color-10;
|
570
|
+
stroke: $neutral-color-10;
|
571
|
+
}
|
572
|
+
.highcharts-button-symbol {
|
573
|
+
stroke: $neutral-color-60;
|
574
|
+
stroke-width: 3px;
|
575
|
+
}
|
576
|
+
.highcharts-menu {
|
577
|
+
border: 1px solid $neutral-color-40;
|
578
|
+
background: $background-color;
|
579
|
+
padding: 5px 0;
|
580
|
+
box-shadow: 3px 3px 10px #888;
|
581
|
+
}
|
582
|
+
.highcharts-menu-item {
|
583
|
+
padding: 0.5em 1em;
|
584
|
+
background: none;
|
585
|
+
color: $neutral-color-80;
|
586
|
+
cursor: pointer;
|
587
|
+
transition: background 250ms, color 250ms;
|
588
|
+
}
|
589
|
+
.highcharts-menu-item:hover {
|
590
|
+
background: $highlight-color-80;
|
591
|
+
color: $background-color;
|
592
|
+
}
|
593
|
+
|
594
|
+
/* Drilldown module */
|
595
|
+
.highcharts-drilldown-point {
|
596
|
+
cursor: pointer;
|
597
|
+
}
|
598
|
+
.highcharts-drilldown-data-label text, .highcharts-drilldown-axis-label {
|
599
|
+
cursor: pointer;
|
600
|
+
fill: $highlight-color-100;
|
601
|
+
font-weight: bold;
|
602
|
+
text-decoration: underline;
|
603
|
+
}
|
604
|
+
|
605
|
+
/* No-data module */
|
606
|
+
.highcharts-no-data text {
|
607
|
+
font-weight: bold;
|
608
|
+
font-size: 12px;
|
609
|
+
fill: $neutral-color-60;
|
610
|
+
}
|