* Demo for ColumnDemo visualization.
*/
public class ColumnDemo implements LeftTabPanel.WidgetProvider {
public Widget getWidget() {
VerticalPanel result = new VerticalPanel();
Options options = CoreChart.createOptions();
options.setHeight(240);
options.setTitle("Company Performance");
options.setWidth(400);
AxisOptions vAxisOptions = AxisOptions.create();
vAxisOptions.setMinValue(0);
vAxisOptions.setMaxValue(2000);
options.setVAxisOptions(vAxisOptions);
DataTable data = Showcase.getCompanyPerformance();
ColumnChart viz = new ColumnChart(data, options);
Label status = new Label();