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

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

Introduction

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

Prototype

String PACKAGE

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

Click Source Link

Usage

From source file:com.google.sampling.experiential.client.PacoEventServer.java

License:Open Source License

private void createCallbackForGviz() {
    // Create a callback to be called when the visualization API
    // has been loaded.
    Runnable onLoadCallback = new Runnable() {
        public void run() {
        }/*from   www.  java2 s . co m*/
    };
    // Load the visualization api, passing the onLoadCallback to be called
    // when loading is done.
    VisualizationUtils.loadVisualizationApi(onLoadCallback, ColumnChart.PACKAGE, Table.PACKAGE,
            LineChart.PACKAGE, ScatterChart.PACKAGE);
}