Pending Review
Last Updated: 25 Mar 2025 09:34 by Michael D
Michael D
Created on: 25 Mar 2025 09:34
Category: Diagram
Type: Bug Report
0
Diagram - documented method signature of zoom() is wrong

The documentation of the Kendo-UI Diagram widget specifies the following signature of the zoom method (as do the corresponding TS typings):

zoom(zoom: number, point: kendo.dataviz.diagram.Point): void;

However, the JS implementation looks like this:

zoom: function(zoom, options)

where options is an object that may contain a field called "point" of type kendo.dataviz.diagram.Point.

 

When using zoom as documented, it ignores the specified point. This DOJO demonstrates the behavior.

0 comments