Angular 차트 도구 설명

    In Angular charts, tooltips provide details about bound data and they are rendered in popups when the end-user hovers over data points. Tooltips are supported by the IgxCategoryChartComponent, IgxFinancialChartComponent, and IgxDataChartComponent controls.

    Angular Chart Tooltip Types

    Angular Chart provide three types of tooltips that you can with tooltips enabled by setting the toolTipType property. The following example shows the Column Chart with a combo-box that you can use to change type of tooltips.

    이 속성은toolTipType 구성 가능하며 다음 옵션 중 하나로 설정할 수 있습니다:

    자산 가치 설명
    Default툴팁 포인터를 항목 위에 놓으면 해당 항목에 대한 도구 설명이 표시됩니다.
    Data툴팁 차트의 모든 계열에 대한 데이터 도구 설명을 표시합니다.
    Item툴팁 포인터가 위치한 범주의 각 데이터 항목에 대한 도구 설명을 표시합니다.
    Category툴팁 포인터가 위치한 범주의 모든 데이터 포인트에 대해 그룹화된 도구 설명을 표시합니다.

    Angular Chart Tooltip Template

    기본 제공 유형의 툴팁이 요구 사항과 일치하지 않는 경우, 시리즈 제목, 데이터 값 및 축 값을 표시하고 스타일을 지정하는 고유한 툴팁을 만들 수 있습니다. 다음 섹션에서는 다양한 유형의 Angular 차트에서 이를 수행하는 방법을 보여줍니다.

    Custom Tooltips in Category Chart

    This example shows how to create custom tooltips for all series in Angular IgxCategoryChartComponent control. Note that you can also apply the same logic to custom tooltips in Angular IgxFinancialChartComponent control.

    Custom Tooltips in Data Chart

    이 예제에서는 Angular 데이터 차트 컨트롤의 각 시리즈에 대한 사용자 정의 도구 설명을 만드는 방법을 보여줍니다.

    Additional Resources

    다음 항목에서 관련 차트 기능에 대한 자세한 내용을 확인할 수 있습니다.

    API References

    IgxCategoryChartComponent 컴포넌트는IgxFinancialChartComponent 다음과 같은 API 속성을 공유합니다:

    컴포넌트에서는IgxDataChartComponent 다음과 같은 API 컴포넌트와 속성을 사용할 수 있습니다: