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

[#1102] Chart > Select Label #1102

Merged
merged 2 commits into from
Mar 23, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions docs/views/barChart/api/barChart.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ const chartData = {
| indicator | Object | ([상세](#indicator)) | 지표선 | |
| maxTip | Object | ([상세](#maxtip)) | 최대값에 tip 표시(값 표시) 여부 및 속성 | |
| selectItem | Object | ([상세](#selectitem)) | 차트 아이템 선택 기능 활성화 여부 및 속성 | |
| selectLabel | Object | ([상세](#selectlabel)) | 차트 라벨 선택 기능 활성화 여부 및 속성 | |
| padding | Object | { top: 20, right: 2, left: 2, bottom: 4 } | 차트 내부 padding 값 | |

#### axesX axesY
Expand Down Expand Up @@ -261,6 +262,18 @@ const chartData = {
| tipBackground | Hex, RGB, RGBA Code(String) | '#000000' | tip 배경색상 | |
| tipTextColor | Hex, RGB, RGBA Code(String) | '#FFFFFF' | tip 글자 색상 | |

#### selectLabel
| 이름 | 타입 | 디폴트 | 설명 | 종류(예시) |
|---------------------|-----------------------------|-----------|---------------------------------------| ----------|
| use | Boolean | false | 차트 라벨 선택 기능 | |
| limit | Number | 1 | 선택할 라벨의 최대 갯수 | |
| useDeselectOverflow | Boolean | false | limit 를 넘어 클릭 했을때 자동 deselect 를 할지 여부 | |
| showTip | Boolean | false | 선택한 위치의 Tip(화살표) 생성 여부 | |
| useSeriesOpacity | Boolean | true | 시리즈 opacity 변경 여부 | |
| useLabelOpacity | Boolean | true | 선택한 위치의 Tip(화살표) 생성 여부 | |
| fixedPosTop | Boolean | false | tip의 위치를 최대값으로 고정 | |
| useApproximateValue | Boolean | false | 가까운 label을 선택 | |
| tipBackground | Hex, RGB, RGBA Code(String) | '#000000' | tip 배경색상 | |

### 4. resize-timeout
- Default : 0
Expand Down
Loading