playbook_ui 13.18.0.pre.alpha.thor93bargraphoptions2211 → 13.18.0.pre.alpha.useexactnodejsversionghactions2179

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ceb325111d4662aa6a0491153e357222b4f304d21c247fcc44a3db3aafda347a
4
- data.tar.gz: 693e1c50633b9b8f309cd2c21ffaa457adbf54ed8a3bd3dfa965b9852c3f6ca6
3
+ metadata.gz: dd9ffb70b5d6626e4af5cfd9d7e9a97a7ba066d45cdf1d8cd2a97632417308b5
4
+ data.tar.gz: f8944632474383cfc0e0f30163544f72260be8dc92f98f36caf4978087c940dc
5
5
  SHA512:
6
- metadata.gz: 64ae9216199a92f0559d7b524f6165f93698366b2d01e05669293b5a0fb974294148caf6415e97bcff6f8a09b1d2931cdc17cd28f2fc3b421be1532962061b97
7
- data.tar.gz: 8134787717615c18836ec47718dae3518c79500d1786b9076618a71d8f0e5605706bc355aa9398c8dea710c3604828d93aeb680f0c7a17f4a19aab9510dc00c8
6
+ metadata.gz: 03d8a9249cd5ccaf13ac744c74428340c0e45a05685d82b7195c9aea53ac0f40243d671db3acb480da70fd1ec1d2ff0450fdb411485ba5a71ffd483b4ebc30ed
7
+ data.tar.gz: 7fb0b5cc304d4223e1f2686fde547db1690f57805a2bcafcb1b817e54d8d45ed098612143f1395ce6915a6a22b73f76effcb9d6b4d29523bf66dc3584c870e44
@@ -19,7 +19,6 @@ type BarGraphProps = {
19
19
  yAxisMax: number;
20
20
  chartData: { name: string; data: number[] }[];
21
21
  className?: string;
22
- customOptions?: Partial<Highcharts.Options>;
23
22
  id: string;
24
23
  pointStart: number;
25
24
  htmlOptions?: {[key: string]: string | number | boolean | (() => void)},
@@ -49,7 +48,6 @@ const BarGraph = ({
49
48
  className = "pb_bar_graph",
50
49
  colors,
51
50
  htmlOptions = {},
52
- customOptions = {},
53
51
  id,
54
52
  pointStart,
55
53
  subTitle,
@@ -130,7 +128,7 @@ const BarGraph = ({
130
128
  const [options, setOptions] = useState({});
131
129
 
132
130
  useEffect(() => {
133
- setOptions({ ...staticOptions, ...customOptions });
131
+ setOptions({ ...staticOptions });
134
132
  }, [chartData]);
135
133
 
136
134
  return (