@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.
67 lines (66 loc) • 4.4 kB
TypeScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
import { OnDestroy } from '@angular/core';
import { IntlService } from '@progress/kendo-angular-intl';
import { CollectionItemComponent } from '../common/collection-item.component';
import { CollectionService } from '../common/collection.service';
import { ConfigurationService } from '../common/configuration.service';
import { AxisLine, AxisTicks, BaseUnit, GridLines, PlotBand, WeekStartDay } from '../common/property-types';
import { XAxis, XAxisCrosshair, XAxisLabels, XAxisNotes, XAxisTitle } from '../common/property-types';
import * as i0 from "@angular/core";
/**
* The configuration component for an X axis
* ([see example]({% slug api_charts_xaxiscomponent %})).
*/
export declare class XAxisItemComponent extends CollectionItemComponent implements XAxis, OnDestroy {
protected configurationService: ConfigurationService;
protected collectionService: CollectionService;
protected intl: IntlService;
axisCrossingValue: any | any[];
background: string;
baseUnit: BaseUnit;
categories?: any[];
color: string;
line: AxisLine;
majorGridLines: GridLines;
majorTicks: AxisTicks;
majorUnit: number;
max: any;
min: any;
minorGridLines: GridLines;
minorTicks: AxisTicks;
minorUnit: number;
name: string;
narrowRange: boolean;
pane: string;
plotBands: PlotBand[];
reverse: boolean;
startAngle: number;
/**
* The axis type.
*
* The options are `numeric` for a numeric axis, `date` for a specialized axis for displaying chronological data, and `log` for a logarithmic axis.
*
* If the series X value is of the `date` type, the Chart automatically switches to a date axis.
* To avoid this behavior, set the `type`.
* @default 'numeric'
*/
type: 'numeric' | 'log' | 'date';
/**
* If set to `true`, the Chart displays the X axis. By default, the X axis is visible.
* @default true
*/
visible: boolean;
weekStartDay: WeekStartDay;
crosshair: XAxisCrosshair;
labels: XAxisLabels;
notes: XAxisNotes;
title: XAxisTitle;
private intlSubscription;
constructor(configurationService: ConfigurationService, collectionService: CollectionService, intl: IntlService, localeId: string);
ngOnDestroy(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<XAxisItemComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<XAxisItemComponent, "kendo-chart-x-axis-item", never, { "axisCrossingValue": { "alias": "axisCrossingValue"; "required": false; }; "background": { "alias": "background"; "required": false; }; "baseUnit": { "alias": "baseUnit"; "required": false; }; "categories": { "alias": "categories"; "required": false; }; "color": { "alias": "color"; "required": false; }; "line": { "alias": "line"; "required": false; }; "majorGridLines": { "alias": "majorGridLines"; "required": false; }; "majorTicks": { "alias": "majorTicks"; "required": false; }; "majorUnit": { "alias": "majorUnit"; "required": false; }; "max": { "alias": "max"; "required": false; }; "min": { "alias": "min"; "required": false; }; "minorGridLines": { "alias": "minorGridLines"; "required": false; }; "minorTicks": { "alias": "minorTicks"; "required": false; }; "minorUnit": { "alias": "minorUnit"; "required": false; }; "name": { "alias": "name"; "required": false; }; "narrowRange": { "alias": "narrowRange"; "required": false; }; "pane": { "alias": "pane"; "required": false; }; "plotBands": { "alias": "plotBands"; "required": false; }; "reverse": { "alias": "reverse"; "required": false; }; "startAngle": { "alias": "startAngle"; "required": false; }; "type": { "alias": "type"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "weekStartDay": { "alias": "weekStartDay"; "required": false; }; "crosshair": { "alias": "crosshair"; "required": false; }; "labels": { "alias": "labels"; "required": false; }; "notes": { "alias": "notes"; "required": false; }; "title": { "alias": "title"; "required": false; }; }, {}, never, never, true, never>;
}