Unplanned
Last Updated: 01 Apr 2025 07:26 by ADMIN
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.

1 comment
ADMIN
Neli
Posted on: 01 Apr 2025 07:26

Hi Michael,

Thank you very much for reporting the issue and for the provided example.

I will add an example in the Diagram API using the point object to be more clear on how the parameters in the zoom method can be utilized. 

As a token of gratitude for reporting an issue in our documentation, I have updated your Telerik points.

Regards,
Neli
Progress Telerik

Enjoyed our products? Share your experience on G2 and receive a $25 Amazon gift card for a limited time!