차트를 클릭할 때 실행할 콜백입니다. 콜백에는 x 값, y 값, 계열 이름의 세 가지 인수가 전달됩니다. 시간 값은 애셋의 'system:time_start' 값과 같이 UTC 에포크 밀리초로 표시됩니다. 사용자가 범례 항목을 클릭하여 전체 계열을 선택하면 x 및 y 값은 null입니다. 사용자가 이미 선택된 포인트를 클릭하면 모든 인수가 null이 되어 선택이 해제되었음을 나타냅니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-07-29(UTC)"],[[["The `Chart.onClick()` method registers a callback function that is triggered when a user clicks on a chart."],["This function returns a unique ID that can be used with `unlisten()` to remove the registered callback."],["The callback function receives the x-value, y-value, and series name as arguments, providing information about the clicked point on the chart."],["Clicking on a legend entry to select a series results in null x and y values, while clicking an already-selected point results in all null arguments indicating selection clearance."]]],[]]