-
Notifications
You must be signed in to change notification settings - Fork 1
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
xiaoqing.dongxq
committed
Sep 26, 2014
1 parent
4bca907
commit 9a6ec62
Showing
31 changed files
with
4,534 additions
and
103 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
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,26 @@ | ||
# ItemGroup API | ||
|
||
--- | ||
|
||
图表序列中包含子项的扩展,例如柱状图、饼图 | ||
|
||
--- | ||
|
||
## 配置型 | ||
|
||
* item 子项的配置信息 | ||
* allowPointSelect 是否允许点(子项)选中 | ||
* cancelSelect 选中子项后,再次点击是否取消选中 | ||
|
||
## 公用方法 | ||
|
||
* setSelected(item) 选中子项 | ||
* clearSelected(item) 清除子项选中 | ||
* isSelected(item) 是否选中 | ||
* getSelected(item) 获取选中的子项 | ||
* getItems() 获取子项 | ||
|
||
## 提供扩展覆盖的方法 | ||
|
||
* setItemSelected(item,selected) 添加、移除选项的选中状态 | ||
|
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 @@ | ||
# Stacked API | ||
|
||
--- | ||
|
||
处理图表序列层叠的扩展,例如柱状图和区域图的层叠 | ||
|
||
--- | ||
|
||
## 配置项 | ||
|
||
* stackType | ||
* - none : 不进行层叠 | ||
* - normal : 一般的层叠方式,后面的数据序列的y值在前一个数据序列基础上显示 | ||
* - percent : 按照百分比进行层叠展示 | ||
|
||
## 共有方法 | ||
|
||
* isStacked() 是否发生层叠 | ||
|
||
## 提供给类调用的方法(protected) | ||
|
||
* processStackedPoint(point) 将点处理成层叠的点 | ||
|
Oops, something went wrong.