티스토리 뷰
반응형
dcc.Graph
컴포넌트는 사용자 인터랙션을 통해 변할 수 있는 네 속성이 있다.'
- hoverData: 어떤 지점 위에 마우스를 갖다 댔을 때
- clickData: 어떤 지점을 클릭했을 때
- selectedData: 어떤 구역을 선택했을 때
- relayoutData:어떤 구역을 선택했을 때
최적의 사용자 상호 작용 및 차트 로딩 성능을 위해 dash 앱 생성 시 다음과 같은 것들을 고려해야한다.
https://dash.plotly.com/interactive-graphing
Part 4. Interactive Graphing and Crossfiltering | Dash for Python Documentation | Plotly
Try clicking and dragging in any of the plots to filter different regions. On every selection, the three graph callbacks are fired with the latest selected regions of each plot. A pandas dataframe is filtered based off of the selected points and the graphs
dash.plotly.com
위 링크를 들어가면 사용자 이벤트를 활용하는 여러 예제를 볼 수 있다.
반응형
'Dash Plotly' 카테고리의 다른 글
Dash Plotly 어플리케이션 디렉토리 구조(Application Structure) (0) | 2020.11.24 |
---|---|
7. Dash Plotly 콜백함수 간 데이터 공유 (1) | 2020.11.24 |
5. Dash Plotly와 Pandas 라이브러리 (0) | 2020.11.24 |
4. Dash Plotly에서 콜백 함수(callback function) 사용하기 (0) | 2020.11.24 |
3. Dash Plotly Core Components / help 사용법 (0) | 2020.11.24 |
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- 카카오추천팀
- reactjs
- c++
- 우선순위큐
- 후위표기식
- Dash
- dash-plotly
- 큐
- 자바스크립트
- JS
- 다이나믹프로그래밍
- sql
- 백준
- 컴퓨터공학
- 리액트
- dfs
- 회고
- 코드포매터
- React
- MySQL
- 컴퓨터과학
- 코테후기
- 동적계획법
- 프로그래머스
- 알고리즘
- 개발
- 머신러닝
- plotly
- 스택
- 자료구조
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
글 보관함
반응형