Jump to content
JChartFX Community
  • 0

Error on including motif js



After including jchartfx.motif.face.js to use the face motif I am receiving the following error,

Uncaught TypeError: Cannot read property 'Centered' of undefined -- jquery-1.11.1.min.js:4

The stack trace shows that the error is firing when executing the following js:

var chart1 = new cfx.Chart();

The chart works fine when commenting out the motif js include. What's going on? Does the motif js have issues with jQuery 1.11?

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Let me know if you are still experiencing this issue. I checked the face motif and it does not seem to use any constants named Centered (it should not need advanced for it to work).


Also try to create a simple page with a chart (no jquery or any other scripts other than jChartFX) and use the motif to see if it works.



Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji 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.

  • Create New...