Skip to content

Commit

Permalink
delete track code
Browse files Browse the repository at this point in the history
  • Loading branch information
weepy3641 committed Dec 26, 2018
1 parent 7000a20 commit faefa74
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
### 3.4.2 (2018-12-26)
#### G2 version 3.4.8
- All tracking code is removed, no more unexpected remote request will be sent.

#### Bug Fixes
- fix(interval): error bar filling issue.
- fix(schema): error bar can't show
- fix(scale & filter): remove min max limit if field filtered
- fix(shape): liquid fill shapes should use hollow shape styles by default,
- fix(tooltip): 正确清除 markers

### 3.4.1 (2018-11-28)
#### G2 version 3.4.5
#### Bug Fixes
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bizcharts",
"version": "3.4.1",
"version": "3.4.2",
"description": "A powerful React chart library based G2 for browser",
"main": "umd/BizCharts.js",
"browser": "umd/BizCharts.js",
Expand Down Expand Up @@ -58,7 +58,7 @@
"react": "^15.0.0 || ^16.0.0"
},
"dependencies": {
"@antv/g2": "3.4.5",
"@antv/g2": "3.4.8",
"babel-plugin-istanbul": "^3.0.0",
"invariant": "^2.2.2",
"prop-types": "^15.6.0",
Expand Down
6 changes: 1 addition & 5 deletions src/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ import Util from './shared/util';
import Themes from './themes';
import * as components from './components';


G2.Global.trackingInfo = { bizcharts: '3.4.1' };

// G2.Global.animate = false;

const BizCharts = Util.mix(components, {
Expand All @@ -14,8 +11,7 @@ const BizCharts = Util.mix(components, {
Shape,
Animate,
PathUtil,
track(enable = false) {
G2.track(enable);
track() {
},
setTheme(theme) {
let themeObj = theme;
Expand Down

0 comments on commit faefa74

Please sign in to comment.