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.

47 lines (46 loc) 2.45 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2024 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"; /** * The configuration of the Chart pane title. */ export declare class PanesTitleComponent extends SettingsComponent implements PanesTitle { configurationService: ConfigurationService; background: string; border: Border; color: string; /** * The font style of the title. * @default '700 18px sans-serif' */ font: string; /** * The margin of the title. A numeric value sets all margins. * @default 5 */ margin: Margin | number; /** * The position of the title. * * The positioning of the axis title can be set to `left` for left positioning, `right` for right positioning (both applicable to the horizontal axis), or `center` for positioning in the center. * @default 'center' */ position: 'left' | 'right' | 'center'; text: string; /** * If set to `true`, the Chart displays the pane title. * @default true */ visible: boolean; 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>; }