Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

  • moxiesquinn
    replied
    Thanks for the follow up Isomorphic. A similar idea turned out to be the problem, so we now have a patch that can be applied to the Highcharts JS file to work around the issue and we've submitted that over to Highsoft to consider including in a future release. For others that may need it, the related post is here:

    http://highslide.com/forum/viewtopic.php?f=9&t=24201

    Leave a comment:


  • Isomorphic
    replied
    As a wild speculation, Highcharts may have helper methods they add to the native JavaScript Array that conflict with SmartGWT's.

    The best thing to do is try to obtain more information about the crash using debug tools, such as inspecting the stack before the crashing call.

    Leave a comment:


  • brunojcm
    replied
    I'm facing a very weird problem using SmartGWT 3.0 and GHW-Highcharts together... The problem is described here:

    https://sourceforge.net/p/gwt-highcharts/discussion/general/thread/ef263126/

    Summarizing, I got a lot of:

    Uncaught JavaScript exception [TypeError: h is undefined] in http://127.0.0.1:8888/js/highcharts.js, line 187
    Uncaught JavaScript exception [TypeError: h is undefined] in http://127.0.0.1:8888/js/highcharts.js, line 187

    When moving the mouse over the charts, and tooltips don't work. Any ideas?

    Leave a comment:


  • moxiesquinn
    replied
    Yeah, I've noticed that trouble with the z-index as well, and there are several posts on the Highcharts forums about folks having similar trouble as well. It appears to be potentially browser related in the way the different canvas/svg rendering engines work.

    The best work around I've found is to move the SmartGWT Canvas that the chart is rendered inside of off screen when it should be hidden. E.g.

    canvas.setVisible(false);
    canvas.setLeft(-100000);

    And then when it should be visible again, move it back:

    canvas.setVisible(true);
    canvas.setLeft(0);

    I have my own SmartGWT layout that I'm using for my case, so I just add that logic there. If you're using the SmartGWT tab, then I'd think you could do something similar in the TabSelectedHandler and TabDeselectedHandler.

    Hope that helps,

    -Shawn

    Leave a comment:


  • hariharan.ln
    replied
    hi,
    i am using Smartgwt2.5 - gwt2.2 version.

    we are facing following issue while we tried to integrate highcharts-gwt(moxie) in our existing app built on smartgwt.

    when the user navigate form one tab to another, the chart stays still . i tried all ways to reduce the z-index of chart,hide the chart,but nothing changed.

    is there any way to hide the charts when user navigate to next tab.

    Thanx In Advance
    -Hari
    Attached Files

    Leave a comment:


  • weaxler
    replied
    Never mind fixed the issue.

    Leave a comment:


  • weaxler
    replied
    Following the steps in your quick guide:
    http://www.moxiegroup.com/moxieapps/gwt-highcharts/quickstart.jsp

    I get this error when trying to setup a very sample chart:

    $wnd.Highcharts is undefined

    I am using version 1.1.0 of highcharts and smartgwt 2.5
    Any pointers to what i might be missing?

    Leave a comment:


  • moxiesquinn
    replied
    Originally posted by sjivan
    Looks good moxiesquinn. You might want to exclude the Calendar, RichTextArea and ListGrid JS from the showcase since you don't appear to be using these.

    Sanjiv
    Thanks for giving it a look and the tip Sanjiv! We deployed a new version of the showcase application today, which excludes the Calendar and RichTextArea. It looks like we do still need the Grid JS in order for the tree control on the left to function, but if you see any other ways we can tighten this up - please let me know.

    Leave a comment:


  • moxiesquinn
    replied
    Originally posted by tnuic
    Thanks for the reply and implementation moxiesquinn! Seems to be working fine. Have you had time to implement the event part?
    For those that are interested: we did release version 1.1.0 of GWT Highcharts today, which includes supports for (among other things) the various event types that Highcharts includes. You can see some details about how the event handlers work in the user guide here:

    http://www.moxiegroup.com/moxieapps/...ide.jsp#events

    As well as a couple of code examples in the showcase application, specifically:

    http://www.moxiegroup.com/moxieapps/...-manage-points
    http://www.moxiegroup.com/moxieapps/...iple-clickable

    We hope you find those enhancements useful! Just let us know if you run into any trouble.

    Leave a comment:


  • Calais
    replied
    Originally posted by moxiesquinn
    Support for core events are almost complete and will be coming in the next release. Targeting as early as next week!
    Great job moxiesquinn!

    Leave a comment:


  • moxiesquinn
    replied
    Originally posted by tnuic
    Thanks for the reply and implementation moxiesquinn! Seems to be working fine. Have you had time to implement the event part?
    Support for core events are almost complete and will be coming in the next release. Targeting as early as next week!

    Leave a comment:


  • tnuic
    replied
    Thanks for the reply and implementation moxiesquinn! Seems to be working fine. Have you had time to implement the event part?
    Last edited by tnuic; 17 Aug 2011, 05:09.

    Leave a comment:


  • sjivan
    replied
    Originally posted by moxiesquinn
    FYI - We recently released the "GWT Highcharts" project as open source, which provides a complete (pure Java) GWT wrapper for Highcharts (and works within a SmartGWT container as well):

    http://www.moxiegroup.com/moxieapps/gwt-highcharts/

    Off of that page you'll find a link to the "Showcase" application which is actually a SmartGWT application.
    Looks good moxiesquinn. You might want to exclude the Calendar, RichTextArea and ListGrid JS from the showcase since you don't appear to be using these.

    Sanjiv

    Leave a comment:


  • mishamo
    replied
    After testing a few other charts, it seems that they do, in fact work rather well. The pie charts don't quite scale properly but the rest of the resizing works better than my current implementation which is basically a raw javascript one writing to a div embedded in a Widget.

    Leave a comment:


  • moxiesquinn
    replied
    The stock chart shown on the first page of the showcase application actually uses the "Highstock" library from the same guys who wrote "Highcharts". Highstock is only in beta release right now though, so there are still some bugs that they're working through. All of the regular (non stock) charts though you should notice scale correctly though.

    Leave a comment:

Working...
X