UNPKG

@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.

59 lines (58 loc) 2.69 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { drawing } from '@progress/kendo-drawing'; import { ConfigurationService } from '../../common/configuration.service'; import { LegendItemVisualArgs } from '../../common/property-types'; import { LegendItem } from '../../common/property-types'; import { SettingsComponent } from '../../common/settings.component'; import { LegendItemArea, LegendItemHighlight, LegendItemLine, LegendItemMarkers, LegendItemType } from '../../option-types/legend/item.interface'; import * as i0 from "@angular/core"; /** * Represents the Kendo UI for Angular Chart Legend Item configuration. * * @example * * ```html * <kendo-chart> * <kendo-chart-legend> * <kendo-chart-legend-item cursor="crosshair"></kendo-chart-legend-item> * </kendo-chart-legend> * </kendo-chart> * ``` */ export declare class LegendItemComponent extends SettingsComponent implements LegendItem { configurationService: ConfigurationService; /** * Specifies the cursor style for legend items. */ cursor: string; /** * Specifies the type of the legend item. */ type: LegendItemType; /** * Specifies the line configuration for the legend item. */ line: LegendItemLine; /** * Specifies the area configuration for the legend item. */ area: LegendItemArea; /** * Specifies the markers configuration for the legend item. */ markers: LegendItemMarkers; /** * Specifies the highlight configuration for the legend item. */ highlight: LegendItemHighlight; /** * Specifies a function that creates a custom visual for the legend item. */ visual: (e: LegendItemVisualArgs) => drawing.Element; constructor(configurationService: ConfigurationService); static ɵfac: i0.ɵɵFactoryDeclaration<LegendItemComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<LegendItemComponent, "kendo-chart-legend-item", never, { "cursor": { "alias": "cursor"; "required": false; }; "type": { "alias": "type"; "required": false; }; "line": { "alias": "line"; "required": false; }; "area": { "alias": "area"; "required": false; }; "markers": { "alias": "markers"; "required": false; }; "highlight": { "alias": "highlight"; "required": false; }; "visual": { "alias": "visual"; "required": false; }; }, {}, never, never, true, never>; }