Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

webpack能加载echarts吗? #1624

Closed
luqin opened this issue Jun 3, 2015 · 5 comments
Closed

webpack能加载echarts吗? #1624

luqin opened this issue Jun 3, 2015 · 5 comments

Comments

@luqin
Copy link

luqin commented Jun 3, 2015

echarts webpack 示例:

npm install echarts
import echarts from 'echarts/echarts';
import 'echarts/chart/wordCloud';

let mychart = echarts.init(dom);
let charCloudOption = {...};
mychart.setOption(charCloudOption);

完整示例:https://github.com/luqin/webpack-echarts-starter-kit

@standino
Copy link

standino commented Jun 4, 2015

+1

强烈期待给一个webpack的配置例子。谢谢。

@standino
Copy link

standino commented Jun 4, 2015

npm 能够发现echarts-react ,但是下载不了。是不是在开发中啊?

$ npm search echarts
NAME DESCRIPTION AUTHOR DATE VERSION KEYWORDS
avs-statechart Statecharts for Node.js =gigerlin 2014-03-10 0.1.6 statechart
bemuse-indexer Parse and index BMS notecharts =dtinth 2015-05-20 1.2.0
d3pie A highly configurable, re-usable library built on d3.js for… =benkeen 2015-05-01 0.1.8 d3 piecharts charts graphs
dnode-smoothiecharts Smoothie Charts middleware for DNode =chrispartridge 2011-05-14 0.0.1 dnode smoothiecharts charting
echarts-optimizer =errorrik =ecomfe 2015-01-28 0.2.18
echarts-react 2015-05-09
foxx_generator Generate Foxx APIs using Statecharts and Domain Driven… =moonglum 2014-11-27 0.5.1 foxx arangodb generator hypermedia
hexo-tag-googlecharts A hexo tag for inserting google charts in your blog. =juampi92 2015-06-03 1.0.2
react-echarts 2015-05-09
scion StateCharts Interpretation and Optimization eNgine (SCION)… =jbeard 2012-09-13 0.0.10 scxml statecharts w3c javascript
scion-core StateCharts Interpretation and Optimization eNgine (SCION)… =jbeard4 2015-02-05 1.0.0 scxml statecharts w3c javascript
scion-ng StateCharts Interpretation and Optimization eNgine (SCION)… =jbeard 2013-05-14 0.1.2 scxml statecharts w3c javascript
scion-shell A nodejs-based SCXML execution environment. =jbeard 2012-09-29 1.0.0 scxml statecharts w3c javascript shell
scxml An implementation of SCXML in JavaScript. =jbeard 2015-02-05 2.0.1 scxml statecharts w3c javascript
scxml-test-framework A set of SCXML tests, and an HTTP client test runner for… =jbeard 2012-04-03 0.0.1 scxml statecharts w3c javascript

@hushicai
Copy link
Contributor

hushicai commented Jun 4, 2015

#1625

@hushicai hushicai closed this as completed Jun 4, 2015
@hushicai
Copy link
Contributor

这有个例子,可以参考一下。

@luqin
Copy link
Author

luqin commented Aug 21, 2015

echarts webpack 示例:

npm install echarts
import echarts from 'echarts/echarts';
import 'echarts/chart/wordCloud';

let mychart = echarts.init(dom);
let charCloudOption = {...};
mychart.setOption(charCloudOption);

完整示例:https://github.com/luqin/webpack-echarts-starter-kit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants