Got an error integrating WebDataRocks in Angular 7
Hi, I caught an error with this, in the attached file. Please do let me know how can I solve this error, thank you!
4 answers
Hi Elisa!
Thank you for writing to us.
This type of error usually occurs if an attempt to embed a pivot table component failed because webdatarocks.js
has not been loaded successfully. Please make sure that you’ve included this file into your project. You can include it directly from WebDataRocks CDN:
<script src="https://cdn.webdatarocks.com/latest/webdatarocks.js"></script>
To get more details about integrating with Angular, please refer to the Integration with Angular 2+ guide.
Hope this helps! Feel free to contact us in case of any questions or problems.
Regards,
WebDataRocks Team
Please clarify whether webdatarocks supports angular6+ coz I could do following imports in angular8 even after doing npm i webdatarocks –save
import { WebDataRocksPivot } from “./webdatarocks/webdatarocks.angular4”;
import { HighchartsChartComponent } from “highcharts-angular”;
Hello,
Thank you for giving us some time.
We are happy to inform you that our GitHub sample dedicated to the integration with Angular was updated. It now uses an Angular version 9. You are welcome to check it out!
Please contact us in case of additional questions.
Best regards,
WebDataRocks Team
Hi,
The github sample is great, it totally works. But the documentation about the angular integration here:
https://www.webdatarocks.com/doc/integration-with-angular/
Is still severely out of date, and I think that is where most people will go, rather than laboriously looking through forum threads…