@vaadin/charts 24.5.0-beta1 → 24.5.0-rc2
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 +7 -7
- package/src/vaadin-chart.js +8 -14
- package/web-types.json +1 -1
- package/web-types.lit.json +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/charts",
|
|
3
|
-
"version": "24.5.0-
|
|
3
|
+
"version": "24.5.0-rc2",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -36,14 +36,14 @@
|
|
|
36
36
|
],
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@polymer/polymer": "^3.0.0",
|
|
39
|
-
"@vaadin/component-base": "24.5.0-
|
|
40
|
-
"@vaadin/vaadin-lumo-styles": "24.5.0-
|
|
41
|
-
"@vaadin/vaadin-material-styles": "24.5.0-
|
|
42
|
-
"@vaadin/vaadin-themable-mixin": "24.5.0-
|
|
39
|
+
"@vaadin/component-base": "24.5.0-rc2",
|
|
40
|
+
"@vaadin/vaadin-lumo-styles": "24.5.0-rc2",
|
|
41
|
+
"@vaadin/vaadin-material-styles": "24.5.0-rc2",
|
|
42
|
+
"@vaadin/vaadin-themable-mixin": "24.5.0-rc2",
|
|
43
43
|
"highcharts": "9.2.2"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@vaadin/chai-plugins": "24.5.0-
|
|
46
|
+
"@vaadin/chai-plugins": "24.5.0-rc2",
|
|
47
47
|
"@vaadin/testing-helpers": "^1.0.0",
|
|
48
48
|
"sinon": "^18.0.0"
|
|
49
49
|
},
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
"web-types.json",
|
|
53
53
|
"web-types.lit.json"
|
|
54
54
|
],
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "be5bf40aec33761c6defdb5b3093c7b6dd5d97fd"
|
|
56
56
|
}
|
package/src/vaadin-chart.js
CHANGED
|
@@ -1555,9 +1555,7 @@ class Chart extends ResizeMixin(ElementMixin(ThemableMixin(PolymerElement))) {
|
|
|
1555
1555
|
return;
|
|
1556
1556
|
}
|
|
1557
1557
|
|
|
1558
|
-
|
|
1559
|
-
config.title.update({ text: title });
|
|
1560
|
-
}
|
|
1558
|
+
config.title.update({ text: title });
|
|
1561
1559
|
}
|
|
1562
1560
|
|
|
1563
1561
|
/** @private */
|
|
@@ -1575,11 +1573,9 @@ class Chart extends ResizeMixin(ElementMixin(ThemableMixin(PolymerElement))) {
|
|
|
1575
1573
|
return;
|
|
1576
1574
|
}
|
|
1577
1575
|
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
});
|
|
1582
|
-
}
|
|
1576
|
+
config.update({
|
|
1577
|
+
chart: { type: type || 'line' },
|
|
1578
|
+
});
|
|
1583
1579
|
}
|
|
1584
1580
|
|
|
1585
1581
|
/** @private */
|
|
@@ -1588,12 +1584,10 @@ class Chart extends ResizeMixin(ElementMixin(ThemableMixin(PolymerElement))) {
|
|
|
1588
1584
|
return;
|
|
1589
1585
|
}
|
|
1590
1586
|
|
|
1591
|
-
if (subtitle
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
config.subtitle.update({ text: subtitle });
|
|
1596
|
-
}
|
|
1587
|
+
if (!config.subtitle) {
|
|
1588
|
+
config.setSubtitle({ text: subtitle });
|
|
1589
|
+
} else {
|
|
1590
|
+
config.subtitle.update({ text: subtitle });
|
|
1597
1591
|
}
|
|
1598
1592
|
}
|
|
1599
1593
|
|
package/web-types.json
CHANGED