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.

33 lines (32 loc) 1.09 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ /** * Specifies a modifier key. * * The possible values are: * - `"none"`&mdash;Requires no modifier key. * - `"ctrl"`&mdash;Requires the `Ctrl` key. * - `"shift"`&mdash;Requires the `Shift` key. * - `"alt"`&mdash;Requires the `Alt` key. * * @example * ```ts * import { Component } from '@angular/core'; * import { DragAction } from '@progress/kendo-angular-charts'; * * _@Component({ * selector: 'my-app', * template: ` * <kendo-chart [zoomable]="true"> * <kendo-chart-zoomable [selection]="dragAction"></kendo-chart-zoomable> * </kendo-chart> * ` * }) * export class AppComponent { * public dragAction: DragAction = { key: 'shift' }; * } * ``` */ export type ModifierKey = 'none' | 'ctrl' | 'shift' | 'alt';