@vaadin/charts 23.1.0 → 23.1.3
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/charts",
|
|
3
|
-
"version": "23.1.
|
|
3
|
+
"version": "23.1.3",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -35,9 +35,9 @@
|
|
|
35
35
|
],
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@polymer/polymer": "^3.0.0",
|
|
38
|
-
"@vaadin/component-base": "^23.1.
|
|
38
|
+
"@vaadin/component-base": "^23.1.3",
|
|
39
39
|
"@vaadin/vaadin-license-checker": "^2.1.0",
|
|
40
|
-
"@vaadin/vaadin-themable-mixin": "^23.1.
|
|
40
|
+
"@vaadin/vaadin-themable-mixin": "^23.1.3",
|
|
41
41
|
"highcharts": "9.2.2"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
"@vaadin/testing-helpers": "^0.3.2",
|
|
46
46
|
"sinon": "^13.0.2"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "3066c296ad0ef652bc49417005523398199f1bf2"
|
|
49
49
|
}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import { PointOptionsObject, Series, SeriesOptionsType } from 'highcharts';
|
|
7
7
|
|
|
8
|
-
export type ChartSeriesMarkers = '
|
|
8
|
+
export type ChartSeriesMarkers = 'auto' | 'hidden' | 'shown';
|
|
9
9
|
|
|
10
10
|
export interface ChartSeriesConfig {
|
|
11
11
|
data?: ChartSeriesValues;
|
|
@@ -22,7 +22,7 @@ export interface ChartSeriesConfig {
|
|
|
22
22
|
|
|
23
23
|
export type ChartSeriesOptions = ChartSeriesConfig & SeriesOptionsType;
|
|
24
24
|
|
|
25
|
-
export type ChartSeriesValues = Array<number |
|
|
25
|
+
export type ChartSeriesValues = Array<number[] | PointOptionsObject | number>;
|
|
26
26
|
|
|
27
27
|
/**
|
|
28
28
|
* `<vaadin-chart-series>` is a custom element for creating series for Vaadin Charts.
|
package/src/vaadin-chart.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mix
|
|
|
10
10
|
|
|
11
11
|
export type ChartCategories = string[] | { [key: number]: string };
|
|
12
12
|
|
|
13
|
-
export type ChartCategoryPosition = '
|
|
13
|
+
export type ChartCategoryPosition = 'bottom' | 'left' | 'right' | 'top';
|
|
14
14
|
|
|
15
15
|
export type ChartStacking = 'normal' | 'percent' | null;
|
|
16
16
|
|
|
@@ -245,7 +245,7 @@ export interface ChartCustomEventMap {
|
|
|
245
245
|
'yaxes-extremes-set': ChartYaxesExtremesSetEvent;
|
|
246
246
|
}
|
|
247
247
|
|
|
248
|
-
export type ChartEventMap =
|
|
248
|
+
export type ChartEventMap = ChartCustomEventMap & HTMLElementEventMap;
|
|
249
249
|
|
|
250
250
|
/**
|
|
251
251
|
* `<vaadin-chart>` is a Web Component for creating high quality charts.
|
|
@@ -582,13 +582,13 @@ declare class Chart extends ResizeMixin(ThemableMixin(ElementMixin(HTMLElement))
|
|
|
582
582
|
addEventListener<K extends keyof ChartEventMap>(
|
|
583
583
|
type: K,
|
|
584
584
|
listener: (this: Chart, ev: ChartEventMap[K]) => void,
|
|
585
|
-
options?:
|
|
585
|
+
options?: AddEventListenerOptions | boolean,
|
|
586
586
|
): void;
|
|
587
587
|
|
|
588
588
|
removeEventListener<K extends keyof ChartEventMap>(
|
|
589
589
|
type: K,
|
|
590
590
|
listener: (this: Chart, ev: ChartEventMap[K]) => void,
|
|
591
|
-
options?:
|
|
591
|
+
options?: EventListenerOptions | boolean,
|
|
592
592
|
): void;
|
|
593
593
|
}
|
|
594
594
|
|