@progress/kendo-angular-charts
Version:
Kendo UI Charts for Angular - A comprehensive package for creating beautiful and interactive data visualization. Every chart type, stock charts, and sparklines are included.
49 lines (48 loc) • 2.14 kB
TypeScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2024 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
import { TemplateRef } from '@angular/core';
import * as i0 from "@angular/core";
/**
* A directive that selects a [template](link:site.data.urls.angular['templatesyntax'])
* within the `<kendo-chart-tooltip>` component for the
* [series tooltip](slug:tooltips_chart_charts#toc-specifying-a-template).
* The following context fields are frequently utilized:
* - `let-category="category"`—The category name.
* - `let-dataItem="dataItem"`—The original data item used to construct the point. It will be `null` if binding to an array.
* - `let-series="series"`—The data series.
* - `let-value="value"`—The value of the point (either a number or an object).
* For the full list of available fields, refer to the [`TooltipTemplatePoint`](slug:api_charts_tooltiptemplatepoint).
*
* @example
* ```ts
* import { Component } from '@angular/core';
*
* _@Component({
* selector: 'my-app',
* template: `
* <kendo-chart>
* <kendo-chart-tooltip>
* <ng-template kendoChartSeriesTooltipTemplate let-value="value">
* Value is {{value}}
* </ng-template>
* </kendo-chart-tooltip>
* <kendo-chart-series>
* <kendo-chart-series-item [data]="[1, 2, 3]">
* </kendo-chart-series-item>
* </kendo-chart-series>
* </kendo-chart>
* `
* })
* class AppComponent {
* }
*
* ```
*/
export declare class SeriesTooltipTemplateDirective {
templateRef: TemplateRef<any>;
constructor(templateRef: TemplateRef<any>);
static ɵfac: i0.ɵɵFactoryDeclaration<SeriesTooltipTemplateDirective, [{ optional: true; }]>;
static ɵdir: i0.ɵɵDirectiveDeclaration<SeriesTooltipTemplateDirective, "[kendoChartSeriesTooltipTemplate]", never, {}, {}, never, never, true, never>;
}