@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.
51 lines (50 loc) • 2.91 kB
JavaScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2024 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
import { ConfigurationService } from '../../common/configuration.service';
import { SettingsComponent } from '../../common/settings.component';
import * as i0 from "@angular/core";
import * as i1 from "../../common/configuration.service";
/**
* The selected axis range. If set, the axis selection is enabled. The range is index-based and starts from zero.
* Categories with indexes in the
* ([`select.from`]({% slug api_charts_categoryaxisselectcomponent %}#toc-from)
* —[`select.to`]({% slug api_charts_categoryaxisselectcomponent %}#toc-to)) range will be selected.
* This means that the last category in the range will not be included in the selection.
* If the categories are dates, the range has to be also specified with date values.
*/
export class CategoryAxisSelectComponent extends SettingsComponent {
configurationService;
from;
max;
min;
mousewheel;
to;
constructor(configurationService) {
super('select', configurationService);
this.configurationService = configurationService;
}
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CategoryAxisSelectComponent, deps: [{ token: i1.ConfigurationService }], target: i0.ɵɵFactoryTarget.Component });
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: CategoryAxisSelectComponent, isStandalone: true, selector: "kendo-chart-category-axis-item-select", inputs: { from: "from", max: "max", min: "min", mousewheel: "mousewheel", to: "to" }, usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CategoryAxisSelectComponent, decorators: [{
type: Component,
args: [{
changeDetection: ChangeDetectionStrategy.OnPush,
selector: 'kendo-chart-category-axis-item-select',
template: '',
standalone: true
}]
}], ctorParameters: function () { return [{ type: i1.ConfigurationService }]; }, propDecorators: { from: [{
type: Input
}], max: [{
type: Input
}], min: [{
type: Input
}], mousewheel: [{
type: Input
}], to: [{
type: Input
}] } });