Class ScatterChartWidget

  • All Implemented Interfaces:
    com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.AcceptsOneWidget, com.google.gwt.user.client.ui.HasOneWidget, com.google.gwt.user.client.ui.HasVisibility, com.google.gwt.user.client.ui.HasWidgets, com.google.gwt.user.client.ui.HasWidgets.ForIsWidget, com.google.gwt.user.client.ui.IsWidget, Iterable<com.google.gwt.user.client.ui.Widget>, IsChart, IsDatasetCreator<ScatterDataset>

    public class ScatterChartWidget
    extends AbstractChartWidget<ScatterChart>
    implements IsDatasetCreator<ScatterDataset>
    SCATTER chart GWT WIDGET implementation.
    Scatter charts are based on basic line charts with the x axis changed to a linear axis.
    To use a scatter chart, data must be passed as objects containing X and Y properties.
    Author:
    Andrea "Stock" Stocchero
    • Constructor Detail

      • ScatterChartWidget

        public ScatterChartWidget()
        Builds the object.
      • ScatterChartWidget

        protected ScatterChartWidget​(ScatterChart extendedChart)
        Builds the chart.
        This is must be extended for controller which are based on this chart.
        Parameters:
        extendedChart - new chart
    • Method Detail

      • getOptions

        public ScatterOptions getOptions()
        Description copied from interface: IsChart
        Returns the options of chart.
        Specified by:
        getOptions in interface IsChart
        Returns:
        the options of chart.