Curtis Spurlock Posted March 14, 2019 Report Share Posted March 14, 2019 I am new to JChartFX. I am using Visual Studio 2015. I am using the sample code to see if can produce the gauge. I am getting the following error: I am attaching my code. Any help would be appreciated. Thanks! JChartFxCodeSnippet.txt Quote Link to comment Share on other sites More sharing options...
0 JuanC Posted March 14, 2019 Report Share Posted March 14, 2019 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 Quote Link to comment Share on other sites More sharing options...
0 Curtis Spurlock Posted March 14, 2019 Author Report Share Posted March 14, 2019 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. Quote Link to comment Share on other sites More sharing options...
0 JuanC Posted March 20, 2019 Report Share Posted March 20, 2019 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 Quote Link to comment Share on other sites More sharing options...
Question
Curtis Spurlock
I am new to JChartFX. I am using Visual Studio 2015. I am using the sample code to see if can produce the gauge. I am getting the following error:
I am attaching my code. Any help would be appreciated. Thanks!
JChartFxCodeSnippet.txt
Link to comment
Share on other sites
3 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.