Menu

Add chart to TabSet

Eymenz
2012-12-04
2012-12-05
  • Eymenz

    Eymenz - 2012-12-04

    This is my code :

    HighChart chart = new HighChart(title, PIE, data);
    VLayout vlayout = new VLayout(title);
    vlayout.setHeight100();
    vlayout.setWidth100();
    vlayout.addMember(chart);
    Tab tab = new Tab();
    tab.setTitle(title);
    tab.setPane(vlayout);
    tab.setCanClose(true);
    tabset.addTab(tab);

    The HighChart class contain the showcase example code. The result is an empty tab, any solutions?

     
  • Shawn Quinn

    Shawn Quinn - 2012-12-04

    The basics looks OK there, but not sure what's going on inside of your proprietary widget that could be affecting things. Do things work for you if you just add a chart directly to the layout instead of using your proprietary type, e.g. like the example on the quick start page?

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

     
  • Eymenz

    Eymenz - 2012-12-05

    I use the pie example of the showcase

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.