UNPKG

devextreme-angular

Version:

Angular UI and visualization components based on DevExtreme widgets

81 lines (80 loc) 4.64 kB
/*! * devextreme-angular * Version: 24.2.6 * Build date: Mon Mar 17 2025 * * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file in the root of the project for details. * * https://github.com/DevExpress/devextreme-angular */ import { OnInit, OnDestroy, ElementRef, Renderer2, AfterViewInit } from '@angular/core'; import { HorizontalAlignment, Position } from 'devextreme/common'; import { ChartLabelDisplayMode } from 'devextreme/viz/chart'; import { Font, ChartsAxisLabelOverlap, RelativePosition, TextOverflow, WordWrap } from 'devextreme/common/charts'; import { Format } from 'devextreme/common/core/localization'; import { NestedOptionHost, DxTemplateDirective, IDxTemplateHost, DxTemplateHost } from 'devextreme-angular/core'; import { NestedOption } from 'devextreme-angular/core'; import * as i0 from "@angular/core"; export declare class DxoChartAxisLabelComponent extends NestedOption implements AfterViewInit, OnDestroy, OnInit, IDxTemplateHost { private renderer; private document; private element; get alignment(): HorizontalAlignment | undefined; set alignment(value: HorizontalAlignment | undefined); get customizeHint(): ((argument: { value: Date | number | string; valueText: string; }) => string); set customizeHint(value: ((argument: { value: Date | number | string; valueText: string; }) => string)); get customizeText(): ((argument: { value: Date | number | string; valueText: string; }) => string); set customizeText(value: ((argument: { value: Date | number | string; valueText: string; }) => string)); get displayMode(): ChartLabelDisplayMode; set displayMode(value: ChartLabelDisplayMode); get font(): Font; set font(value: Font); get format(): Format | undefined; set format(value: Format | undefined); get indentFromAxis(): number; set indentFromAxis(value: number); get overlappingBehavior(): ChartsAxisLabelOverlap; set overlappingBehavior(value: ChartsAxisLabelOverlap); get position(): Position | RelativePosition; set position(value: Position | RelativePosition); get rotationAngle(): number; set rotationAngle(value: number); get staggeringSpacing(): number; set staggeringSpacing(value: number); get template(): any; set template(value: any); get textOverflow(): TextOverflow; set textOverflow(value: TextOverflow); get visible(): boolean; set visible(value: boolean); get wordWrap(): WordWrap; set wordWrap(value: WordWrap); protected get _optionPath(): string; constructor(parentOptionHost: NestedOptionHost, optionHost: NestedOptionHost, renderer: Renderer2, document: any, templateHost: DxTemplateHost, element: ElementRef); setTemplate(template: DxTemplateDirective): void; ngAfterViewInit(): void; ngOnInit(): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<DxoChartAxisLabelComponent, [{ host: true; skipSelf: true; }, { host: true; }, null, null, { host: true; }, null]>; static ɵcmp: i0.ɵɵComponentDeclaration<DxoChartAxisLabelComponent, "dxo-chart-axis-label", never, { "alignment": { "alias": "alignment"; "required": false; }; "customizeHint": { "alias": "customizeHint"; "required": false; }; "customizeText": { "alias": "customizeText"; "required": false; }; "displayMode": { "alias": "displayMode"; "required": false; }; "font": { "alias": "font"; "required": false; }; "format": { "alias": "format"; "required": false; }; "indentFromAxis": { "alias": "indentFromAxis"; "required": false; }; "overlappingBehavior": { "alias": "overlappingBehavior"; "required": false; }; "position": { "alias": "position"; "required": false; }; "rotationAngle": { "alias": "rotationAngle"; "required": false; }; "staggeringSpacing": { "alias": "staggeringSpacing"; "required": false; }; "template": { "alias": "template"; "required": false; }; "textOverflow": { "alias": "textOverflow"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "wordWrap": { "alias": "wordWrap"; "required": false; }; }, {}, never, ["*"], false, never>; } export declare class DxoChartAxisLabelModule { static ɵfac: i0.ɵɵFactoryDeclaration<DxoChartAxisLabelModule, never>; static ɵmod: i0.ɵɵNgModuleDeclaration<DxoChartAxisLabelModule, [typeof DxoChartAxisLabelComponent], never, [typeof DxoChartAxisLabelComponent]>; static ɵinj: i0.ɵɵInjectorDeclaration<DxoChartAxisLabelModule>; }