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.

70 lines (69 loc) 4.35 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ 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 } from '../common/property-types'; import { YAxis, YAxisCrosshair, YAxisLabels, YAxisNotes, YAxisTitle } from '../common/property-types'; import * as i0 from "@angular/core"; /** * The configuration component for the Y axis * ([see example]({% slug api_charts_yaxiscomponent %})). */ export declare class YAxisItemComponent extends CollectionItemComponent implements YAxis { protected configurationService: ConfigurationService; protected collectionService: CollectionService; 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; /** * If set to `true`, the Chart prevents the automatic axis range from snapping to zero. * Setting it to `false` forces the automatic axis range to snap to zero. * @default false */ narrowRange: boolean; pane: string; plotBands: PlotBand[]; /** * If set to `true`, the value axis direction is reversed. * By default, the values increase from left to right and from bottom to top. * @default false */ reverse: boolean; /** * 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 Y 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 Y axis. By default, the Y axis is visible. * @default true */ visible: boolean; crosshair: YAxisCrosshair; labels: YAxisLabels; notes: YAxisNotes; title: YAxisTitle; constructor(configurationService: ConfigurationService, collectionService: CollectionService); static ɵfac: i0.ɵɵFactoryDeclaration<YAxisItemComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<YAxisItemComponent, "kendo-chart-y-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; }; "type": { "alias": "type"; "required": false; }; "visible": { "alias": "visible"; "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>; }