Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hel-developer-guide
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Spencer Chang
hel-developer-guide
Commits
1212e156
Commit
1212e156
authored
Aug 14, 2017
by
yang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加hlsCircularChart环状图说明文档
parent
04ae571a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
0 deletions
+30
-0
hlsCircularChart.md
前端组件/hlsCircularChart.md
+30
-0
No files found.
前端组件/hlsCircularChart.md
0 → 100644
View file @
1212e156
## hlsCircularChart(环状图)
使用方法:
```
xml
<h:hlsChart
chartType=
"CIRCULAR"
style=
"position: relative;"
url=
"${base.contextPath}/con/conHomepage/ApprovalQuantity/query"
color=
"#FFCD55,#2EC3E8,#FA6A4D,#A0D469"
labels=
"新建,审批中,审批拒绝,审批通过"
values=
"newCount,approvingCount,rejectedCount,approvedCount"
selectedChanged=
"select"
>
</h:hlsChart>
<script>
var select = function(arg,item){
console.log('label:'+item.label);
}
</script>
```
| 属性名 | 类型 | 描述 |
| :--- | :--- | :--- |
| chartType | String | 图表类型 |
| style | String | 图表外层的style样式 |
| url | String | 图表数据源的获取地址 |
| color | String | 图表各数据块所对应的颜色,多个数据块之间使用“,”分隔 |
| labels | String | 图表中各数据块所对应的标签,多个数据块之间使用“,”分隔 |
| values | String | 图表中各数据块所对应响应数据中的字段,多个数据块之间使用“,”分隔 |
| selectedChanged | String | 图表中各数据块的点击回调事件 |
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment