Troubleshooting
This article provides solutions for issues you might encounter while working with the Kendo UI Charts for Angular.
Installation
When I try to install the Chart component, a Hammer.js-related error occurs
The kendo-chart
component requires Hammer.js to be installed as a dependency. The error occurs, because Hammer.js is not loaded.
Solution
Install the Hammer.js package and import it by using the import 'hammerjs';
command.
The Chart is clipped during printing
The Chart element may overflow the page during printing.
To resolve this issue:
- Set the print dimensions of the Chart by using a Media Query.
- Before printing, call the
resize
method.
Due to Bug 774398, Firefox does not support the suggested approach.