-
Notifications
You must be signed in to change notification settings - Fork 652
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
26 changed files
with
1,938 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,7 @@ | |
"loose": true, | ||
"modules": false | ||
} | ||
] | ||
], | ||
"babel-preset-gatsby" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -73,3 +73,5 @@ demos/debug.html | |
|
||
*.sw* | ||
*.un~ | ||
public | ||
.cache |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- | ||
title: API | ||
order: 1 | ||
--- | ||
当引入 F2 之后,就可以使用全局命名空间 `F2`。 | ||
|
||
## 常量 Constants | ||
|
||
```javascript | ||
F2.version // 当前 F2 的版本号 | ||
``` | ||
|
||
## 类 Classes | ||
|
||
- [F2.Chart](api/chart):图表的入口类 | ||
|
||
- [F2.G](api/g):底层绘图引擎(基于原生的 Html5 Canvas 接口封装) | ||
|
||
- [F2.Shape](api/shape):F2 Shape 图形扩展接口,用于自定义各种几何标记的 shape | ||
|
||
- [F2.Global](api/global):F2 的全局配置,包含图表的皮肤样式 | ||
|
||
- [F2.Util](api/util):辅助类工具函数 |
Oops, something went wrong.