stz-chart-maker Documentation - v2.3.7
    Preparing search index...

    Function showChartTooltip

    • 차트 tooltip과 active element를 함께 표시합니다.

      Parameters

      • chart: Chart
      • activeElements: ActiveElement[]

        활성화할 요소 목록

      • Optionalposition: { x: number; y: number }

        tooltip 위치. 생략 시 활성 요소 위치를 사용합니다.

      Returns void

      2.3.5

      showChartTooltip('sales-chart', [{ datasetIndex: 0, index: 2 }]);
      
    • 차트 tooltip과 active element를 함께 표시합니다.

      Parameters

      • chartId: string
      • activeElements: ActiveElement[]

        활성화할 요소 목록

      • Optionalposition: { x: number; y: number }

        tooltip 위치. 생략 시 활성 요소 위치를 사용합니다.

      Returns void

      2.3.5

      showChartTooltip('sales-chart', [{ datasetIndex: 0, index: 2 }]);