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.

60 lines (59 loc) 2.63 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { ConfigurationService } from '../../common/configuration.service'; import { drawing } from '@progress/kendo-drawing'; import { SettingsComponent } from '../../common/settings.component'; import { Border, Margin } from '../../common/property-types'; import { PanesTitle } from '../../common/property-types'; import * as i0 from "@angular/core"; /** * Represents the title configuration for the Chart panes. */ export declare class PanesTitleComponent extends SettingsComponent implements PanesTitle { configurationService: ConfigurationService; /** * Sets the background color of the title. */ background: string; /** * Specifies the border configuration of the title. */ border: Border; /** * Sets the text color of the title. */ color: string; /** * Defines the font style of the title. * @default '700 18px sans-serif' */ font: string; /** * Specifies the margin of the title. A numeric value sets all margins. * @default 5 */ margin: Margin | number; /** * Specifies the position of the title. * @default 'center' */ position: 'left' | 'right' | 'center'; /** * Sets the text content of the title. */ text: string; /** * Determines whether the Chart displays the pane title. * @default true */ visible: boolean; /** * Provides a function that creates a custom visual for the title. */ visual: (e: any) => drawing.Element; constructor(configurationService: ConfigurationService); static ɵfac: i0.ɵɵFactoryDeclaration<PanesTitleComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<PanesTitleComponent, "kendo-chart-pane-title", never, { "background": { "alias": "background"; "required": false; }; "border": { "alias": "border"; "required": false; }; "color": { "alias": "color"; "required": false; }; "font": { "alias": "font"; "required": false; }; "margin": { "alias": "margin"; "required": false; }; "position": { "alias": "position"; "required": false; }; "text": { "alias": "text"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "visual": { "alias": "visual"; "required": false; }; }, {}, never, never, true, never>; }