@vaadin/charts 24.0.0-alpha10 → 24.0.0-alpha11

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": "24.0.0-alpha10",
3
+ "version": "24.0.0-alpha11",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -36,10 +36,10 @@
36
36
  ],
37
37
  "dependencies": {
38
38
  "@polymer/polymer": "^3.0.0",
39
- "@vaadin/component-base": "24.0.0-alpha10",
40
- "@vaadin/vaadin-lumo-styles": "24.0.0-alpha10",
41
- "@vaadin/vaadin-material-styles": "24.0.0-alpha10",
42
- "@vaadin/vaadin-themable-mixin": "24.0.0-alpha10",
39
+ "@vaadin/component-base": "24.0.0-alpha11",
40
+ "@vaadin/vaadin-lumo-styles": "24.0.0-alpha11",
41
+ "@vaadin/vaadin-material-styles": "24.0.0-alpha11",
42
+ "@vaadin/vaadin-themable-mixin": "24.0.0-alpha11",
43
43
  "highcharts": "9.2.2"
44
44
  },
45
45
  "devDependencies": {
@@ -52,5 +52,5 @@
52
52
  "web-types.json",
53
53
  "web-types.lit.json"
54
54
  ],
55
- "gitHead": "2e04534d8b47bcd216f89b5f849bafef1a73b174"
55
+ "gitHead": "641b3d96ceeb3e503a093682ebe686afdd8c3a68"
56
56
  }
@@ -555,12 +555,12 @@ declare class Chart extends ResizeMixin(ThemableMixin(ElementMixin(HTMLElement))
555
555
  *
556
556
  * @param {!Options} jsonConfiguration Object chart configuration. Most important properties are:
557
557
  *
558
+ * - annotations `Object[]` custom labels or shapes that can be tied to points, axis coordinates or chart pixel coordinates.
559
+ * Detailed API for annotations object is available in [API Site](http://api.highcharts.com/highcharts/annotations)
558
560
  * - chart `Object` with options regarding the chart area and plot area as well as general chart options.
559
561
  * Detailed API for chart object is available in [API Site](http://api.highcharts.com/highcharts/chart)
560
562
  * - credits `Object` with options regarding the chart area and plot area as well as general chart options.
561
563
  * Detailed API for credits object is available in [API Site](http://api.highcharts.com/highcharts/credits)
562
- * - labels `Object[]` with HTML labels that can be positioned anywhere in the chart area
563
- * Detailed API for labels object is available in [API Site](http://api.highcharts.com/highcharts/labels)
564
564
  * - plotOptions `Object` wrapper for config objects for each series type.
565
565
  * Detailed API for plotOptions object is available in [API Site](http://api.highcharts.com/highcharts/plotOptions)
566
566
  * - series `Object[]` the actual series to append to the chart.
@@ -10,6 +10,7 @@
10
10
  */
11
11
  import 'highcharts/es-modules/masters/highstock.src.js';
12
12
  import 'highcharts/es-modules/masters/modules/accessibility.src.js';
13
+ import 'highcharts/es-modules/masters/modules/annotations.src.js';
13
14
  import 'highcharts/es-modules/masters/highcharts-more.src.js';
14
15
  import 'highcharts/es-modules/masters/highcharts-3d.src.js';
15
16
  import 'highcharts/es-modules/masters/modules/data.src.js';
@@ -487,6 +488,7 @@ class Chart extends ResizeMixin(ElementMixin(ThemableMixin(PolymerElement))) {
487
488
  super();
488
489
 
489
490
  this._baseConfig = {
491
+ annotations: [],
490
492
  chart: {
491
493
  styledMode: true,
492
494
  },
@@ -1120,12 +1122,12 @@ class Chart extends ResizeMixin(ElementMixin(ThemableMixin(PolymerElement))) {
1120
1122
  *
1121
1123
  * @param {!Options} jsonConfiguration Object chart configuration. Most important properties are:
1122
1124
  *
1125
+ * - annotations `Object[]` custom labels or shapes that can be tied to points, axis coordinates or chart pixel coordinates.
1126
+ * Detailed API for annotations object is available in [API Site](http://api.highcharts.com/highcharts/annotations)
1123
1127
  * - chart `Object` with options regarding the chart area and plot area as well as general chart options.
1124
1128
  * Detailed API for chart object is available in [API Site](http://api.highcharts.com/highcharts/chart)
1125
1129
  * - credits `Object` with options regarding the chart area and plot area as well as general chart options.
1126
1130
  * Detailed API for credits object is available in [API Site](http://api.highcharts.com/highcharts/credits)
1127
- * - labels `Object[]` with HTML labels that can be positioned anywhere in the chart area
1128
- * Detailed API for labels object is available in [API Site](http://api.highcharts.com/highcharts/labels)
1129
1131
  * - plotOptions `Object` wrapper for config objects for each series type.
1130
1132
  * Detailed API for plotOptions object is available in [API Site](http://api.highcharts.com/highcharts/plotOptions)
1131
1133
  * - series `Object[]` the actual series to append to the chart.
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/charts",
4
- "version": "24.0.0-alpha10",
4
+ "version": "24.0.0-alpha11",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/charts",
4
- "version": "24.0.0-alpha10",
4
+ "version": "24.0.0-alpha11",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {