dlt-for-react 2.1.3 → 2.1.4

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.
@@ -64,15 +64,23 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
64
64
 
65
65
  //中国地图数据
66
66
 
67
- //极坐标系组件
68
- //提示框组件
67
+ // import 'echarts/lib/chart/heatmap';
68
+
69
+ // import 'echarts/lib/component/graphic';
69
70
  //直角坐标系组件
70
- //地图
71
- // import 'echarts/lib/chart/treemap';
72
- //散点图
73
- //柱状图
71
+ //图例组件
72
+ //提示框组件
73
+ //标题组件
74
+ //极坐标系组件
74
75
  //echarts 基础配置,必须引入
75
76
  /* 按需引入echarts */
77
+ //折线图
78
+ //柱状图
79
+ //饼图
80
+ //散点图
81
+ //雷达图
82
+ //地图
83
+ // import 'echarts/lib/chart/treemap';
76
84
  /*******
77
85
  * @description:科研-KyECharts 图表绘画
78
86
  * @author: 琴时
@@ -83,16 +91,13 @@ var KyECharts = function KyECharts(_ref) {
83
91
  lazyUpdate = _ref.lazyUpdate,
84
92
  props = (0, _objectWithoutProperties3.default)(_ref, ['className', 'notMerge', 'lazyUpdate']);
85
93
 
86
- return _react2.default.createElement(
87
- 'div',
88
- { className: (0, _classnames2.default)('ky-echarts', className) },
89
- _react2.default.createElement(_core2.default, (0, _extends3.default)({
90
- echarts: _echarts2.default,
91
- notMerge: notMerge,
92
- lazyUpdate: lazyUpdate,
93
- style: { width: '100%', height: '100%' }
94
- }, props))
95
- );
94
+ return _react2.default.createElement(_core2.default, (0, _extends3.default)({
95
+ style: { width: '100%', height: '100%' },
96
+ className: (0, _classnames2.default)('ky-echarts', className),
97
+ echarts: _echarts2.default,
98
+ notMerge: notMerge,
99
+ lazyUpdate: lazyUpdate
100
+ }, props));
96
101
  }; //地理坐标系组件
97
102
  // import 'echarts/lib/component/parallel';
98
103
  // import 'echarts/lib/component/singleAxis';
@@ -108,12 +113,6 @@ var KyECharts = function KyECharts(_ref) {
108
113
  // import 'echarts/lib/component/timeline';
109
114
  // import 'echarts/lib/component/toolbox'
110
115
 
111
- //标题组件
112
- //图例组件
113
-
114
- // import 'echarts/lib/chart/heatmap';
115
-
116
- // import 'echarts/lib/component/graphic';
117
116
  //曲线图
118
117
  // import 'echarts/lib/chart/gauge';
119
118
  // import 'echarts/lib/chart/funnel';
@@ -121,9 +120,6 @@ var KyECharts = function KyECharts(_ref) {
121
120
  // import 'echarts/lib/chart/sankey';
122
121
  // import 'echarts/lib/chart/boxplot';
123
122
  // import 'echarts/lib/chart/candlestick';
124
- //雷达图
125
- //饼图
126
- //折线图
127
123
 
128
124
  KyECharts.defaultProps = {
129
125
  notMerge: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dlt-for-react",
3
- "version": "2.1.3",
3
+ "version": "2.1.4",
4
4
  "description": "dlt for react",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {
@@ -71,8 +71,8 @@
71
71
  "dependencies": {
72
72
  "antd": "^3.6.4",
73
73
  "babel-runtime": "^6.26.0",
74
- "echarts": "^4.2.1",
75
- "echarts-for-react": "^2.0.15-beta.0",
74
+ "echarts": "^5.5.0",
75
+ "echarts-for-react": "^3.0.2",
76
76
  "hex-sha1": "^1.0.2",
77
77
  "jsencrypt": "3.0.0-rc.1",
78
78
  "rc-queue-anim": "^2.0.0",