Skip to content

Create all the [ch]arts by cax or three.js - Cax 和 three.js 创造一切图[表]

Notifications You must be signed in to change notification settings

dntzhang/wechart

Repository files navigation

简体中文 | English

Wechart by Cax

Cax 和 three.js 创造一切图[表]

Transformers

weapp-line
Weapp Line Chart by dntzhang
Skatch
Force Directed Graph by dwqdaiwenqi
Coming
Dragonbones
Cax + Dragonbones by 06wj & dntzhang
Skatch
Skatch by dntzhang
Map3d
Map3d by TwistFateCarry
Music
Music3d by dwqdaiwenqi
Music
Music by dwqdaiwenqi
Texture Mapping
Texture Mapping by dntzhang
Music
Music by dwqdaiwenqi
Earth
Earth by vorshen
Magic Cube
Magic Cube by a876691666
Word Penetrating
Word Penetrating by dntzhang
Astar
Astar by dntzhang
Filter
Filter by dntzhang
Functions
Functions by dntzhang
Racing
Racing by dntzhang
Mandelbrot Set
Mandelbrot Set by dntzhang
Avatar
Source by dntzhang
Loading
Loading by dntzhang
Countdown
Countdown by dntzhang
Countdown
Particle Countdown by dntzhang
Map3d
Map3d by dntzhang
WordCloud
WordCloud by dntzhang
WordSphere
WordSphere by dntzhang
Clock
Clock by dntzhang
Excel
Excel by dntzhang
Pie
Pie by dntzhang
Bar
Bar by dntzhang
Bar
Bar by dntzhang
Cylinder
Cylinder by dntzhang
Line
Line by dntzhang
Graph
Graph by dntzhang
Map
Map by dntzhang
Radar
Radar by dntzhang
Tiger
Tiger by dntzhang
Draw
Draw by dntzhang
Pyramid3d
Pyramid3d by dntzhang
Bar3d
Bar3d by dntzhang
Pie3d
Pie3d by dntzhang
Texture Mapping
Texture Mapping by dntzhang
Heatmap
Heatmap by dntzhang

怎么贡献图[表]?

  • 在 packages 以图表的名字新建一个文件夹,比如 chart-name
  • 组件的例子放在 examples 目录,比如 simple,组件 Group 源码放在 src 目录
  • 执行 npm install 安装依赖
  • 执行 npm run build chart-name simple 进行构建

当然也支持 npm run build chart-name 简写默认自动去找 simple 目录。

build 命令会自动打开浏览器中对应目录的 html (如果3000端口没占用,占用的话会递增):

http://localhost:3000/chart-name/examples/simple/index.html

修改目录下的文件会自动刷新网页。

Cax DEMO

谁在使用?

Tencent Wechat Tencent QQ

微信交流群【2】

Tencent Wechat

License

MIT @腾讯微信支付 @Wechart团队 @腾讯AlloyTeam