@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.
146 lines (145 loc) • 6.24 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 { 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";
/**
* Represents the Kendo UI for Angular Chart Y Axis Item component
* ([see example]({% slug api_charts_yaxiscomponent %})).
*
* @example
* ```html
* <kendo-chart>
* <kendo-chart-y-axis>
* <kendo-chart-y-axis-item color="indigo" [line]="{ width: 2 }">
* </kendo-chart-y-axis-item>
* </kendo-chart-y-axis>
* </kendo-chart>
* ```
*
* @remarks
* Supported children components are: {@link YAxisCrosshairComponent}, {@link YAxisLabelsComponent}, {@link YAxisNotesComponent}, and {@link YAxisTitleComponent}.
*/
export declare class YAxisItemComponent extends CollectionItemComponent implements YAxis {
protected configurationService: ConfigurationService;
protected collectionService: CollectionService;
/**
* Specifies the value or array of values at which the axis crosses with another axis.
*/
axisCrossingValue: any | any[];
/**
* Specifies the background color of the axis.
*/
background: string;
/**
* Specifies the base time unit for the axis.
*/
baseUnit: BaseUnit;
/**
* Specifies the categories for the axis.
*/
categories?: any[];
/**
* Specifies the color of the axis.
*/
color: string;
/**
* Specifies the configuration of the axis line.
*/
line: AxisLine;
/**
* Specifies the configuration of the major grid lines.
*/
majorGridLines: GridLines;
/**
* Specifies the configuration of the major ticks.
*/
majorTicks: AxisTicks;
/**
* Specifies the interval between major divisions.
*/
majorUnit: number;
/**
* Specifies the maximum value of the axis.
*/
max: any;
/**
* Specifies the minimum value of the axis.
*/
min: any;
/**
* Specifies the configuration of the minor grid lines.
*/
minorGridLines: GridLines;
/**
* Specifies the configuration of the minor ticks.
*/
minorTicks: AxisTicks;
/**
* Specifies the interval between minor divisions.
*/
minorUnit: number;
/**
* Specifies the unique name of the axis.
*/
name: string;
/**
* Determines whether the Chart prevents the automatic axis range from snapping to zero.
* Set to `false` to force the automatic axis range to snap to zero.
* @default false
*/
narrowRange: boolean;
/**
* Specifies the name of the pane that the axis renders in.
*/
pane: string;
/**
* Specifies the plot bands configuration.
*/
plotBands: PlotBand[];
/**
* Determines whether the value axis direction is reversed.
* By default, the values increase from left to right and from bottom to top.
* @default false
*/
reverse: boolean;
/**
* Specifies 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.
*
* When 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';
/**
* Determines whether the Chart displays the Y axis. By default, the Y axis is visible.
* @default true
*/
visible: boolean;
/**
* Specifies the configuration of the crosshair.
*/
crosshair: YAxisCrosshair;
/**
* Specifies the configuration of the labels.
*/
labels: YAxisLabels;
/**
* Specifies the configuration of the notes.
*/
notes: YAxisNotes;
/**
* Specifies the configuration of the title.
*/
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>;
}