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.

67 lines (66 loc) 3.65 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { Component, ChangeDetectionStrategy, Inject, LOCALE_ID } from '@angular/core'; import { IntlService } from '@progress/kendo-angular-intl'; import { ConfigurationService } from '../../common/configuration.service'; import { PrefixConfigurationService, PREFIX } from '../../common/prefix-configuration.service'; import { CategoryAxisItemComponent } from '../../chart/category-axis-item.component'; import * as i0 from "@angular/core"; import * as i1 from "../../common/configuration.service"; import * as i2 from "@progress/kendo-angular-intl"; /** * Represents the category axis of the navigator in a Kendo UI Stock Chart. * * @example * * ```html * <kendo-stockchart> * <kendo-chart-navigator> * <kendo-chart-navigator-category-axis * color="maroon" * [labels]="{color: 'green'}"> * </kendo-chart-navigator-category-axis> * </kendo-chart-navigator> * </kendo-stockchart> * ``` * * @remarks * Supported children components are: {@link NavigatorCategoryAxisCrosshairComponent}, {@link NavigatorCategoryAxisLabelsComponent}, {@link NavigatorCategoryAxisNotesComponent}, * {@link NavigatorCategoryAxisSelectComponent}, and {@link NavigatorCategoryAxisTitleComponent} . */ export class NavigatorCategoryAxisComponent extends CategoryAxisItemComponent { configurationService; constructor(configurationService, intl, localeId) { super(configurationService, null, intl, localeId); this.configurationService = configurationService; } static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: NavigatorCategoryAxisComponent, deps: [{ token: i1.ConfigurationService }, { token: i2.IntlService }, { token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Component }); static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: NavigatorCategoryAxisComponent, isStandalone: true, selector: "kendo-chart-navigator-category-axis", providers: [{ provide: PREFIX, useValue: 'navigator.categoryAxis' }, { provide: ConfigurationService, useClass: PrefixConfigurationService }], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: NavigatorCategoryAxisComponent, decorators: [{ type: Component, args: [{ changeDetection: ChangeDetectionStrategy.OnPush, providers: [{ provide: PREFIX, useValue: 'navigator.categoryAxis' }, { provide: ConfigurationService, useClass: PrefixConfigurationService }], selector: 'kendo-chart-navigator-category-axis', template: '', standalone: true }] }], ctorParameters: () => [{ type: i1.ConfigurationService }, { type: i2.IntlService }, { type: undefined, decorators: [{ type: Inject, args: [LOCALE_ID] }] }] });