Results 1 to 7 of 7

Thread: Charts are not showing

  1. #1

    Default Charts are not showing

    All,

    I'm trying to migrate my DynamicAI to a new server. I installed DAI, copied over the dat files and reconnected the database to the new server & everything appeared to be working. The reports were displaying on our web site and the charting worked as expected as well. However, we have an app written in c# that we install that uses these exact same reports. We have a web object and set the url accordingly to whatever report we wish to show. The problem we're seeing is the charts are not showing anymore in the app. Grids & reports display fine but no charts. If we point back to the original server they display. When I try to run the charts and graphs in a plain browser on the new server they also work. The one big difference I see is the versions are different but I can't imagine that's the problem. Is there anything I can check/do to see what the issue might be. I can't seem to debug what's going on in the browser as it's an object in the program that I'm trying to debug.

    A quick edit. I enabled script errors and I'm getting a 'HighCharts error #27: www,highcharts27' on the file 'https://gt.rfidentity.com/ai6/images/hc/highstock604.js'. Hopefully this will shed some light for someone, I'm at a complete loss.

    Thanks in advance and any help/insight would be grateful,

    Jeff
    Last edited by JeffKimmel; 17-Oct-2022 at 01:41 PM.

  2. #2
    Join Date
    Feb 2009
    Posts
    1,493

    Default Re: Charts are not showing

    Hi Jeff,
    My first suspcion is that your C# application is using iFrame from IE -- and the default version Windows defines is old, and does not support the newer versions of High Charts. You can prove this by running IE 8 on your new site to see if the charts fail to display. You can force Windows to use a newer version of IE or Edge by changing some registry setting(s). Have a look at: https://social.msdn.microsoft.com/Fo...lating-msie-70 and https://docs.microsoft.com/en-us/pre...wser_emulation.

    Basically, you have to add your application [name].exe and specify which browser version you want invoked went instantiating an iFrame: 11001 = IE version 11
    Registry key to edit:
    Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Int ernet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULA TION
    OR
    Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Int ernet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULA TION
    OR
    this is the one that worked for me.
    Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\M icrosoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULA TION

    HTH,
    Bob

  3. #3

    Default Re: Charts are not showing

    Bob,

    You are correct in that it is using the iFrame and it is indeed old. I can't go through the steps you mentioned for every customer we have (existing and new), it's way too much to ask our customers. I did a little research & it looks like we need to include oldie.js (based on 'https://assets.highcharts.com/errors/27'). I tried to inject the javascript using the 'rules' tab but I cannot make it work - I'm not sure which object to add the script to so I'm in the dark there, if you happen to know that would help but as of now, I think I'll uninstall 6.5.27 and install 6.5.12. It works under 6.5.12 so I think DAI includes the javascript stuff where it needs to be.

    Thanks,

    Jeff

  4. #4
    Join Date
    Feb 2009
    Posts
    1,493

    Default Re: Charts are not showing

    In DAI build 6.5.20, High Charts was updated to version 6.03, meaning no more support for old Internet Explorer (V8). I don't think its possible for you to override DAI's internal programming to force it to work with an older version of Highcharts, so you can either revert your deployed installs to an older version of DAI that still uses the older HC charts version that is compatible with old IE, or set the registry as needed to force Windows to use a modern IE version or Edge. Its not a DAI or Highcharts shortcoming, its Microsoft doing what they do....

  5. #5

    Default Re: Charts are not showing

    Bob,

    Thanks for the reply. I fixed the problem by changing the registry via code, that way the user does not have to do anything. This seems to work OK on our tests and I'm going to try to have a couple customers update so hopefully we will be good.

    Thanks,

    Jeff

  6. #6
    Join Date
    Feb 2009
    Posts
    1,493

    Default Re: Charts are not showing

    That's the better solution for sure. I first encountered this same issue a couple years ago, and invested a lot of time troubleshooting and finding the solution. When I was finished I learned that the DF Studio does exactly the same thing. I found registry entries listing that .exe. DF Webapps have required modern browser versions for quite a few years now. Thanks for posting your results.
    Bob

  7. #7
    Join Date
    Feb 2009
    Location
    Somewhere in Vermont, USA - unless I'm not
    Posts
    10,719

    Default Re: Charts are not showing

    Wish I'd seen this sooner. I have code for doing the "bump" of IE version in the registry - as I had a customer that had a minimum IE version requirement for a banking site.

    MS caused a lot of heartache with this setting.

    Glad you got it sorted though!
    Garret

    I don't like making plans for the day... 'cause then the word 'premeditated' gets thrown around in the courtroom...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •