datastake-daf 0.6.390 → 0.6.392

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.
@@ -49944,17 +49944,15 @@ function ColumnChart(_ref) {
49944
49944
  }
49945
49945
  };
49946
49946
  }, []);
49947
- return /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
49947
+ return /*#__PURE__*/jsxRuntime.jsxs("div", {
49948
+ className: "flex flex-1 flex-column justify-content-center",
49948
49949
  children: [/*#__PURE__*/jsxRuntime.jsx("div", {
49949
- className: "flex flex-1 flex-column justify-content-center",
49950
- children: /*#__PURE__*/jsxRuntime.jsx("div", {
49951
- className: "flex justify-content-center",
49952
- children: /*#__PURE__*/jsxRuntime.jsx(Container$1, {
49953
- ref: containerRef,
49954
- height: height,
49955
- isPdf: false,
49956
- width: width
49957
- })
49950
+ className: "flex justify-content-center",
49951
+ children: /*#__PURE__*/jsxRuntime.jsx(Container$1, {
49952
+ ref: containerRef,
49953
+ height: height,
49954
+ isPdf: isPdf,
49955
+ width: width
49958
49956
  })
49959
49957
  }), legendEnabled && legendPosition === 'bottom' && /*#__PURE__*/jsxRuntime.jsx(CustomLegend, {
49960
49958
  items: legendItems,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "datastake-daf",
3
- "version": "0.6.390",
3
+ "version": "0.6.392",
4
4
  "dependencies": {
5
5
  "@ant-design/icons": "^5.2.5",
6
6
  "@antv/g2": "^5.1.1",
@@ -209,25 +209,23 @@ export default function ColumnChart({
209
209
 
210
210
 
211
211
  return (
212
- <>
213
212
  <div className="flex flex-1 flex-column justify-content-center">
214
213
  <div className="flex justify-content-center">
215
214
  <Container
216
215
  ref={containerRef}
217
216
  height={height}
218
- isPdf={false}
217
+ isPdf={isPdf}
219
218
  width={width}
220
219
  ></Container>
221
220
  </div>
221
+ {legendEnabled && legendPosition === 'bottom' && (
222
+ <CustomLegend
223
+ items={legendItems}
224
+ layout={legendLayout}
225
+ interactive={legendInteractive}
226
+ style={legendStyle}
227
+ />
228
+ )}
222
229
  </div>
223
- {legendEnabled && legendPosition === 'bottom' && (
224
- <CustomLegend
225
- items={legendItems}
226
- layout={legendLayout}
227
- interactive={legendInteractive}
228
- style={legendStyle}
229
- />
230
- )}
231
- </>
232
230
  );
233
231
  }