Jump to content
JChartFX Community
  • 0

Jchartfx error



4 answers to this question

Recommended Posts

  • 0

Make sure
you are adding the required JavaScript Libraries.

The only two
files required in any scenario are:

- jchartfx.coreVector.js
or jchartfx.coreBasic.js

(depending on whether you want to use Vector based rendering or not)

- jchartfx.system.js

Beyond those
two, you can add or remove references as needed based on the

functionality you want to make available on the chart.

Are you
calling a specific method when received this error?


Link to comment
Share on other sites

  • 0

I have added both the references


script is :

$("div", ".ChartDiv1").chart({

gallery: cfx.Gallery.Area,

data: {

series: 2


series: [{

color: "#801702D1",

border: {

width: 4


}, {

gallery: cfx.Gallery.Lines


allSeries: {

pointLabels: {

visible: false


MarkerShape: cfx.MarkerShape.None


LegendBox: {

visible: true,

dock: cfx.DockArea.Bottom


//----Assign data fields--------

dataSourceSettings: {

fields: [{

name: "LowerLimit",

usage: cfx.FieldUsage.FromValue

}, {

name: "UpperLimit",

usage: cfx.FieldUsage.Value

}, {

name: "Value",

usage: cfx.FieldUsage.Value

}, {

name: "Date",

usage: cfx.FieldUsage.XValue



//----Set Sample Data------------

dataValues: items


i am using mvc3


Link to comment
Share on other sites

  • 0

 Hi Sunil,

Are you using JQuery mobile?  If yes, and if you are trying embed the chart inside something like Accordion etc.  this may happen. (at least I have seen this issue in such a situation).  Apparently the chart cannot reside inside some jqm components.

Hope this helps,



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