Jump to content
JChartFX Community
  • 0

getView3D().setEnabled(true) throwing error


MarkBurgess
 Share

Question

I am using the code from the gallery to create a 3d pie, as follows:

chart3 = new cfx.Chart();

var td;

td = new cfx.TitleDockable();

td.setText("3D Pie");

chart3.getTitles().add(td);

chart3.getLegendBox().setVisible(false);

chart3.setGallery(cfx.Gallery.Pie);

chart3.getView3D().setEnabled(true);

Uncaught TypeError: undefined is not a function in jchartfx.coreVector.js:407 (as seen in Chrome) or jchartfx.coreVector.js:407TypeError: 'undefined' is not a constructor (evaluating 'new b.bY') as seen in Safari.

I have tried various ways to enable the View3D but always get this error

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

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.

Guest
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.

Loading...
 Share

×
×
  • Create New...