New to Kendo UI for AngularStart a free 30-day trial

ModifierKey

Specifies a modifier key.

The possible values are:

  • "none"—No modifier key is pressed.
  • "ctrl"—The Ctrl key is pressed.
  • "shift"—The Shift key is pressed.
  • "alt"—The Alt key is pressed.
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' };
}

type ModifierKey = "none" | "ctrl" | "shift" | "alt";

Not finding the help you need?
Contact Support