Class BubbleMapOptions

    • Method Detail

      • getHandler

        public final org.pepstock.charba.client.geo.CommonOptionsHandler getHandler()
      • 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
      • setConfiguration

        protected final void setConfiguration​(T configuration)
        Parameters:
        configuration - the configuration to set
      • getConfiguration

        protected final T getConfiguration()
        Returns the configuration element.
        Returns:
        the configuration element.
      • merge

        public final void merge​(NativeObjectContainer source,
                                String property)
        Merge a native object in the this one with a specific property name.
        This is used by plugins implementation (native java script ones) when they are not using the standard way to add plugin configuration in the options of chart.
        Parameters:
        source - native object container to add
        property - property name
      • toJSON

        public final String toJSON()
        Returns the JSON representation of the object.
        Returns:
        the JSON representation of the object.
      • loadNativeObject

        public final ChartEnvelop<NativeObject> loadNativeObject​(ChartEnvelop<NativeObject> envelop)
        Returns the native object instance inside an envelop.
        It can be called only from org.pepstock.charba.client package.
        Parameters:
        envelop - envelop instance which will contain the native object
        Returns:
        the envelop, passed as argument, loaded with the native object
      • getChart

        public final IsChart getChart()
        Returns the chart instance
        Returns:
        the chart