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.

77 lines (76 loc) 3.08 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 { Border, Margin, Padding } from '../common/property-types'; import { Subtitle } from '../common/property-types'; import { SettingsComponent } from '../common/settings.component'; import * as i0 from "@angular/core"; /** * Represents the Kendo UI for Angular Chart Subtitle component * ([see example]({% slug title_chart_charts %})). * * @example * ```html * <kendo-chart [categoryAxis]="{ categories: categories }"> * <kendo-chart-subtitle text="/GDP annual %/"></kendo-chart-subtitle> * </kendo-chart> * ``` */ export declare class SubtitleComponent extends SettingsComponent implements Subtitle { configurationService: ConfigurationService; /** * Specifies the horizontal alignment of the subtitle. */ align: 'center' | 'left' | 'right'; /** * Specifies the background color of the subtitle. Accepts a valid CSS color string, including HEX and RGB. * * @default 'white' */ background: string; /** * Specifies the border configuration of the subtitle. */ border: Border; /** * Specifies the color of the subtitle text. */ color: string; /** * Specifies the font of the subtitle. * * @default '12px sans-serif' */ font: string; /** * Specifies the margin configuration of the subtitle. */ margin: Margin | number; /** * Specifies the padding of the subtitle. A numeric value sets all paddings. * * @default 5 */ padding: Padding | number; /** * Specifies the position of the subtitle. * * @default 'top' */ position: 'top' | 'bottom'; /** * Specifies the text content of the subtitle. */ text: string; /** * Determines whether the Chart displays the subtitle. * * @default true */ visible: boolean; constructor(configurationService: ConfigurationService); static ɵfac: i0.ɵɵFactoryDeclaration<SubtitleComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<SubtitleComponent, "kendo-chart-subtitle", never, { "align": { "alias": "align"; "required": false; }; "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; }; "padding": { "alias": "padding"; "required": false; }; "position": { "alias": "position"; "required": false; }; "text": { "alias": "text"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; }, {}, never, never, true, never>; }