Example usage for com.google.gwt.visualization.client.visualizations ImageBarChart PACKAGE

List of usage examples for com.google.gwt.visualization.client.visualizations ImageBarChart PACKAGE

Introduction

In this page you can find the example usage for com.google.gwt.visualization.client.visualizations ImageBarChart PACKAGE.

Prototype

String PACKAGE

To view the source code for com.google.gwt.visualization.client.visualizations ImageBarChart PACKAGE.

Click Source Link

Usage

From source file:com.google.gwt.visualization.sample.visualizationshowcase.client.Showcase.java

License:Apache License

public void onModuleLoad() {
    VisualizationUtils.loadVisualizationApi(new Runnable() {
        public void run() {
            final VerticalPanel vp = new VerticalPanel();
            vp.setSpacing(15);//w  w  w . j  a v  a 2  s.  c  om
            RootPanel.get().add(vp);
            vp.add(new HTML("The following visualizations are included in the GWT "
                    + "Visualization API in the package "
                    + "<tt>com.google.gwt.visualization.client.visualizations</tt>.  "
                    + "For a full listing of visualizations available in GWT, see <a href=" + '"'
                    + "http://code.google.com/apis/visualization/documentation/gallery.html" + '"'
                    + ">the Google Visualization API</a>."));
            LeftTabPanel tabby = new LeftTabPanel();
            vp.add(tabby);
            AnnotatedDemo annotatedWidget = new AnnotatedDemo();
            tabby.add(annotatedWidget, "AnnotatedTimeLine");
            tabby.add(new AreaDemo(), "AreaChart");
            tabby.add(new ImageAreaDemo(), "AreaChart (Image)");
            tabby.add(new BarDemo(), "BarChart");
            tabby.add(new ImageBarDemo(), "BarChart (Image)");
            tabby.add(new ColumnDemo(), "ColumnChart");
            tabby.add(new GaugeDemo(), "Gauge");
            tabby.add(new GeoDemo(), "GeoMap");
            tabby.add(new IntensityDemo(), "IntensityMap");
            tabby.add(new LineDemo(), "LineChart");
            tabby.add(new ImageLineDemo(), "LineChart (Image)");
            tabby.add(new MapDemo(), "Map");
            tabby.add(new MoneyDemo(), "MoneyChart");
            tabby.add(new MotionDemo(), "MotionChart");
            tabby.add(new OrgDemo(), "OrgChart");
            tabby.add(new PieDemo(), "PieChart");
            tabby.add(new ImagePieDemo(), "PieChart (Image)");
            tabby.add(new ImageDemo(), "RadarChart (Image)");
            tabby.add(new ScatterDemo(), "ScatterChart");
            tabby.add(new SparklineDemo(), "Sparkline (Image)");
            tabby.add(new TableDemo(), "Table");
            tabby.add(new ToolbarDemo(), "Toolbar");
            tabby.setWidget(annotatedWidget);
        }
    }, AnnotatedTimeLine.PACKAGE, CoreChart.PACKAGE, Gauge.PACKAGE, GeoMap.PACKAGE, ImageChart.PACKAGE,
            ImageLineChart.PACKAGE, ImageAreaChart.PACKAGE, ImageBarChart.PACKAGE, ImagePieChart.PACKAGE,
            IntensityMap.PACKAGE, MapVisualization.PACKAGE, MotionChart.PACKAGE, OrgChart.PACKAGE,
            Table.PACKAGE, ImageSparklineChart.PACKAGE);
}