playbook_ui 13.12.0.pre.alpha.play1051highchartstest1567 → 13.12.0.pre.alpha.play1051testhighcharts1574

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ef5bfd872ac45c9283c70342d8e4858b83b17902df462f1f52d1c477a294dd39
4
- data.tar.gz: 29cbb47a5e2045916a9250d8db3a6338df401e284f34955186ebd9722aa0956f
3
+ metadata.gz: 742b34880d0bdb3442c95207474d669ce1002aaeabe691ce401cbc298dbc860b
4
+ data.tar.gz: 8e9942e5fa926d6663d24cc4a10ac8bf2f323b7c8022f64ac81161f1f582c1c1
5
5
  SHA512:
6
- metadata.gz: 899b51e7c5ddaf7f8072761b523f52063bc3c10c6d912d4f6f6f894baef1c6980596ef6f9dbbda3af68c71d669879b6df31c5e5ffd738d56dc48b3b4a161c585
7
- data.tar.gz: db352b4f212fe4592d5bc229ac43bd99eb91f3be0841fdc820002b8323aadb921b802da15db36091cb8f4664f9c2af1551d877fed0c46ae926f0717c1bda2959
6
+ metadata.gz: 62f9f6ec0051b7f0998ee9aa750dee206d523eed5eb093c2dc77f85f43b9a0f8adf48e4b4c365bd6a4594335dd813eb7265a46c9b4e1fbbe8182153c413c6eaf
7
+ data.tar.gz: 4c7de0cae6eba4f8ddfa8b3d2a7af4c8097cd8ca93fd724d4b9c39a0665a76dfe626e43bc5e92c98b2e71f6f6d5c7f5258680f7cd08b69a24c2f23789df59972
@@ -96,7 +96,7 @@ const BarGraph = ({
96
96
  colors:
97
97
  colors !== undefined && colors.length > 0
98
98
  ? mapColors(colors)
99
- : highchartsTheme.colors,
99
+ : highchartsTheme(window.Highcharts).colors,
100
100
  plotOptions: {
101
101
  series: {
102
102
  pointStart: pointStart,
@@ -125,7 +125,7 @@ const BarGraph = ({
125
125
  clearInterval(interval)
126
126
  dark
127
127
  ? window.Highcharts.setOptions(highchartsDarkTheme(window.Highcharts))
128
- : window.Highcharts.setOptions(highchartsTheme)
128
+ : window.Highcharts.setOptions(highchartsTheme(window.Highcharts))
129
129
  setIsHighchartsLoaded(true)
130
130
  }
131
131
  }, 0)
@@ -17,8 +17,8 @@ type CircleChartProps = {
17
17
  children?: Node,
18
18
  className?: string,
19
19
  colors?: string[],
20
- dark?: boolean,
21
- data?: unknown,
20
+ dark?: Boolean,
21
+ data?: Object,
22
22
  dataLabelHtml?: string,
23
23
  dataLabels?: boolean,
24
24
  height?: string,
@@ -125,7 +125,7 @@ const CircleChart = ({
125
125
  plotOptions: {
126
126
  pie: {
127
127
  colors:
128
- colors.length > 0 ? mapColors(colors) : highchartsTheme.colors,
128
+ colors.length > 0 ? mapColors(colors) : highchartsTheme(window.Highcharts).colors,
129
129
  dataLabels: {
130
130
  enabled: dataLabels,
131
131
  connectorShape: "straight",
@@ -156,8 +156,8 @@ const CircleChart = ({
156
156
  clearInterval(interval)
157
157
  dark
158
158
  ? window.Highcharts.setOptions(highchartsDarkTheme(window.Highcharts))
159
- : window.Highcharts.setOptions(highchartsTheme)
160
-
159
+ : window.Highcharts.setOptions(highchartsTheme(window.Highcharts))
160
+
161
161
  highchartsMore(window.Highcharts);
162
162
 
163
163
  window.Highcharts.setOptions({