I am using your evaluation EE version (SmartClient Version: v8.3_2012-11-20/EVAL Deployment and SmartGWT smartgwtee-3.1) and I am trying to include two charts inside the same TabSet at two distinct tabs. The strange issue I have is that in Chrome and Firefox (latest releases for both browsers) and in both Windows (7 64bit) and Linux (Ubuntu 12.10 64bit) I can't see the second tab's chart. However, under IE 9 everything works as expected. Below, I include a snippet that can be used as an entry point module to recreate my issue:
Please note that I am currently reviewing the charting capabilities of your product, because we are considering to make a license purchase in order to use it in our application. It would be nice to have a quick response on to whether there is a bug in regards to my test case, or the feature is not supported, since this will lead my decision on proposing your solution. Thanks in advance for your effort and time!
Code:
TabSet tabSet = new TabSet(); tabSet.setWidth100(); tabSet.setHeight100(); FacetChart chart = new FacetChart(); chart.setBorder("1px solid green"); chart.setData(SimpleChartData.getData()); chart.setFacets(new Facet("region", "Region"), new Facet("product", "Product")); chart.setValueProperty("sales"); chart.setChartType(ChartType.LINE); chart.setTitle("Sales by Product and Region"); FacetChart chart2 = new FacetChart(); chart2.setBorder("1px solid red"); chart2.setData(SimpleChartData.getData()); chart2.setFacets(new Facet("region", "Region"), new Facet("product", "Product")); chart2.setValueProperty("sales"); chart2.setChartType(ChartType.BAR); chart2.setTitle("Sales by Product and Region"); Tab tab1 = new Tab("Chart1"); tab1.setPane(chart); Tab tab2 = new Tab("Chart2"); tab2.setPane(chart2); tabSet.addTab(tab1); tabSet.addTab(tab2); tabSet.show();
Comment