Jump to content
JChartFX Community
  • 0
Curtis Spurlock

Receiving OffsetWidth Error

Question

2 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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×