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.
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!