ECharts 升级
This commit is contained in:
parent
3767deeae3
commit
aea8c0f0bd
|
|
@ -1,2 +1,12 @@
|
||||||
/node_modules
|
logs/
|
||||||
*.sh
|
npm-debug.log
|
||||||
|
yarn-error.log
|
||||||
|
node_modules/
|
||||||
|
package-lock.json
|
||||||
|
yarn.lock
|
||||||
|
coverage/
|
||||||
|
.idea/
|
||||||
|
run/
|
||||||
|
.DS_Store
|
||||||
|
*.sw*
|
||||||
|
*.un~
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="VcsDirectoryMappings">
|
||||||
|
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
|
|
@ -26,6 +26,6 @@
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/somonus/react-native-echarts#readme",
|
"homepage": "https://github.com/somonus/react-native-echarts#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"echarts": "3.2.3"
|
"echarts": "^4.2.0-rc.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -1,7 +1,6 @@
|
||||||
import React, {Component} from 'react';
|
import React, {Component} from 'react';
|
||||||
import {WebView, View, StyleSheet, Platform} from 'react-native';
|
import {WebView, View, StyleSheet, Platform} from 'react-native';
|
||||||
import renderChart from './renderChart';
|
import renderChart from './renderChart';
|
||||||
import echarts from './echarts.min';
|
|
||||||
|
|
||||||
export default class App extends Component {
|
export default class App extends Component {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
import echarts from './echarts.min';
|
|
||||||
import toString from '../../util/toString';
|
import toString from '../../util/toString';
|
||||||
|
|
||||||
export default function renderChart(props) {
|
export default function renderChart(props) {
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue