@vaadin/charts 25.0.0-alpha16 → 25.0.0-alpha17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +9 -9
- package/src/styles/vaadin-chart-base-styles.js +394 -210
- package/src/vaadin-chart-mixin.d.ts +2 -2
- package/src/vaadin-chart-mixin.js +116 -26
- package/src/vaadin-chart.d.ts +2 -2
- package/src/vaadin-chart.js +5 -3
- package/web-types.json +4 -4
- package/web-types.lit.json +4 -4
|
@@ -32,35 +32,33 @@ const tooltipStyles = (scope) => css`
|
|
|
32
32
|
filter: drop-shadow(var(--vaadin-charts-tooltip-shadow, 0 4px 8px rgba(0, 0, 0, 0.2))) !important;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
${unsafeCSS(scope)} .highcharts-tooltip text
|
|
36
|
-
|
|
35
|
+
${unsafeCSS(scope)} .highcharts-tooltip text,
|
|
36
|
+
${unsafeCSS(scope)} .highcharts-tooltip foreignObject span {
|
|
37
|
+
fill: var(--highcharts-neutral-color-80, var(--vaadin-charts-data-label, var(--vaadin-color)));
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
${unsafeCSS(scope)} .highcharts-tooltip .highcharts-tracker {
|
|
41
|
+
fill: none;
|
|
42
|
+
stroke: none;
|
|
37
43
|
}
|
|
38
44
|
|
|
39
45
|
${unsafeCSS(scope)} .highcharts-tooltip .highcharts-header {
|
|
40
46
|
font-size: 0.85em;
|
|
41
|
-
color: var(--vaadin-color-subtle);
|
|
47
|
+
color: var(--highcharts-neutral-color-60, var(--vaadin-color-subtle));
|
|
42
48
|
}
|
|
43
49
|
|
|
44
50
|
${unsafeCSS(scope)} .highcharts-tooltip-box {
|
|
45
|
-
stroke-width:
|
|
46
|
-
|
|
47
|
-
fill: var(--vaadin-charts-tooltip-background, var(--vaadin-background-color));
|
|
48
|
-
fill-opacity: var(--vaadin-charts-tooltip-background-opacity, 1);
|
|
51
|
+
stroke-width: 0;
|
|
52
|
+
fill: var(--highcharts-background-color, var(--vaadin-charts-tooltip-background, var(--vaadin-background-color)));
|
|
49
53
|
}
|
|
50
54
|
|
|
51
55
|
${unsafeCSS(scope)} .highcharts-tooltip-box .highcharts-label-box {
|
|
52
|
-
fill: var(--vaadin-charts-tooltip-background, var(--vaadin-background-color));
|
|
53
|
-
fill-opacity: var(--vaadin-charts-tooltip-background-opacity, 1);
|
|
54
|
-
stroke: var(--vaadin-charts-tooltip-border, var(--vaadin-border-color-subtle));
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
${unsafeCSS(scope)} .highcharts-tooltip-header {
|
|
58
|
-
stroke-width: 1px;
|
|
59
|
-
stroke: color-mix(in srgb, var(--vaadin-charts-contrast, var(--_label)) 20%, transparent);
|
|
56
|
+
fill: var(--highcharts-background-color, var(--vaadin-charts-tooltip-background, var(--vaadin-background-color)));
|
|
60
57
|
}
|
|
61
58
|
|
|
62
59
|
${unsafeCSS(scope)} div.highcharts-tooltip {
|
|
63
60
|
filter: none;
|
|
61
|
+
font-size: 0.8em;
|
|
64
62
|
}
|
|
65
63
|
`;
|
|
66
64
|
|
|
@@ -80,6 +78,7 @@ export const chartStyles = css`
|
|
|
80
78
|
:host {
|
|
81
79
|
display: block;
|
|
82
80
|
width: 100%;
|
|
81
|
+
height: 100%;
|
|
83
82
|
overflow: hidden;
|
|
84
83
|
}
|
|
85
84
|
|
|
@@ -91,16 +90,16 @@ export const chartStyles = css`
|
|
|
91
90
|
/* Needs to be a color, not a background image */
|
|
92
91
|
--_bg: var(--vaadin-charts-background, var(--vaadin-background-color));
|
|
93
92
|
|
|
94
|
-
--_color-0: var(--vaadin-charts-color-0, var(--vaadin-user-color-0));
|
|
95
|
-
--_color-1: var(--vaadin-charts-color-1, var(--vaadin-user-color-1));
|
|
96
|
-
--_color-2: var(--vaadin-charts-color-2, var(--vaadin-user-color-2));
|
|
97
|
-
--_color-3: var(--vaadin-charts-color-3, var(--vaadin-user-color-3));
|
|
98
|
-
--_color-4: var(--vaadin-charts-color-4, var(--vaadin-user-color-4));
|
|
99
|
-
--_color-5: var(--vaadin-charts-color-5, var(--vaadin-user-color-5));
|
|
100
|
-
--_color-6: var(--vaadin-charts-color-6, var(--vaadin-user-color-6));
|
|
101
|
-
--_color-7: var(--vaadin-charts-color-7, var(--vaadin-user-color-7));
|
|
102
|
-
--_color-8: var(--vaadin-charts-color-8, var(--vaadin-user-color-8));
|
|
103
|
-
--_color-9: var(--vaadin-charts-color-9, var(--vaadin-user-color-9));
|
|
93
|
+
--_color-0: var(--highcharts-color-0, var(--vaadin-charts-color-0, var(--vaadin-user-color-0)));
|
|
94
|
+
--_color-1: var(--highcharts-color-1, var(--vaadin-charts-color-1, var(--vaadin-user-color-1)));
|
|
95
|
+
--_color-2: var(--highcharts-color-2, var(--vaadin-charts-color-2, var(--vaadin-user-color-2)));
|
|
96
|
+
--_color-3: var(--highcharts-color-3, var(--vaadin-charts-color-3, var(--vaadin-user-color-3)));
|
|
97
|
+
--_color-4: var(--highcharts-color-4, var(--vaadin-charts-color-4, var(--vaadin-user-color-4)));
|
|
98
|
+
--_color-5: var(--highcharts-color-5, var(--vaadin-charts-color-5, var(--vaadin-user-color-5)));
|
|
99
|
+
--_color-6: var(--highcharts-color-6, var(--vaadin-charts-color-6, var(--vaadin-user-color-6)));
|
|
100
|
+
--_color-7: var(--highcharts-color-7, var(--vaadin-charts-color-7, var(--vaadin-user-color-7)));
|
|
101
|
+
--_color-8: var(--highcharts-color-8, var(--vaadin-charts-color-8, var(--vaadin-user-color-8)));
|
|
102
|
+
--_color-9: var(--highcharts-color-9, var(--vaadin-charts-color-9, var(--vaadin-user-color-9)));
|
|
104
103
|
|
|
105
104
|
--_color-0-label: oklch(from var(--_color-0) clamp(0, (0.62 - l) * 1000, 1) 0 0);
|
|
106
105
|
--_color-1-label: oklch(from var(--_color-1) clamp(0, (0.62 - l) * 1000, 1) 0 0);
|
|
@@ -149,8 +148,16 @@ export const chartStyles = css`
|
|
|
149
148
|
width: 100%;
|
|
150
149
|
height: 100%;
|
|
151
150
|
text-align: left;
|
|
152
|
-
|
|
151
|
+
line-height: normal;
|
|
152
|
+
z-index: 0; /* highcharts/highcharts#1072 */
|
|
153
153
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
154
|
+
user-select: none;
|
|
155
|
+
touch-action: manipulation;
|
|
156
|
+
outline: none;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
:where([styled-mode]) .highcharts-no-touch-action {
|
|
160
|
+
touch-action: none;
|
|
154
161
|
}
|
|
155
162
|
|
|
156
163
|
:where([styled-mode]) .highcharts-root {
|
|
@@ -162,7 +169,7 @@ export const chartStyles = css`
|
|
|
162
169
|
}
|
|
163
170
|
|
|
164
171
|
:where([styled-mode]) .highcharts-strong {
|
|
165
|
-
font-weight:
|
|
172
|
+
font-weight: bold;
|
|
166
173
|
}
|
|
167
174
|
|
|
168
175
|
:where([styled-mode]) .highcharts-emphasized {
|
|
@@ -174,7 +181,7 @@ export const chartStyles = css`
|
|
|
174
181
|
}
|
|
175
182
|
|
|
176
183
|
:where([styled-mode]) .highcharts-background {
|
|
177
|
-
fill: var(--_bg);
|
|
184
|
+
fill: var(--highcharts-background-color, var(--_bg));
|
|
178
185
|
}
|
|
179
186
|
|
|
180
187
|
:where([styled-mode]) .highcharts-plot-border,
|
|
@@ -186,6 +193,10 @@ export const chartStyles = css`
|
|
|
186
193
|
fill: none;
|
|
187
194
|
}
|
|
188
195
|
|
|
196
|
+
:where([styled-mode]) .highcharts-label text {
|
|
197
|
+
fill: var(--highcharts-neutral-color-80, var(--_data-label));
|
|
198
|
+
}
|
|
199
|
+
|
|
189
200
|
:where([styled-mode]) .highcharts-button-box {
|
|
190
201
|
fill: inherit;
|
|
191
202
|
rx: var(--vaadin-charts-button-border-radius, var(--vaadin-radius-m));
|
|
@@ -206,19 +217,20 @@ export const chartStyles = css`
|
|
|
206
217
|
|
|
207
218
|
/* Titles */
|
|
208
219
|
:where([styled-mode]) .highcharts-title {
|
|
209
|
-
fill: var(--vaadin-charts-title-label, var(--_label));
|
|
210
|
-
font-size: 1.
|
|
211
|
-
font-weight:
|
|
220
|
+
fill: var(--highcharts-neutral-color-80, var(--vaadin-charts-title-label, var(--_label)));
|
|
221
|
+
font-size: 1.6em;
|
|
222
|
+
font-weight: bold;
|
|
212
223
|
}
|
|
213
224
|
|
|
214
225
|
:where([styled-mode]) .highcharts-subtitle {
|
|
215
|
-
fill: var(--_secondary-label);
|
|
226
|
+
fill: var(--highcharts-neutral-color-60, var(--_secondary-label));
|
|
227
|
+
font-size: 1em;
|
|
216
228
|
}
|
|
217
229
|
|
|
218
230
|
/* Axes */
|
|
219
231
|
:where([styled-mode]) .highcharts-axis-line {
|
|
220
232
|
fill: none;
|
|
221
|
-
stroke: var(--_axis-line);
|
|
233
|
+
stroke: var(--highcharts-neutral-color-80, var(--_axis-line));
|
|
222
234
|
}
|
|
223
235
|
|
|
224
236
|
:where([styled-mode]) .highcharts-yaxis .highcharts-axis-line {
|
|
@@ -226,18 +238,18 @@ export const chartStyles = css`
|
|
|
226
238
|
}
|
|
227
239
|
|
|
228
240
|
:where([styled-mode]) .highcharts-axis-title {
|
|
229
|
-
fill: var(--_axis-title);
|
|
241
|
+
fill: var(--highcharts-neutral-color-60, var(--_axis-title));
|
|
242
|
+
font-size: 1em;
|
|
230
243
|
}
|
|
231
244
|
|
|
232
245
|
:where([styled-mode]) .highcharts-axis-labels {
|
|
233
|
-
fill: var(--_axis-label);
|
|
246
|
+
fill: var(--highcharts-neutral-color-80, var(--_axis-label));
|
|
234
247
|
cursor: default;
|
|
235
|
-
font-size: 0.9em;
|
|
236
248
|
}
|
|
237
249
|
|
|
238
250
|
:where([styled-mode]) .highcharts-grid-line {
|
|
239
251
|
fill: none;
|
|
240
|
-
stroke: var(--_grid-line);
|
|
252
|
+
stroke: var(--highcharts-neutral-color-10, var(--_grid-line));
|
|
241
253
|
}
|
|
242
254
|
|
|
243
255
|
:where([styled-mode]) .highcharts-xaxis-grid .highcharts-grid-line {
|
|
@@ -245,7 +257,7 @@ export const chartStyles = css`
|
|
|
245
257
|
}
|
|
246
258
|
|
|
247
259
|
:where([styled-mode]) .highcharts-tick {
|
|
248
|
-
stroke: var(--_grid-line);
|
|
260
|
+
stroke: var(--highcharts-neutral-color-80, var(--_grid-line));
|
|
249
261
|
}
|
|
250
262
|
|
|
251
263
|
:where([styled-mode]) .highcharts-yaxis .highcharts-tick {
|
|
@@ -253,23 +265,23 @@ export const chartStyles = css`
|
|
|
253
265
|
}
|
|
254
266
|
|
|
255
267
|
:where([styled-mode]) .highcharts-minor-grid-line {
|
|
256
|
-
stroke: var(--_minor-grid-line);
|
|
268
|
+
stroke: var(--highcharts-neutral-color-5, var(--_minor-grid-line));
|
|
257
269
|
}
|
|
258
270
|
|
|
259
271
|
:where([styled-mode]) .highcharts-crosshair-thin {
|
|
260
272
|
stroke-width: 1px;
|
|
261
|
-
stroke: var(--_grid-line);
|
|
273
|
+
stroke: var(--highcharts-neutral-color-20, var(--_grid-line));
|
|
262
274
|
}
|
|
263
275
|
|
|
264
276
|
:where([styled-mode]) .highcharts-crosshair-category {
|
|
265
|
-
stroke: var(--_color-0);
|
|
277
|
+
stroke: var(--highcharts-highlight-color-20, var(--_color-0));
|
|
266
278
|
stroke-opacity: 0.25;
|
|
267
279
|
}
|
|
268
280
|
|
|
269
281
|
/* Credits */
|
|
270
282
|
:where([styled-mode]) .highcharts-credits {
|
|
271
283
|
cursor: pointer;
|
|
272
|
-
fill: var(--_disabled-label);
|
|
284
|
+
fill: var(--highcharts-neutral-color-40, var(--_disabled-label));
|
|
273
285
|
font-size: 0.7em;
|
|
274
286
|
transition:
|
|
275
287
|
fill 250ms,
|
|
@@ -277,15 +289,15 @@ export const chartStyles = css`
|
|
|
277
289
|
}
|
|
278
290
|
|
|
279
291
|
:where([styled-mode]) .highcharts-credits:hover {
|
|
280
|
-
fill: black;
|
|
281
|
-
font-size:
|
|
292
|
+
fill: var(--highcharts-neutral-color-100, black);
|
|
293
|
+
font-size: 0.8em;
|
|
282
294
|
}
|
|
283
295
|
|
|
284
296
|
/* Tooltip */
|
|
285
297
|
${unsafeCSS(tooltipStyles(':where([styled-mode])'))};
|
|
286
298
|
|
|
287
299
|
:where([styled-mode]) .highcharts-selection-marker {
|
|
288
|
-
fill: var(--_color-0);
|
|
300
|
+
fill: var(--highcharts-highlight-color-80, var(--_color-0));
|
|
289
301
|
fill-opacity: 0.25;
|
|
290
302
|
}
|
|
291
303
|
|
|
@@ -296,30 +308,32 @@ export const chartStyles = css`
|
|
|
296
308
|
stroke-linejoin: round;
|
|
297
309
|
}
|
|
298
310
|
|
|
311
|
+
:where([styled-mode]) .highcharts-empty-series {
|
|
312
|
+
stroke-width: 1px;
|
|
313
|
+
fill: none;
|
|
314
|
+
stroke: var(--highcharts-neutral-color-20, var(--_color-0));
|
|
315
|
+
}
|
|
316
|
+
|
|
299
317
|
:where([styled-mode]) .highcharts-state-hover .highcharts-graph {
|
|
300
318
|
stroke-width: calc(var(--vaadin-chart-graph-stroke-width, 2) + 1);
|
|
301
319
|
}
|
|
302
320
|
|
|
303
321
|
:where([styled-mode]) .highcharts-point-inactive {
|
|
304
322
|
opacity: 0.2;
|
|
305
|
-
transition: opacity 50ms;
|
|
306
|
-
/* quick in */
|
|
323
|
+
transition: opacity 50ms; /* quick in */
|
|
307
324
|
}
|
|
308
325
|
|
|
309
326
|
:where([styled-mode]) .highcharts-series-inactive {
|
|
310
327
|
opacity: 0.2;
|
|
311
|
-
transition: opacity 50ms;
|
|
312
|
-
/* quick in */
|
|
328
|
+
transition: opacity 50ms; /* quick in */
|
|
313
329
|
}
|
|
314
330
|
|
|
315
331
|
:where([styled-mode]) .highcharts-state-hover path {
|
|
316
|
-
transition: stroke-width 50ms;
|
|
317
|
-
/* quick in */
|
|
332
|
+
transition: stroke-width 50ms; /* quick in */
|
|
318
333
|
}
|
|
319
334
|
|
|
320
335
|
:where([styled-mode]) .highcharts-state-normal path {
|
|
321
|
-
transition: stroke-width 250ms;
|
|
322
|
-
/* slow out */
|
|
336
|
+
transition: stroke-width 250ms; /* slow out */
|
|
323
337
|
}
|
|
324
338
|
|
|
325
339
|
/* Legend hover affects points and series */
|
|
@@ -331,16 +345,17 @@ export const chartStyles = css`
|
|
|
331
345
|
}
|
|
332
346
|
|
|
333
347
|
:where([styled-mode]) .highcharts-legend-series-active g.highcharts-series:not(.highcharts-series-hover),
|
|
334
|
-
:where([styled-mode])
|
|
348
|
+
:where([styled-mode])
|
|
349
|
+
.highcharts-legend-point-active
|
|
350
|
+
.highcharts-point:not(.highcharts-point-hover, .highcharts-point-select),
|
|
335
351
|
:where([styled-mode]) .highcharts-legend-series-active .highcharts-markers:not(.highcharts-series-hover),
|
|
336
352
|
:where([styled-mode]) .highcharts-legend-series-active .highcharts-data-labels:not(.highcharts-series-hover) {
|
|
337
353
|
opacity: 0.2;
|
|
338
354
|
}
|
|
339
355
|
|
|
340
356
|
/* Series options */
|
|
357
|
+
|
|
341
358
|
/* Default colors */
|
|
342
|
-
/* vaadin-charts custom properties */
|
|
343
|
-
/* Use of :where() function to avoid setting classes with high specificity */
|
|
344
359
|
:where([styled-mode]) .highcharts-color-0 {
|
|
345
360
|
fill: var(--_color-0);
|
|
346
361
|
stroke: var(--_color-0);
|
|
@@ -445,21 +460,20 @@ export const chartStyles = css`
|
|
|
445
460
|
fill: currentColor;
|
|
446
461
|
}
|
|
447
462
|
|
|
448
|
-
/*
|
|
449
|
-
|
|
463
|
+
/* Various series-specific */
|
|
450
464
|
:where([styled-mode]) .highcharts-area {
|
|
451
|
-
fill-opacity: 0.
|
|
465
|
+
fill-opacity: 0.75;
|
|
452
466
|
stroke-width: 0;
|
|
453
467
|
}
|
|
454
468
|
|
|
455
469
|
:where([styled-mode]) .highcharts-markers {
|
|
456
470
|
stroke-width: 1px;
|
|
457
|
-
stroke: var(--_bg);
|
|
471
|
+
stroke: var(--highcharts-background-color, var(--_bg));
|
|
458
472
|
}
|
|
459
473
|
|
|
460
474
|
:where([styled-mode])
|
|
461
475
|
.highcharts-a11y-markers-hidden
|
|
462
|
-
.highcharts-point:not(.highcharts-point-hover
|
|
476
|
+
.highcharts-point:not(.highcharts-point-hover, .highcharts-a11y-marker-visible),
|
|
463
477
|
:where([styled-mode]) .highcharts-a11y-marker-hidden {
|
|
464
478
|
opacity: 0;
|
|
465
479
|
}
|
|
@@ -472,9 +486,10 @@ export const chartStyles = css`
|
|
|
472
486
|
stroke-width: 0;
|
|
473
487
|
}
|
|
474
488
|
|
|
475
|
-
:where([styled-mode]) .highcharts-data-label
|
|
489
|
+
:where([styled-mode]) .highcharts-data-label text,
|
|
490
|
+
:where([styled-mode]) .highcharts-data-label span,
|
|
491
|
+
:where([styled-mode]) text.highcharts-data-label {
|
|
476
492
|
font-size: 0.9em;
|
|
477
|
-
font-weight: normal;
|
|
478
493
|
}
|
|
479
494
|
|
|
480
495
|
:where([styled-mode]) .highcharts-data-label-box {
|
|
@@ -484,7 +499,7 @@ export const chartStyles = css`
|
|
|
484
499
|
|
|
485
500
|
:where([styled-mode]) .highcharts-data-label text,
|
|
486
501
|
:where([styled-mode]) text.highcharts-data-label {
|
|
487
|
-
fill: var(--_data-label);
|
|
502
|
+
fill: var(--highcharts-neutral-color-80, var(--_data-label));
|
|
488
503
|
}
|
|
489
504
|
|
|
490
505
|
:where([styled-mode]) .highcharts-data-label-connector {
|
|
@@ -500,29 +515,37 @@ export const chartStyles = css`
|
|
|
500
515
|
stroke-width: 0;
|
|
501
516
|
}
|
|
502
517
|
|
|
518
|
+
:where([styled-mode]) .highcharts-series-label text {
|
|
519
|
+
fill: inherit;
|
|
520
|
+
font-weight: bold;
|
|
521
|
+
}
|
|
522
|
+
|
|
503
523
|
:where([styled-mode]) .highcharts-series:not(.highcharts-pie-series) .highcharts-point-select,
|
|
504
524
|
:where([styled-mode]) .highcharts-markers .highcharts-point-select {
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
stroke: var(--vaadin-charts-contrast, var(--_label));
|
|
525
|
+
fill: var(--highcharts-neutral-color-20, var(--_grid-line));
|
|
526
|
+
stroke: var(--highcharts-neutral-color-100, var(--vaadin-charts-contrast, var(--_label)));
|
|
508
527
|
}
|
|
509
528
|
|
|
510
|
-
:where([styled-mode]) .highcharts-column-series
|
|
511
|
-
|
|
529
|
+
:where([styled-mode]) .highcharts-column-series path.highcharts-point,
|
|
530
|
+
:where([styled-mode]) .highcharts-bar-series path.highcharts-point {
|
|
531
|
+
/* path to prevent stroke on 3D columns and bars */
|
|
532
|
+
stroke: var(--highcharts-background-color, var(--_point-border));
|
|
512
533
|
}
|
|
513
534
|
|
|
514
|
-
:where([styled-mode]) .highcharts-column-series .highcharts-point
|
|
535
|
+
:where([styled-mode]) .highcharts-column-series .highcharts-point,
|
|
536
|
+
:where([styled-mode]) .highcharts-bar-series .highcharts-point {
|
|
515
537
|
transition: fill-opacity 250ms;
|
|
516
538
|
}
|
|
517
539
|
|
|
518
|
-
:where([styled-mode]) .highcharts-column-series .highcharts-point-hover
|
|
540
|
+
:where([styled-mode]) .highcharts-column-series .highcharts-point-hover,
|
|
541
|
+
:where([styled-mode]) .highcharts-bar-series .highcharts-point-hover {
|
|
519
542
|
fill-opacity: 0.75;
|
|
520
543
|
transition: fill-opacity 50ms;
|
|
521
544
|
}
|
|
522
545
|
|
|
523
546
|
:where([styled-mode]) .highcharts-pie-series .highcharts-point {
|
|
524
547
|
stroke-linejoin: round;
|
|
525
|
-
stroke: var(--_point-border);
|
|
548
|
+
stroke: var(--highcharts-background-color, var(--_point-border));
|
|
526
549
|
}
|
|
527
550
|
|
|
528
551
|
:where([styled-mode]) .highcharts-pie-series .highcharts-point-hover {
|
|
@@ -532,8 +555,7 @@ export const chartStyles = css`
|
|
|
532
555
|
|
|
533
556
|
:where([styled-mode]) .highcharts-funnel-series .highcharts-point {
|
|
534
557
|
stroke-linejoin: round;
|
|
535
|
-
stroke: var(--_point-border);
|
|
536
|
-
stroke-width: 2px;
|
|
558
|
+
stroke: var(--highcharts-background-color, var(--_point-border));
|
|
537
559
|
}
|
|
538
560
|
|
|
539
561
|
:where([styled-mode]) .highcharts-funnel-series .highcharts-point-hover {
|
|
@@ -548,8 +570,7 @@ export const chartStyles = css`
|
|
|
548
570
|
|
|
549
571
|
:where([styled-mode]) .highcharts-pyramid-series .highcharts-point {
|
|
550
572
|
stroke-linejoin: round;
|
|
551
|
-
stroke: var(--_point-border);
|
|
552
|
-
stroke-width: 2px;
|
|
573
|
+
stroke: var(--highcharts-background-color, var(--_point-border));
|
|
553
574
|
}
|
|
554
575
|
|
|
555
576
|
:where([styled-mode]) .highcharts-pyramid-series .highcharts-point-hover {
|
|
@@ -567,8 +588,8 @@ export const chartStyles = css`
|
|
|
567
588
|
}
|
|
568
589
|
|
|
569
590
|
:where([styled-mode]) .highcharts-treemap-series .highcharts-point {
|
|
570
|
-
stroke-width:
|
|
571
|
-
stroke: var(--_point-border);
|
|
591
|
+
stroke-width: 1px;
|
|
592
|
+
stroke: var(--highcharts-background-color, var(--_point-border));
|
|
572
593
|
transition:
|
|
573
594
|
stroke 250ms,
|
|
574
595
|
fill 250ms,
|
|
@@ -576,9 +597,7 @@ export const chartStyles = css`
|
|
|
576
597
|
}
|
|
577
598
|
|
|
578
599
|
:where([styled-mode]) .highcharts-treemap-series .highcharts-point-hover {
|
|
579
|
-
stroke
|
|
580
|
-
stroke: var(--_point-border);
|
|
581
|
-
fill-opacity: 0.75;
|
|
600
|
+
stroke: var(--highcharts-neutral-color-40, var(--_point-border));
|
|
582
601
|
transition:
|
|
583
602
|
stroke 25ms,
|
|
584
603
|
fill 25ms,
|
|
@@ -602,10 +621,6 @@ export const chartStyles = css`
|
|
|
602
621
|
fill-opacity: 0.75;
|
|
603
622
|
}
|
|
604
623
|
|
|
605
|
-
:where([styled-mode]) .highcharts-treemap-series [class*='highcharts-data-label-color-'] text {
|
|
606
|
-
fill: inherit;
|
|
607
|
-
}
|
|
608
|
-
|
|
609
624
|
:where([styled-mode]) .highcharts-vector-series .highcharts-point {
|
|
610
625
|
fill: none;
|
|
611
626
|
stroke-width: 2px;
|
|
@@ -617,8 +632,7 @@ export const chartStyles = css`
|
|
|
617
632
|
}
|
|
618
633
|
|
|
619
634
|
:where([styled-mode]) .highcharts-lollipop-stem {
|
|
620
|
-
|
|
621
|
-
stroke: var(--vaadin-charts-contrast, var(--_label));
|
|
635
|
+
stroke: var(--highcharts-neutral-color-100, var(--vaadin-charts-contrast, var(--_label)));
|
|
622
636
|
}
|
|
623
637
|
|
|
624
638
|
:where([styled-mode]) .highcharts-focus-border {
|
|
@@ -636,35 +650,32 @@ export const chartStyles = css`
|
|
|
636
650
|
stroke-width: 0;
|
|
637
651
|
}
|
|
638
652
|
|
|
639
|
-
:where([styled-mode]) .highcharts-legend-item > text
|
|
640
|
-
|
|
641
|
-
|
|
653
|
+
:where([styled-mode]) .highcharts-legend-item > text,
|
|
654
|
+
:where([styled-mode]) .highcharts-legend-item span {
|
|
655
|
+
fill: var(--highcharts-neutral-color-80, var(--_data-label));
|
|
642
656
|
font-size: 1em;
|
|
643
657
|
cursor: pointer;
|
|
644
658
|
stroke-width: 0;
|
|
645
659
|
}
|
|
646
660
|
|
|
647
|
-
:where([styled-mode]) .highcharts-legend-item > .highcharts-point {
|
|
648
|
-
stroke-width: 0;
|
|
649
|
-
}
|
|
650
|
-
|
|
651
661
|
:where([styled-mode]) .highcharts-legend-item:hover text {
|
|
652
|
-
fill: var(--vaadin-charts-title-label, var(--_label));
|
|
662
|
+
fill: var(--highcharts-neutral-color-100, var(--vaadin-charts-title-label, var(--_label)));
|
|
653
663
|
}
|
|
654
664
|
|
|
655
665
|
:where([styled-mode]) .highcharts-legend-item-hidden * {
|
|
656
|
-
fill: var(--_disabled-label) !important;
|
|
657
|
-
stroke: var(--_disabled-label) !important;
|
|
666
|
+
fill: var(--highcharts-neutral-color-60, var(--_disabled-label)) !important;
|
|
667
|
+
stroke: var(--highcharts-neutral-color-60, var(--_disabled-label)) !important;
|
|
658
668
|
transition: fill 250ms;
|
|
669
|
+
text-decoration: line-through;
|
|
659
670
|
}
|
|
660
671
|
|
|
661
672
|
:where([styled-mode]) .highcharts-legend-nav-active {
|
|
662
|
-
fill: var(--vaadin-charts-button-label, var(--_label));
|
|
673
|
+
fill: var(--highcharts-highlight-color-100, var(--vaadin-charts-button-label, var(--_label)));
|
|
663
674
|
cursor: pointer;
|
|
664
675
|
}
|
|
665
676
|
|
|
666
677
|
:where([styled-mode]) .highcharts-legend-nav-inactive {
|
|
667
|
-
fill: var(--_disabled-label);
|
|
678
|
+
fill: var(--highcharts-neutral-color-20, var(--_disabled-label));
|
|
668
679
|
}
|
|
669
680
|
|
|
670
681
|
:where([styled-mode]) circle.highcharts-legend-nav-active,
|
|
@@ -689,13 +700,14 @@ export const chartStyles = css`
|
|
|
689
700
|
}
|
|
690
701
|
|
|
691
702
|
:where([styled-mode]) .highcharts-bubble-legend-labels {
|
|
692
|
-
fill: var(--_data-label);
|
|
703
|
+
fill: var(--highcharts-neutral-color-80, var(--_data-label));
|
|
704
|
+
font-size: 0.95em;
|
|
693
705
|
}
|
|
694
706
|
|
|
695
707
|
/* Loading */
|
|
696
708
|
:where([styled-mode]) .highcharts-loading {
|
|
697
709
|
position: absolute;
|
|
698
|
-
background-color: var(--_bg);
|
|
710
|
+
background-color: var(--highcharts-background-color, var(--_bg));
|
|
699
711
|
opacity: 0.5;
|
|
700
712
|
text-align: center;
|
|
701
713
|
z-index: 10;
|
|
@@ -712,7 +724,7 @@ export const chartStyles = css`
|
|
|
712
724
|
}
|
|
713
725
|
|
|
714
726
|
:where([styled-mode]) .highcharts-loading-inner {
|
|
715
|
-
font-weight:
|
|
727
|
+
font-weight: bold;
|
|
716
728
|
position: relative;
|
|
717
729
|
top: 45%;
|
|
718
730
|
}
|
|
@@ -720,24 +732,26 @@ export const chartStyles = css`
|
|
|
720
732
|
/* Plot bands and polar pane backgrounds */
|
|
721
733
|
:where([styled-mode]) .highcharts-plot-band,
|
|
722
734
|
:where([styled-mode]) .highcharts-pane {
|
|
723
|
-
fill: var(--vaadin-charts-contrast, var(--_label));
|
|
735
|
+
fill: var(--highcharts-neutral-color-100, var(--vaadin-charts-contrast, var(--_label)));
|
|
724
736
|
fill-opacity: 0.05;
|
|
725
737
|
}
|
|
726
738
|
|
|
727
739
|
:where([styled-mode]) .highcharts-plot-line {
|
|
728
740
|
fill: none;
|
|
729
|
-
|
|
730
|
-
|
|
741
|
+
stroke: var(
|
|
742
|
+
--highcharts-neutral-color-40,
|
|
743
|
+
color-mix(in srgb, var(--vaadin-charts-contrast, var(--_label)) 60%, transparent)
|
|
744
|
+
);
|
|
731
745
|
stroke-width: 1px;
|
|
732
746
|
}
|
|
733
747
|
|
|
734
748
|
:where([styled-mode]) .highcharts-plot-line-label {
|
|
735
|
-
|
|
749
|
+
font-size: 1em;
|
|
736
750
|
}
|
|
737
751
|
|
|
738
752
|
/* Highcharts More and modules */
|
|
739
753
|
:where([styled-mode]) .highcharts-boxplot-box {
|
|
740
|
-
fill: var(--_bg);
|
|
754
|
+
fill: var(--highcharts-background-color, var(--_bg));
|
|
741
755
|
}
|
|
742
756
|
|
|
743
757
|
:where([styled-mode]) .highcharts-boxplot-median {
|
|
@@ -749,16 +763,16 @@ export const chartStyles = css`
|
|
|
749
763
|
}
|
|
750
764
|
|
|
751
765
|
:where([styled-mode]) .highcharts-errorbar-series .highcharts-point {
|
|
752
|
-
stroke: var(--vaadin-charts-contrast, var(--_label));
|
|
766
|
+
stroke: var(--highcharts-neutral-color-100, var(--vaadin-charts-contrast, var(--_label)));
|
|
753
767
|
}
|
|
754
768
|
|
|
755
769
|
:where([styled-mode]) .highcharts-gauge-series .highcharts-data-label-box {
|
|
756
|
-
stroke: var(--_grid-line);
|
|
770
|
+
stroke: var(--highcharts-neutral-color-20, var(--_grid-line));
|
|
757
771
|
stroke-width: 1px;
|
|
758
772
|
}
|
|
759
773
|
|
|
760
774
|
:where([styled-mode]) .highcharts-gauge-series .highcharts-dial {
|
|
761
|
-
fill: var(--vaadin-charts-contrast, var(--_label));
|
|
775
|
+
fill: var(--highcharts-neutral-color-100, var(--vaadin-charts-contrast, var(--_label)));
|
|
762
776
|
stroke-width: 0;
|
|
763
777
|
}
|
|
764
778
|
|
|
@@ -768,7 +782,10 @@ export const chartStyles = css`
|
|
|
768
782
|
}
|
|
769
783
|
|
|
770
784
|
:where([styled-mode]) .highcharts-waterfall-series .highcharts-graph {
|
|
771
|
-
stroke:
|
|
785
|
+
stroke: var(
|
|
786
|
+
--highcharts-neutral-color-80,
|
|
787
|
+
color-mix(in srgb, var(--vaadin-charts-contrast, var(--_label)) 60%, transparent)
|
|
788
|
+
);
|
|
772
789
|
stroke-dasharray: 1, 3;
|
|
773
790
|
}
|
|
774
791
|
|
|
@@ -792,7 +809,7 @@ export const chartStyles = css`
|
|
|
792
809
|
|
|
793
810
|
:where([styled-mode]) .highcharts-venn-series .highcharts-point {
|
|
794
811
|
fill-opacity: 0.75;
|
|
795
|
-
stroke: var(--_point-border);
|
|
812
|
+
stroke: var(--highcharts-neutral-color-20, var(--_point-border));
|
|
796
813
|
transition:
|
|
797
814
|
stroke 250ms,
|
|
798
815
|
fill-opacity 250ms;
|
|
@@ -800,7 +817,11 @@ export const chartStyles = css`
|
|
|
800
817
|
|
|
801
818
|
:where([styled-mode]) .highcharts-venn-series .highcharts-point-hover {
|
|
802
819
|
fill-opacity: 1;
|
|
803
|
-
stroke: var(--_point-border);
|
|
820
|
+
stroke: var(--highcharts-neutral-color-20, var(--_point-border));
|
|
821
|
+
}
|
|
822
|
+
|
|
823
|
+
:where([styled-mode]) .highcharts-timeline-series .highcharts-graph {
|
|
824
|
+
stroke: var(--highcharts-neutral-color-20, var(--_point-border));
|
|
804
825
|
}
|
|
805
826
|
|
|
806
827
|
/* Highstock */
|
|
@@ -809,26 +830,25 @@ export const chartStyles = css`
|
|
|
809
830
|
}
|
|
810
831
|
|
|
811
832
|
:where([styled-mode]) .highcharts-navigator-mask-inside {
|
|
812
|
-
fill: var(--_color-0);
|
|
813
|
-
|
|
814
|
-
fill-opacity: 0.2;
|
|
833
|
+
fill: var(--highcharts-highlight-color-60, var(--_color-0)); /* navigator.maskFill option */
|
|
834
|
+
fill-opacity: 0.25;
|
|
815
835
|
cursor: ew-resize;
|
|
816
836
|
}
|
|
817
837
|
|
|
818
838
|
:where([styled-mode]) .highcharts-navigator-outline {
|
|
819
|
-
stroke: var(--_grid-line);
|
|
839
|
+
stroke: var(--highcharts-neutral-color-40, var(--_grid-line));
|
|
820
840
|
fill: none;
|
|
821
841
|
}
|
|
822
842
|
|
|
823
843
|
:where([styled-mode]) .highcharts-navigator-handle {
|
|
824
|
-
stroke: var(--_grid-line);
|
|
825
|
-
fill: var(--_bg);
|
|
844
|
+
stroke: var(--highcharts-neutral-color-40, var(--_grid-line));
|
|
845
|
+
fill: var(--highcharts-neutral-color-5, var(--_bg));
|
|
826
846
|
cursor: ew-resize;
|
|
827
847
|
}
|
|
828
848
|
|
|
829
849
|
:where([styled-mode]) .highcharts-navigator-series {
|
|
830
|
-
fill: var(--_color-1);
|
|
831
|
-
stroke: var(--_color-1);
|
|
850
|
+
fill: var(--highcharts-highlight-color-80, var(--_color-1));
|
|
851
|
+
stroke: var(--highcharts-highlight-color-80, var(--_color-1));
|
|
832
852
|
}
|
|
833
853
|
|
|
834
854
|
:where([styled-mode]) .highcharts-navigator-series .highcharts-graph {
|
|
@@ -845,11 +865,13 @@ export const chartStyles = css`
|
|
|
845
865
|
|
|
846
866
|
:where([styled-mode]) .highcharts-navigator-xaxis .highcharts-grid-line {
|
|
847
867
|
stroke-width: 1px;
|
|
848
|
-
stroke: var(--_grid-line);
|
|
868
|
+
stroke: var(--highcharts-neutral-color-10, var(--_grid-line));
|
|
849
869
|
}
|
|
850
870
|
|
|
851
871
|
:where([styled-mode]) .highcharts-navigator-xaxis.highcharts-axis-labels {
|
|
852
|
-
fill: var(--_secondary-label);
|
|
872
|
+
fill: var(--highcharts-neutral-color-100, var(--_secondary-label));
|
|
873
|
+
font-size: 0.95em;
|
|
874
|
+
opacity: 0.6;
|
|
853
875
|
}
|
|
854
876
|
|
|
855
877
|
:where([styled-mode]) .highcharts-navigator-yaxis .highcharts-grid-line {
|
|
@@ -857,61 +879,72 @@ export const chartStyles = css`
|
|
|
857
879
|
}
|
|
858
880
|
|
|
859
881
|
:where([styled-mode]) .highcharts-scrollbar-thumb {
|
|
860
|
-
fill:
|
|
882
|
+
fill: var(
|
|
883
|
+
--highcharts-neutral-color-20,
|
|
884
|
+
color-mix(in srgb, var(--vaadin-charts-contrast, var(--_label)) 20%, transparent)
|
|
885
|
+
);
|
|
861
886
|
}
|
|
862
887
|
|
|
863
888
|
:where([styled-mode]) .highcharts-scrollbar-button {
|
|
864
|
-
fill: var(--_bg);
|
|
889
|
+
fill: var(--highcharts-neutral-color-10, var(--_bg));
|
|
890
|
+
stroke: var(--highcharts-neutral-color-20);
|
|
891
|
+
stroke-width: 1px;
|
|
865
892
|
}
|
|
866
893
|
|
|
867
894
|
:where([styled-mode]) .highcharts-scrollbar-arrow {
|
|
868
|
-
fill: var(--_data-label);
|
|
895
|
+
fill: var(--highcharts-neutral-color-60, var(--_data-label));
|
|
869
896
|
}
|
|
870
897
|
|
|
871
898
|
:where([styled-mode]) .highcharts-scrollbar-rifles {
|
|
872
|
-
stroke:
|
|
899
|
+
stroke: none;
|
|
873
900
|
stroke-width: 1px;
|
|
874
901
|
}
|
|
875
902
|
|
|
876
903
|
:where([styled-mode]) .highcharts-scrollbar-track {
|
|
877
904
|
fill: color-mix(in srgb, var(--vaadin-charts-contrast, var(--_label)) 5%, transparent);
|
|
905
|
+
stroke: var(--highcharts-neutral-color-20);
|
|
906
|
+
stroke-width: 1px;
|
|
878
907
|
}
|
|
879
908
|
|
|
880
909
|
:where([styled-mode]) .highcharts-button {
|
|
881
|
-
fill: var(--vaadin-charts-button-background, var(--vaadin-background-container));
|
|
910
|
+
fill: var(--highcharts-neutral-color-3, var(--vaadin-charts-button-background, var(--vaadin-background-container)));
|
|
911
|
+
stroke: var(--highcharts-neutral-color-20);
|
|
882
912
|
cursor: default;
|
|
913
|
+
stroke-width: 1px;
|
|
883
914
|
transition: fill 250ms;
|
|
884
915
|
}
|
|
885
916
|
|
|
886
917
|
:where([styled-mode]) .highcharts-button text {
|
|
887
|
-
fill: var(--vaadin-charts-button-label, var(--_label));
|
|
888
|
-
font-
|
|
918
|
+
fill: var(--highcharts-neutral-color-80, var(--vaadin-charts-button-label, var(--_label)));
|
|
919
|
+
font-size: 1em;
|
|
889
920
|
}
|
|
890
921
|
|
|
891
922
|
:where([styled-mode]) .highcharts-button-hover {
|
|
892
923
|
transition: fill 0ms;
|
|
893
|
-
fill: var(
|
|
894
|
-
|
|
924
|
+
fill: var(
|
|
925
|
+
--highcharts-neutral-color-10,
|
|
926
|
+
var(--vaadin-charts-button-hover-background, var(--vaadin-background-container))
|
|
927
|
+
);
|
|
928
|
+
stroke: var(--highcharts-neutral-color-20);
|
|
895
929
|
}
|
|
896
930
|
|
|
897
931
|
:where([styled-mode]) .highcharts-button-hover text {
|
|
898
|
-
fill: var(--vaadin-charts-button-label, var(--_label));
|
|
932
|
+
fill: var(--highcharts-neutral-color-80, var(--vaadin-charts-button-label, var(--_label)));
|
|
899
933
|
}
|
|
900
934
|
|
|
901
935
|
:where([styled-mode]) .highcharts-button-pressed {
|
|
902
|
-
|
|
936
|
+
font-weight: bold;
|
|
937
|
+
fill: var(--highcharts-highlight-color-10, var(--vaadin-charts-button-active-background, var(--_label)));
|
|
938
|
+
stroke: var(--highcharts-neutral-color-20);
|
|
903
939
|
}
|
|
904
940
|
|
|
905
941
|
:where([styled-mode]) .highcharts-button-pressed text {
|
|
906
|
-
fill: var(--vaadin-charts-button-active-label, var(--_bg));
|
|
942
|
+
fill: var(--highcharts-neutral-color-80, var(--vaadin-charts-button-active-label, var(--_bg)));
|
|
943
|
+
font-weight: bold;
|
|
907
944
|
}
|
|
908
945
|
|
|
909
946
|
:where([styled-mode]) .highcharts-button-disabled text {
|
|
910
|
-
fill: var(--vaadin-charts-button-disabled-label, var(--vaadin-color-disabled));
|
|
911
|
-
}
|
|
912
|
-
|
|
913
|
-
:where([styled-mode]) .highcharts-range-selector-buttons > :is(text, .highcharts-label) {
|
|
914
|
-
fill: var(--_secondary-label);
|
|
947
|
+
fill: var(--highcharts-neutral-color-80, var(--vaadin-charts-button-disabled-label, var(--vaadin-color-disabled)));
|
|
915
948
|
}
|
|
916
949
|
|
|
917
950
|
:where([styled-mode]) .highcharts-range-selector-buttons .highcharts-button {
|
|
@@ -923,7 +956,7 @@ export const chartStyles = css`
|
|
|
923
956
|
}
|
|
924
957
|
|
|
925
958
|
:where([styled-mode]) .highcharts-range-label text {
|
|
926
|
-
fill: var(--_secondary-label);
|
|
959
|
+
fill: var(--highcharts-neutral-color-60, var(--_secondary-label));
|
|
927
960
|
}
|
|
928
961
|
|
|
929
962
|
:where([styled-mode]) .highcharts-range-input rect {
|
|
@@ -938,24 +971,26 @@ export const chartStyles = css`
|
|
|
938
971
|
}
|
|
939
972
|
|
|
940
973
|
:where([styled-mode]) .highcharts-range-input text {
|
|
941
|
-
fill: var(--_data-label);
|
|
974
|
+
fill: var(--highcharts-neutral-color-80, var(--_data-label));
|
|
975
|
+
font-size: 1em;
|
|
976
|
+
}
|
|
977
|
+
|
|
978
|
+
:where([styled-mode]) .highcharts-range-input {
|
|
979
|
+
stroke-width: 1px;
|
|
980
|
+
stroke: var(--highcharts-neutral-color-20);
|
|
942
981
|
}
|
|
943
982
|
|
|
944
983
|
:where([styled-mode]) input.highcharts-range-selector {
|
|
945
984
|
position: absolute;
|
|
946
985
|
border: 0;
|
|
947
|
-
width: 1px;
|
|
948
|
-
/* Chrome needs a pixel to see it */
|
|
949
|
-
height: 1px;
|
|
950
986
|
padding: 0;
|
|
951
987
|
text-align: center;
|
|
952
|
-
|
|
953
|
-
/* #4798 */
|
|
988
|
+
top: -9999em;
|
|
954
989
|
}
|
|
955
990
|
|
|
956
991
|
:where([styled-mode]) .highcharts-crosshair-label text {
|
|
957
|
-
fill: var(--_bg);
|
|
958
|
-
font-size:
|
|
992
|
+
fill: var(--highcharts-background-color, var(--_bg));
|
|
993
|
+
font-size: 0.9em;
|
|
959
994
|
}
|
|
960
995
|
|
|
961
996
|
:where([styled-mode]) .highcharts-crosshair-label .highcharts-label-box {
|
|
@@ -963,16 +998,29 @@ export const chartStyles = css`
|
|
|
963
998
|
}
|
|
964
999
|
|
|
965
1000
|
:where([styled-mode]) .highcharts-candlestick-series .highcharts-point {
|
|
966
|
-
stroke: var(--vaadin-charts-candlestick-line, var(--vaadin-border-color));
|
|
1001
|
+
stroke: var(--highcharts-neutral-color-100, var(--vaadin-charts-candlestick-line, var(--vaadin-border-color)));
|
|
967
1002
|
stroke-width: 1px;
|
|
968
1003
|
}
|
|
969
1004
|
|
|
970
1005
|
:where([styled-mode]) .highcharts-candlestick-series .highcharts-point-up {
|
|
971
|
-
fill: var(--_color-positive);
|
|
1006
|
+
fill: var(--highcharts-background-color, var(--_color-positive));
|
|
1007
|
+
}
|
|
1008
|
+
|
|
1009
|
+
:where([styled-mode]) .highcharts-renko-series .highcharts-point-down,
|
|
1010
|
+
:where([styled-mode]) .highcharts-hollowcandlestick-series .highcharts-point-down {
|
|
1011
|
+
fill: var(--highcharts-negative-color, var(--_color-negative));
|
|
1012
|
+
stroke: var(--highcharts-negative-color, var(--_color-negative));
|
|
972
1013
|
}
|
|
973
1014
|
|
|
974
|
-
:where([styled-mode]) .highcharts-
|
|
975
|
-
|
|
1015
|
+
:where([styled-mode]) .highcharts-renko-series .highcharts-point-up,
|
|
1016
|
+
:where([styled-mode]) .highcharts-hollowcandlestick-series .highcharts-point-down-bearish-up {
|
|
1017
|
+
fill: var(--highcharts-positive-color, var(--_color-positive));
|
|
1018
|
+
stroke: var(--highcharts-positive-color, var(--_color-positive));
|
|
1019
|
+
}
|
|
1020
|
+
|
|
1021
|
+
:where([styled-mode]) .highcharts-hollowcandlestick-series .highcharts-point-up {
|
|
1022
|
+
fill: transparent;
|
|
1023
|
+
stroke: var(--highcharts-positive-color, var(--_color-positive));
|
|
976
1024
|
}
|
|
977
1025
|
|
|
978
1026
|
:where([styled-mode]) .highcharts-ohlc-series .highcharts-point-hover {
|
|
@@ -980,33 +1028,33 @@ export const chartStyles = css`
|
|
|
980
1028
|
}
|
|
981
1029
|
|
|
982
1030
|
:where([styled-mode]) .highcharts-flags-series .highcharts-point .highcharts-label-box {
|
|
983
|
-
stroke: var(--_grid-line);
|
|
984
|
-
fill: var(--_bg);
|
|
1031
|
+
stroke: var(--highcharts-neutral-color-40, var(--_grid-line));
|
|
1032
|
+
fill: var(--highcharts-background-color, var(--_bg));
|
|
985
1033
|
transition: fill 250ms;
|
|
986
1034
|
}
|
|
987
1035
|
|
|
988
1036
|
:where([styled-mode]) .highcharts-flags-series .highcharts-point-hover .highcharts-label-box {
|
|
989
|
-
stroke:
|
|
990
|
-
|
|
1037
|
+
stroke: var(
|
|
1038
|
+
--highcharts-neutral-color-100,
|
|
1039
|
+
color-mix(in srgb, var(--vaadin-charts-contrast, var(--_label)) 60%, transparent)
|
|
1040
|
+
);
|
|
1041
|
+
fill: var(--highcharts-highlight-color-20, var(--_bg));
|
|
991
1042
|
}
|
|
992
1043
|
|
|
993
1044
|
:where([styled-mode]) .highcharts-flags-series .highcharts-point text {
|
|
994
|
-
fill: var(--_data-label);
|
|
1045
|
+
fill: var(--highcharts-neutral-color-100, var(--_data-label));
|
|
995
1046
|
font-size: 0.9em;
|
|
996
|
-
font-weight:
|
|
997
|
-
}
|
|
998
|
-
|
|
999
|
-
:where([styled-mode]) .highcharts-flags-series .highcharts-point-hover text {
|
|
1000
|
-
fill: var(--vaadin-charts-title-label, var(--_label));
|
|
1047
|
+
font-weight: bold;
|
|
1001
1048
|
}
|
|
1002
1049
|
|
|
1003
|
-
/*
|
|
1050
|
+
/* Highcharts Maps */
|
|
1004
1051
|
:where([styled-mode]) .highcharts-map-series .highcharts-point {
|
|
1005
1052
|
transition:
|
|
1006
1053
|
fill 500ms,
|
|
1007
1054
|
fill-opacity 500ms,
|
|
1008
1055
|
stroke-width 250ms;
|
|
1009
|
-
stroke:
|
|
1056
|
+
stroke: var(--highcharts-neutral-color-20);
|
|
1057
|
+
stroke-width: inherit;
|
|
1010
1058
|
}
|
|
1011
1059
|
|
|
1012
1060
|
:where([styled-mode]) .highcharts-map-series .highcharts-point-hover {
|
|
@@ -1014,7 +1062,6 @@ export const chartStyles = css`
|
|
|
1014
1062
|
fill 0ms,
|
|
1015
1063
|
fill-opacity 0ms;
|
|
1016
1064
|
fill-opacity: 0.5;
|
|
1017
|
-
stroke-width: 2px;
|
|
1018
1065
|
}
|
|
1019
1066
|
|
|
1020
1067
|
:where([styled-mode]) .highcharts-mapline-series .highcharts-point {
|
|
@@ -1027,26 +1074,39 @@ export const chartStyles = css`
|
|
|
1027
1074
|
|
|
1028
1075
|
:where([styled-mode]) .highcharts-map-navigation {
|
|
1029
1076
|
font-size: 1.3em;
|
|
1030
|
-
font-weight:
|
|
1077
|
+
font-weight: bold;
|
|
1031
1078
|
text-align: center;
|
|
1032
1079
|
}
|
|
1033
1080
|
|
|
1034
|
-
:where([styled-mode]) .highcharts-
|
|
1035
|
-
|
|
1081
|
+
:where([styled-mode]) .highcharts-map-navigation.highcharts-button {
|
|
1082
|
+
fill: var(--highcharts-background-color);
|
|
1083
|
+
stroke: var(--highcharts-neutral-color-10);
|
|
1036
1084
|
}
|
|
1037
1085
|
|
|
1038
|
-
:where([styled-mode]) .highcharts-
|
|
1039
|
-
|
|
1086
|
+
:where([styled-mode]) .highcharts-map-navigation.highcharts-button:hover {
|
|
1087
|
+
fill: var(--highcharts-neutral-color-10);
|
|
1040
1088
|
}
|
|
1041
1089
|
|
|
1042
|
-
:where([styled-mode]) .highcharts-
|
|
1043
|
-
|
|
1090
|
+
:where([styled-mode]) .highcharts-map-navigation.highcharts-button .highcharts-button-symbol {
|
|
1091
|
+
stroke-width: 2px;
|
|
1092
|
+
}
|
|
1093
|
+
|
|
1094
|
+
:where([styled-mode]) .highcharts-mapview-inset-border {
|
|
1095
|
+
stroke: var(--highcharts-neutral-color-20);
|
|
1096
|
+
stroke-width: 1px;
|
|
1097
|
+
fill: none;
|
|
1098
|
+
}
|
|
1099
|
+
|
|
1100
|
+
:where([styled-mode]) .highcharts-coloraxis {
|
|
1044
1101
|
stroke-width: 0;
|
|
1045
1102
|
}
|
|
1046
1103
|
|
|
1104
|
+
:where([styled-mode]) .highcharts-coloraxis-marker {
|
|
1105
|
+
fill: var(--highcharts-neutral-color-40);
|
|
1106
|
+
}
|
|
1107
|
+
|
|
1047
1108
|
:where([styled-mode]) .highcharts-null-point {
|
|
1048
|
-
fill: transparent;
|
|
1049
|
-
stroke: var(--vaadin-border-color-subtle);
|
|
1109
|
+
fill: var(--highcharts-neutral-color-3, transparent);
|
|
1050
1110
|
}
|
|
1051
1111
|
|
|
1052
1112
|
/* 3d charts */
|
|
@@ -1056,42 +1116,56 @@ export const chartStyles = css`
|
|
|
1056
1116
|
|
|
1057
1117
|
/* Exporting module */
|
|
1058
1118
|
:where([styled-mode]) .highcharts-contextbutton {
|
|
1059
|
-
|
|
1060
|
-
|
|
1119
|
+
/* Fill is needed to capture hover */
|
|
1120
|
+
fill: var(--highcharts-background-color, var(--_bg));
|
|
1061
1121
|
stroke: none;
|
|
1062
1122
|
stroke-linecap: round;
|
|
1063
1123
|
}
|
|
1064
1124
|
|
|
1065
1125
|
:where([styled-mode]) .highcharts-contextbutton:hover {
|
|
1066
|
-
fill: #e6e6e6;
|
|
1067
|
-
stroke: #e6e6e6;
|
|
1126
|
+
fill: var(--highcharts-neutral-color-10, #e6e6e6);
|
|
1127
|
+
stroke: var(--highcharts-neutral-color-10, #e6e6e6);
|
|
1068
1128
|
}
|
|
1069
1129
|
|
|
1070
1130
|
:where([styled-mode]) .highcharts-button-symbol {
|
|
1071
|
-
stroke: var(--_secondary-label);
|
|
1131
|
+
stroke: var(--highcharts-neutral-color-60, var(--_secondary-label));
|
|
1072
1132
|
stroke-width: 3px;
|
|
1073
1133
|
}
|
|
1074
1134
|
|
|
1075
1135
|
:where([styled-mode]) .highcharts-menu {
|
|
1076
|
-
border:
|
|
1077
|
-
background:
|
|
1078
|
-
|
|
1136
|
+
border: none;
|
|
1137
|
+
background: var(--highcharts-background-color, var(--_bg));
|
|
1138
|
+
border-radius: 3px;
|
|
1139
|
+
padding: 0.5em;
|
|
1079
1140
|
box-shadow: 3px 3px 10px #888;
|
|
1080
1141
|
}
|
|
1081
1142
|
|
|
1082
1143
|
:where([styled-mode]) .highcharts-menu-item {
|
|
1083
|
-
padding: 0.5em 1em;
|
|
1084
1144
|
background: none;
|
|
1085
|
-
|
|
1145
|
+
border-radius: 3px;
|
|
1146
|
+
color: var(--highcharts-neutral-color-80, var(--vaadin-charts-button-label, var(--_label)));
|
|
1086
1147
|
cursor: pointer;
|
|
1148
|
+
font-size: 1em;
|
|
1149
|
+
list-style-type: none;
|
|
1150
|
+
padding: 0.5em;
|
|
1087
1151
|
transition:
|
|
1088
1152
|
background 250ms,
|
|
1089
1153
|
color 250ms;
|
|
1090
1154
|
}
|
|
1091
1155
|
|
|
1092
1156
|
:where([styled-mode]) .highcharts-menu-item:hover {
|
|
1093
|
-
background:
|
|
1094
|
-
|
|
1157
|
+
background: var(--highcharts-neutral-color-5, var(--_bg));
|
|
1158
|
+
}
|
|
1159
|
+
|
|
1160
|
+
/* Breadcrumbs */
|
|
1161
|
+
:where([styled-mode]) .highcharts-breadcrumbs-button {
|
|
1162
|
+
fill: none;
|
|
1163
|
+
stroke-width: 0;
|
|
1164
|
+
cursor: pointer;
|
|
1165
|
+
}
|
|
1166
|
+
|
|
1167
|
+
:where([styled-mode]) .highcharts-breadcrumbs-separator {
|
|
1168
|
+
fill: var(--highcharts-neutral-color-60, var(--_secondary-label));
|
|
1095
1169
|
}
|
|
1096
1170
|
|
|
1097
1171
|
/* Drilldown module */
|
|
@@ -1103,22 +1177,22 @@ export const chartStyles = css`
|
|
|
1103
1177
|
:where([styled-mode]) text.highcharts-drilldown-data-label,
|
|
1104
1178
|
:where([styled-mode]) .highcharts-drilldown-axis-label {
|
|
1105
1179
|
cursor: pointer;
|
|
1106
|
-
fill: var(--vaadin-charts-button-label, var(--_label));
|
|
1107
|
-
font-weight:
|
|
1180
|
+
fill: var(--highcharts-highlight-color-100, var(--vaadin-charts-button-label, var(--_label)));
|
|
1181
|
+
font-weight: bold;
|
|
1108
1182
|
text-decoration: underline;
|
|
1109
1183
|
}
|
|
1110
1184
|
|
|
1111
1185
|
/* No-data module */
|
|
1112
1186
|
:where([styled-mode]) .highcharts-no-data text {
|
|
1113
|
-
font-weight:
|
|
1114
|
-
font-size:
|
|
1115
|
-
fill: var(--_secondary-label);
|
|
1187
|
+
font-weight: bold;
|
|
1188
|
+
font-size: 1em;
|
|
1189
|
+
fill: var(--highcharts-neutral-color-60, var(--_secondary-label));
|
|
1116
1190
|
}
|
|
1117
1191
|
|
|
1118
1192
|
/* Drag-panes module */
|
|
1119
1193
|
:where([styled-mode]) .highcharts-axis-resizer {
|
|
1120
1194
|
cursor: ns-resize;
|
|
1121
|
-
stroke: black;
|
|
1195
|
+
stroke: var(--highcharts-neutral-color-100, black);
|
|
1122
1196
|
stroke-width: 2px;
|
|
1123
1197
|
}
|
|
1124
1198
|
|
|
@@ -1130,24 +1204,144 @@ export const chartStyles = css`
|
|
|
1130
1204
|
/* Lineargauge type series */
|
|
1131
1205
|
:where([styled-mode]) .highcharts-lineargauge-target {
|
|
1132
1206
|
stroke-width: 1px;
|
|
1133
|
-
stroke:
|
|
1207
|
+
stroke: var(
|
|
1208
|
+
--highcharts-neutral-color-80,
|
|
1209
|
+
color-mix(in srgb, var(--vaadin-charts-contrast, var(--_label)) 60%, transparent)
|
|
1210
|
+
);
|
|
1134
1211
|
}
|
|
1135
1212
|
|
|
1136
1213
|
:where([styled-mode]) .highcharts-lineargauge-target-line {
|
|
1137
1214
|
stroke-width: 1px;
|
|
1138
|
-
stroke:
|
|
1215
|
+
stroke: var(
|
|
1216
|
+
--highcharts-neutral-color-80,
|
|
1217
|
+
color-mix(in srgb, var(--vaadin-charts-contrast, var(--_label)) 60%, transparent)
|
|
1218
|
+
);
|
|
1219
|
+
}
|
|
1220
|
+
|
|
1221
|
+
/* Advanced annotations module */
|
|
1222
|
+
:where([styled-mode]) .highcharts-fibonacci-background-0,
|
|
1223
|
+
:where([styled-mode]) .highcharts-pitchfork-inner-background,
|
|
1224
|
+
:where([styled-mode]) .highcharts-measure-background {
|
|
1225
|
+
fill: var(--highcharts-annotation-color-0);
|
|
1226
|
+
}
|
|
1227
|
+
|
|
1228
|
+
:where([styled-mode]) .highcharts-fibonacci-background-1 {
|
|
1229
|
+
fill: var(--highcharts-annotation-color-1);
|
|
1230
|
+
}
|
|
1231
|
+
|
|
1232
|
+
:where([styled-mode]) .highcharts-fibonacci-background-2 {
|
|
1233
|
+
fill: var(--highcharts-annotation-color-2);
|
|
1234
|
+
}
|
|
1235
|
+
|
|
1236
|
+
:where([styled-mode]) .highcharts-fibonacci-background-3,
|
|
1237
|
+
:where([styled-mode]) .highcharts-pitchfork-outer-background {
|
|
1238
|
+
fill: var(--highcharts-annotation-color-3);
|
|
1239
|
+
}
|
|
1240
|
+
|
|
1241
|
+
:where([styled-mode]) .highcharts-fibonacci-background-4 {
|
|
1242
|
+
fill: var(--highcharts-annotation-color-4);
|
|
1243
|
+
}
|
|
1244
|
+
|
|
1245
|
+
:where([styled-mode]) .highcharts-fibonacci-background-5 {
|
|
1246
|
+
fill: var(--highcharts-annotation-color-5);
|
|
1247
|
+
}
|
|
1248
|
+
|
|
1249
|
+
:where([styled-mode]) .highcharts-fibonacci-line {
|
|
1250
|
+
stroke: var(--highcharts-neutral-color-40);
|
|
1251
|
+
}
|
|
1252
|
+
|
|
1253
|
+
:where([styled-mode]) .highcharts-crooked-lines,
|
|
1254
|
+
:where([styled-mode]) .highcharts-tunnel-lines,
|
|
1255
|
+
:where([styled-mode]) .highcharts-infinity-lines,
|
|
1256
|
+
:where([styled-mode]) .highcharts-timecycles-lines,
|
|
1257
|
+
:where([styled-mode]) .highcharts-fibonacci-timezones-lines,
|
|
1258
|
+
:where([styled-mode]) .highcharts-pitchfork-lines,
|
|
1259
|
+
:where([styled-mode]) .highcharts-vertical-line,
|
|
1260
|
+
:where([styled-mode]) .highcharts-measure-crosshair-x,
|
|
1261
|
+
:where([styled-mode]) .highcharts-measure-crosshair-y {
|
|
1262
|
+
stroke: var(--highcharts-neutral-color-100);
|
|
1263
|
+
stroke-opacity: 0.75;
|
|
1264
|
+
fill: none;
|
|
1265
|
+
}
|
|
1266
|
+
|
|
1267
|
+
:where([styled-mode]) .highcharts-measure-crosshair-x,
|
|
1268
|
+
:where([styled-mode]) .highcharts-measure-crosshair-y {
|
|
1269
|
+
stroke-dasharray: 1, 3;
|
|
1270
|
+
}
|
|
1271
|
+
|
|
1272
|
+
:where([styled-mode]) .highcharts-tunnel-background {
|
|
1273
|
+
fill: var(--highcharts-color-0);
|
|
1274
|
+
}
|
|
1275
|
+
|
|
1276
|
+
:where([styled-mode]) .highcharts-annotation-shapes {
|
|
1277
|
+
cursor: move;
|
|
1278
|
+
}
|
|
1279
|
+
|
|
1280
|
+
:where([styled-mode]) .highcharts-basic-shape {
|
|
1281
|
+
fill: var(--highcharts-neutral-color-100);
|
|
1282
|
+
stroke: var(--highcharts-neutral-color-100);
|
|
1283
|
+
opacity: 0.74;
|
|
1139
1284
|
}
|
|
1140
1285
|
|
|
1141
1286
|
/* Annotations module */
|
|
1287
|
+
|
|
1142
1288
|
:where([styled-mode]) .highcharts-annotation-label-box {
|
|
1143
1289
|
stroke-width: 1px;
|
|
1144
|
-
stroke: var(--vaadin-charts-contrast, var(--_label));
|
|
1145
|
-
fill: var(--vaadin-charts-contrast, var(--_label));
|
|
1290
|
+
stroke: var(--highcharts-neutral-color-100, var(--vaadin-charts-contrast, var(--_label)));
|
|
1291
|
+
fill: var(--highcharts-neutral-color-100, var(--vaadin-charts-contrast, var(--_label)));
|
|
1146
1292
|
fill-opacity: 0.75;
|
|
1147
1293
|
}
|
|
1148
1294
|
|
|
1149
1295
|
:where([styled-mode]) .highcharts-annotation-label text {
|
|
1150
|
-
fill: var(--
|
|
1296
|
+
fill: var(--highcharts-neutral-color-10, var(--_label));
|
|
1297
|
+
font-size: 1em;
|
|
1298
|
+
}
|
|
1299
|
+
|
|
1300
|
+
/* A11y module */
|
|
1301
|
+
:where([styled-mode]) .highcharts-a11y-proxy-element {
|
|
1302
|
+
border-width: 0;
|
|
1303
|
+
background-color: transparent;
|
|
1304
|
+
cursor: pointer;
|
|
1305
|
+
outline: none;
|
|
1306
|
+
opacity: 0.001;
|
|
1307
|
+
z-index: 999;
|
|
1308
|
+
overflow: hidden;
|
|
1309
|
+
padding: 0;
|
|
1310
|
+
margin: 0;
|
|
1311
|
+
display: block;
|
|
1312
|
+
position: absolute;
|
|
1313
|
+
}
|
|
1314
|
+
|
|
1315
|
+
:where([styled-mode]) .highcharts-a11y-proxy-group li {
|
|
1316
|
+
list-style: none;
|
|
1317
|
+
}
|
|
1318
|
+
|
|
1319
|
+
:where([styled-mode]) .highcharts-visually-hidden {
|
|
1320
|
+
position: absolute;
|
|
1321
|
+
width: 1px;
|
|
1322
|
+
height: 1px;
|
|
1323
|
+
overflow: hidden;
|
|
1324
|
+
white-space: nowrap;
|
|
1325
|
+
clip: rect(1px, 1px, 1px, 1px);
|
|
1326
|
+
margin-top: -3px;
|
|
1327
|
+
opacity: 0.01;
|
|
1328
|
+
}
|
|
1329
|
+
|
|
1330
|
+
:where([styled-mode]) .highcharts-a11y-invisible {
|
|
1331
|
+
visibility: hidden;
|
|
1332
|
+
}
|
|
1333
|
+
|
|
1334
|
+
:where([styled-mode]) .highcharts-a11y-proxy-container,
|
|
1335
|
+
:where([styled-mode]) .highcharts-a11y-proxy-container-before,
|
|
1336
|
+
:where([styled-mode]) .highcharts-a11y-proxy-container-after {
|
|
1337
|
+
position: absolute;
|
|
1338
|
+
white-space: nowrap;
|
|
1339
|
+
}
|
|
1340
|
+
|
|
1341
|
+
:where([styled-mode]) g.highcharts-series,
|
|
1342
|
+
:where([styled-mode]) .highcharts-markers,
|
|
1343
|
+
:where([styled-mode]) .highcharts-point {
|
|
1344
|
+
outline: none;
|
|
1151
1345
|
}
|
|
1152
1346
|
|
|
1153
1347
|
/* Gantt */
|
|
@@ -1161,19 +1355,15 @@ export const chartStyles = css`
|
|
|
1161
1355
|
}
|
|
1162
1356
|
|
|
1163
1357
|
:where([styled-mode]) .highcharts-grid-axis .highcharts-tick {
|
|
1358
|
+
stroke: var(--highcharts-neutral-color-20, var(--_grid-line));
|
|
1164
1359
|
stroke-width: 1px;
|
|
1165
1360
|
}
|
|
1166
1361
|
|
|
1167
1362
|
:where([styled-mode]) .highcharts-grid-axis .highcharts-axis-line {
|
|
1363
|
+
stroke: var(--highcharts-neutral-color-20, var(--_grid-line));
|
|
1168
1364
|
stroke-width: 1px;
|
|
1169
1365
|
}
|
|
1170
1366
|
|
|
1171
|
-
:where([styled-mode]) .highcharts-organization-series .highcharts-link {
|
|
1172
|
-
stroke: var(--vaadin-charts-org-line, color-mix(in srgb, var(--_label) 50%, var(--_bg)));
|
|
1173
|
-
stroke-width: var(--vaadin-charts-org-line-width, 1);
|
|
1174
|
-
}
|
|
1175
|
-
|
|
1176
|
-
/* Workaround for https://github.com/highcharts/highcharts/issues/22490 */
|
|
1177
1367
|
:where([styled-mode]) .highcharts-gantt-series .highcharts-partfill-overlay {
|
|
1178
1368
|
fill: hsla(0, 0%, 0%, 0.3);
|
|
1179
1369
|
stroke: hsla(0, 0%, 0%, 0.3);
|
|
@@ -1192,10 +1382,4 @@ export const chartStyles = css`
|
|
|
1192
1382
|
:host([dir='rtl']) :where([styled-mode]) .highcharts-menu {
|
|
1193
1383
|
box-shadow: -3px 3px 10px #888;
|
|
1194
1384
|
}
|
|
1195
|
-
|
|
1196
|
-
/* https://github.com/highcharts/highcharts/issues/16282 */
|
|
1197
|
-
/* without this the resize callback always calls __reflow */
|
|
1198
|
-
ul[aria-hidden='false'] {
|
|
1199
|
-
margin: 0;
|
|
1200
|
-
}
|
|
1201
1385
|
`;
|