We have updated WebDataRocks EULA, effective as of April 18, 2024. Learn more about what's changed.

Got an error integrating WebDataRocks in Angular 7

Answered

Hi, I caught an error with this, in the attached file. Please do let me know how can I solve this error, thank you!

Attachments:
webdata.PNG

4 answers

WebDataRocks Team WebDataRocks May 24, 2019

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

Salad Guyo February 4, 2020

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”;

WebDataRocks Team WebDataRocks February 20, 2020

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

chris marx February 25, 2020

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…