Jump to content
JChartFX Community
  • 0
Curtis Spurlock

Receiving OffsetWidth Error

Question

3 answers to this question

Recommended Posts

  • 0

I tried the code you attached and I am able to see the gauge. I only added a div to host the gauge control and the call to SetUpGauge when the document is ready.

<div id="gauge" style="width:200px;height:200px;display:inline-block"></div>

I would recommend you try alert(cfx.gauge.Version); and include the version reported, also if your js files are very old I would recommend downloading updated versions in case it is something that has already been fixed.

Regards,

JuanC

Share this post


Link to post
Share on other sites
  • 0

The alert box says the version is 7.4.5649.31763.  I downloaded using the Manage NuGet packages option in Visual Studio.

If I comment out the line 

radialGauge1.create(divHolder);

I don't get the error.  I know I won't see the gauge without this line.

Share this post


Link to post
Share on other sites
  • 0

I would recommend making a backup copy of the jChartFX scripts you are using and download the most recent build, the build you are using is from 2015 so there have been several fixes as well as new functionality.

You can download it at www.jchartfx.com, I will pass the outdated nuget information so that we can update it.

Regards,

JuanC

Share this post


Link to post
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.

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

×
×
  • Create New...