datastake-daf 0.6.389 → 0.6.391
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/dist/components/index.js
CHANGED
|
@@ -45822,10 +45822,6 @@ const CustomLegend = ({
|
|
|
45822
45822
|
style = {}
|
|
45823
45823
|
}) => {
|
|
45824
45824
|
const isVertical = layout === 'vertical';
|
|
45825
|
-
console.log({
|
|
45826
|
-
isVertical,
|
|
45827
|
-
items
|
|
45828
|
-
});
|
|
45829
45825
|
return /*#__PURE__*/jsxRuntime.jsx("div", {
|
|
45830
45826
|
style: {
|
|
45831
45827
|
display: "flex",
|
|
@@ -49882,14 +49878,7 @@ function ColumnChart(_ref) {
|
|
|
49882
49878
|
const {
|
|
49883
49879
|
token
|
|
49884
49880
|
} = useToken$e();
|
|
49885
|
-
|
|
49886
|
-
legendEnabled,
|
|
49887
|
-
legendItems,
|
|
49888
|
-
legendPosition,
|
|
49889
|
-
legendLayout,
|
|
49890
|
-
legendInteractive,
|
|
49891
|
-
legendStyle
|
|
49892
|
-
} = useLegendConfig({
|
|
49881
|
+
useLegendConfig({
|
|
49893
49882
|
legendConfig,
|
|
49894
49883
|
isPdf
|
|
49895
49884
|
});
|
|
@@ -49948,9 +49937,9 @@ function ColumnChart(_ref) {
|
|
|
49948
49937
|
}
|
|
49949
49938
|
};
|
|
49950
49939
|
}, []);
|
|
49951
|
-
return /*#__PURE__*/jsxRuntime.
|
|
49940
|
+
return /*#__PURE__*/jsxRuntime.jsx("div", {
|
|
49952
49941
|
className: "flex flex-1 flex-column justify-content-center",
|
|
49953
|
-
children:
|
|
49942
|
+
children: /*#__PURE__*/jsxRuntime.jsx("div", {
|
|
49954
49943
|
className: "flex justify-content-center",
|
|
49955
49944
|
children: /*#__PURE__*/jsxRuntime.jsx(Container$1, {
|
|
49956
49945
|
ref: containerRef,
|
|
@@ -49958,13 +49947,17 @@ function ColumnChart(_ref) {
|
|
|
49958
49947
|
isPdf: false,
|
|
49959
49948
|
width: width
|
|
49960
49949
|
})
|
|
49961
|
-
})
|
|
49962
|
-
|
|
49963
|
-
|
|
49964
|
-
|
|
49965
|
-
|
|
49966
|
-
|
|
49967
|
-
}
|
|
49950
|
+
})
|
|
49951
|
+
})
|
|
49952
|
+
// {legendEnabled && legendPosition === 'bottom' && (
|
|
49953
|
+
// <CustomLegend
|
|
49954
|
+
// items={legendItems}
|
|
49955
|
+
// layout={legendLayout}
|
|
49956
|
+
// interactive={legendInteractive}
|
|
49957
|
+
// style={legendStyle}
|
|
49958
|
+
// />
|
|
49959
|
+
// )}
|
|
49960
|
+
;
|
|
49968
49961
|
}
|
|
49969
49962
|
|
|
49970
49963
|
const {
|
package/package.json
CHANGED
|
@@ -218,14 +218,14 @@ export default function ColumnChart({
|
|
|
218
218
|
width={width}
|
|
219
219
|
></Container>
|
|
220
220
|
</div>
|
|
221
|
-
{legendEnabled && legendPosition === 'bottom' && (
|
|
222
|
-
<CustomLegend
|
|
223
|
-
items={legendItems}
|
|
224
|
-
layout={legendLayout}
|
|
225
|
-
interactive={legendInteractive}
|
|
226
|
-
style={legendStyle}
|
|
227
|
-
/>
|
|
228
|
-
)}
|
|
229
221
|
</div>
|
|
222
|
+
// {legendEnabled && legendPosition === 'bottom' && (
|
|
223
|
+
// <CustomLegend
|
|
224
|
+
// items={legendItems}
|
|
225
|
+
// layout={legendLayout}
|
|
226
|
+
// interactive={legendInteractive}
|
|
227
|
+
// style={legendStyle}
|
|
228
|
+
// />
|
|
229
|
+
// )}
|
|
230
230
|
);
|
|
231
231
|
}
|