datastake-daf 0.6.310 → 0.6.311

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.
@@ -45822,7 +45822,7 @@ const Chart = _ref => {
45822
45822
  if (typeof legend === 'object') {
45823
45823
  return legend;
45824
45824
  }
45825
- if (legend === true || legend === undefined || isPdf) {
45825
+ if (legend === true || isPdf) {
45826
45826
  return {};
45827
45827
  }
45828
45828
  return null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "datastake-daf",
3
- "version": "0.6.310",
3
+ "version": "0.6.311",
4
4
  "dependencies": {
5
5
  "@ant-design/icons": "^5.2.5",
6
6
  "@antv/g2": "^5.1.1",
@@ -39,8 +39,8 @@ export const Primary = {
39
39
  "color": "#C04B19"
40
40
  }
41
41
  ],
42
- legend: false,
43
- isPdf: true,
42
+ // legend: false,
43
+ // isPdf: true,
44
44
  isPercentage: true,
45
45
  },
46
46
  };
@@ -66,7 +66,7 @@ const Chart = ({
66
66
  return legend;
67
67
  }
68
68
 
69
- if (legend === true || legend === undefined || isPdf) {
69
+ if (legend === true || isPdf) {
70
70
  return {};
71
71
  }
72
72