Guest Ravikumar S

Does fusioncharts works without jquery?

Recommended Posts

Guest Ravikumar S

Does fusioncharts works without jquery? I am using the licensed fusioncharts XT for one of my application.

Trying to use the same for angular2 application. Able to import them in app module, but when loading application complaints about below error. Does this to do anything with jquery? I am not using jquery in my angulars application.

Uncaught TypeError: Cannot read property 'on' of undefined
    at eval (fusioncharts.js:340)
    at c.upgrade (fusioncharts.js:241)
    at eval (fusioncharts.js:241)
    at Object.eval (fusioncharts.js:437)
    at Function.v.core (fusioncharts.js:20)
    at Function.module (fusioncharts.js:20)
    at Function.register (fusioncharts.js:23)
    at eval (fusioncharts.js:236)
    at Object.../../../../../fusioncharts/fusioncharts.js (main.bundle.js:13)
    at __webpack_require__ (inline.bundle.js:55)
    at eval (app.module.ts:78)
    at Object.../../../../../src/app/app.module.ts (main.bundle.js:71)
    at __webpack_require__ (inline.bundle.js:55)
    at eval (main.ts:4)
    at Object.../../../../../src/main.ts (main.bundle.js:781)
(anonymous) @ fusioncharts.js:340
c.upgrade @ fusioncharts.js:241
(anonymous) @ fusioncharts.js:241
(anonymous) @ fusioncharts.js:437
v.core @ fusioncharts.js:20
module @ fusioncharts.js:20
register @ fusioncharts.js:23
(anonymous) @ fusioncharts.js:236
../../../../../fusioncharts/fusioncharts.js @ main.bundle.js:13
__webpack_require__ @ inline.bundle.js:55
(anonymous) @ app.module.ts:78
../../../../../src/app/app.module.ts @ main.bundle.js:71
__webpack_require__ @ inline.bundle.js:55
(anonymous) @ main.ts:4
../../../../../src/main.ts @ main.bundle.js:781
__webpack_require__ @ inline.bundle.js:55
0 @ main.bundle.js:796
__webpack_require__ @ inline.bundle.js:55
webpackJsonpCallback @ inline.bundle.js:26
(anonymous) @ main.bundle.js:1

 

Share this post


Link to post
Share on other sites
Guest
You are commenting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoticons maximum are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...