Class BubbleMapDataset

    • Constructor Detail

      • BubbleMapDataset

        public BubbleMapDataset()
        Creates a data set.
        It uses the global options has default.
      • BubbleMapDataset

        public BubbleMapDataset​(IsDefaultOptions defaultValues)
        Creates a data set setting the defaults value.
        Parameters:
        defaultValues - default options
    • Method Detail

      • getHandler

        public org.pepstock.charba.client.geo.GeoDatasetHandler<BubbleMapDataPoint> getHandler()
      • setDataPoints

        public void setDataPoints​(DataPoint... datapoints)
        Throws an exception because not available.
        Specified by:
        setDataPoints in interface HasDataPoints
        Parameters:
        datapoints - ignored because will throw an exception
      • setDataPoints

        public void setDataPoints​(List<DataPoint> datapoints)
        Throws an exception because not available.
        Specified by:
        setDataPoints in interface HasDataPoints
        Parameters:
        datapoints - ignored because will throw an exception
      • getDataPoints

        public List<DataPoint> getDataPoints​(boolean binding)
        Throws an exception because not available.
        Specified by:
        getDataPoints in interface HasDataPoints
        Parameters:
        binding - ignored because will throw an exception
        Returns:
        nothing because will throw an exception
      • setData

        public void setData​(double... values)
        Throws an exception because not available.
        Overrides:
        setData in class Dataset
        Parameters:
        values - ignored because will throw an exception
      • setData

        public void setData​(List<Double> values)
        Throws an exception because not available.
        Overrides:
        setData in class Dataset
        Parameters:
        values - ignored because will throw an exception
      • getData

        public List<Double> getData​(boolean binding)
        Throws an exception because not available.
        Overrides:
        getData in class Dataset
        Parameters:
        binding - ignored because will throw an exception
        Returns:
        nothing because will throw an exception
      • setValues

        public default void setValues​(T[] values)
        Sets the data property of a data set for a chart is specified as an array of GeoDataPoint.
        Parameters:
        values - an array of GeoDataPoint
      • setValues

        public default void setValues​(List<T> values)
        Sets the data property of a data set for a chart is specified as an array of GeoDataPoint.
        Parameters:
        values - an array of GeoDataPoint
      • getValues

        public default List<T> getValues()
        Returns the data property of a data set for a chart is specified as an array of GeoDataPoint.
        Returns:
        list of GeoDataPoint.
      • getValues

        public default List<T> getValues​(boolean binding)
        Returns the data property of a data set for a chart is specified as an array of GeoDataPoint.
        Parameters:
        binding - if true binds the new array list in the container
        Returns:
        list of GeoDataPoint.
      • setOutline

        public default void setOutline​(Feature... outline)
        Sets the outline used to scale and centralize the projection in the chart area. By default a sphere is used.
        Parameters:
        outline - the outline used to scale and centralize the projection in the chart area
      • setOutline

        public default void setOutline​(List<Feature> outline)
        Sets the outline used to scale and centralize the projection in the chart area. By default a sphere is used.
        Parameters:
        outline - the outline used to scale and centralize the projection in the chart area
      • getOutline

        public default List<Feature> getOutline()
        Returns the outline used to scale and centralize the projection in the chart area. By default a sphere is used.
        Returns:
        the outline used to scale and centralize the projection in the chart area
      • setShowOutline

        public default void setShowOutline​(boolean showOutline)
        Sets true to render the outline in the background.
        Parameters:
        showOutline - true to render the outline in the background
      • isShowOutline

        public default boolean isShowOutline()
        Returns true to render the outline in the background.
        Returns:
        true to render the outline in the background
      • setShowGraticule

        public default void setShowGraticule​(boolean showGraticule)
        Sets true to render the lines in the background.
        Parameters:
        showGraticule - true to render the lines in the background
      • setShowGraticule

        public default void setShowGraticule​(Graticule showGraticule)
        Sets the graticule object to render the lines in the background.
        Parameters:
        showGraticule - the graticule to render the lines in the background
      • isShowGraticule

        public default boolean isShowGraticule()
        Returns true to render a graticule in the background.
        Returns:
        true to render a graticule in the background
      • getShowGraticule

        public default Graticule getShowGraticule()
        Returns the graticule to render the lines in the background.
        Returns:
        the graticule to render the lines in the background or null is any object has been set
      • setClipMap

        public default void setClipMap​(ClipMap clipMap)
        Sets whether to clip the rendering to the chart area of the graph.
        Parameters:
        clipMap - whether to clip the rendering to the chart area of the graph
      • getClipMap

        public default ClipMap getClipMap()
        Returns whether to clip the rendering to the chart area of the graph.
        Returns:
        whether to clip the rendering to the chart area of the graph
      • setClipMap

        public default void setClipMap​(boolean clipMap)
        Sets whether to clip the rendering to the chart area of the graph.
        Parameters:
        clipMap - whether to clip the rendering to the chart area of the graph
      • isClipMap

        public default boolean isClipMap()
        Returns whether to clip the rendering to the chart area of the graph.
        Returns:
        whether to clip the rendering to the chart area of the graph
      • setOrder

        public default void setOrder​(int order)
        Sets the drawing order of dataset.
        Also affects order for stacking, tooltip, and legend.
        Parameters:
        order - the drawing order of dataset.
      • getOrder

        public default int getOrder()
        Returns the drawing order of dataset.
        Also affects order for stacking, tooltip, and legend.
        Returns:
        the drawing order of dataset
      • setPointStyle

        public default void setPointStyle​(PointStyle... pointStyle)
        Sets the style of the point.
        Parameters:
        pointStyle - array of the style of the point.
      • getPointStyle

        public default List<PointStyle> getPointStyle()
        Returns the style of the point.
        Returns:
        the style of the point or null if point style is set as image
      • setPointStyle

        public default void setPointStyle​(Img... pointStyle)
        Sets the style of the point as image.
        Parameters:
        pointStyle - image element of the style of the point as image.
      • getPointStyleType

        public default PointStyleType getPointStyleType()
        Returns the type of point style.
        Returns:
        the type of point style
      • getPointStyleAsImages

        public default List<Img> getPointStyleAsImages()
        Returns the style of the point as image.
        If property is missing or not an image, returns null.
        Returns:
        image of the style of the point as image.
        If property is missing or not a image, returns null.
      • setPointStyle

        public default void setPointStyle​(Canvas... pointStyle)
        Sets the style of the point as canvas.
        Parameters:
        pointStyle - canvas element of the style of the point as canvas.
      • getPointStyleAsCanvas

        public default List<Canvas> getPointStyleAsCanvas()
        Returns the style of the point as canvas.
        If property is missing or not an canvas, returns null.
        Returns:
        image of the style of the point as canvas.
        If property is missing or not a canvas, returns null.
      • getPointStyleCallback

        public default PointStyleCallback<DatasetContext> getPointStyleCallback()
        Returns the point style callback, if set, otherwise null.
        Returns:
        the point style callback, if set, otherwise null.
      • setPointStyle

        public default void setPointStyle​(PointStyleCallback<DatasetContext> pointStyleCallback)
        Sets the point style callback.
        Parameters:
        pointStyleCallback - the point style callback.