Package org.pepstock.charba.client.geo
Class BubbleMapOptions
- java.lang.Object
- 
- org.pepstock.charba.client.configuration.ConfigurationOptions
- 
- org.pepstock.charba.client.configuration.ScalesOptions
- 
- org.pepstock.charba.client.geo.BubbleMapOptions
 
 
 
- 
- All Implemented Interfaces:
- HasAnimation,- ConfigurationElement,- AddHandlerEventHandler,- EventHandler,- RemoveHandlerEventHandler
 
 public final class BubbleMapOptions extends ScalesOptions Specific options for bubble map chart.- Author:
- Andrea "Stock" Stocchero
 
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Default Methods Modifier and Type Method Description protected voidafterAxisConfigurationUpdate(Axis axis)Invoked after the axis options has been updated.protected voidafterConfigurationUpdate()Invoked after the chart options has been updated.IsChartgetChart()Returns the chart instancedefault ClipMapgetClipMap()Returns whether to clip the rendering to the chart area of the graph.protected TgetConfiguration()Returns the configuration element.org.pepstock.charba.client.geo.CommonOptionsHandlergetHandler()default List<Feature>getOutline()Returns the outline used to scale and centralize the projection in the chart area.default GraticulegetShowGraticule()Returns the graticule to render the lines in the background.default booleanisClipMap()Returns whether to clip the rendering to the chart area of the graph.default booleanisShowGraticule()Returnstrueto render a graticule in the background.default booleanisShowOutline()Returnstrueto render the outline in the background.ChartEnvelop<NativeObject>loadNativeObject(ChartEnvelop<NativeObject> envelop)Returns the native object instance inside an envelop.
 It can be called only fromorg.pepstock.charba.clientpackage.voidmerge(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.default voidsetClipMap(boolean clipMap)Sets whether to clip the rendering to the chart area of the graph.default voidsetClipMap(ClipMap clipMap)Sets whether to clip the rendering to the chart area of the graph.protected voidsetConfiguration(T configuration)default voidsetOutline(List<Feature> outline)Sets the outline used to scale and centralize the projection in the chart area.default voidsetOutline(Feature... outline)Sets the outline used to scale and centralize the projection in the chart area.default voidsetShowGraticule(boolean showGraticule)Setstrueto render the lines in the background.default voidsetShowGraticule(Graticule showGraticule)Sets the graticule object to render the lines in the background.default voidsetShowOutline(boolean showOutline)Setstrueto render the outline in the background.StringtoJSON()Returns the JSON representation of the object.- 
Methods inherited from class org.pepstock.charba.client.configuration.ScalesOptionsgetAxisById, getScales
 - 
Methods inherited from class org.pepstock.charba.client.configuration.ConfigurationOptionsbeforeAxisConfigurationUpdate, beforeConfigurationUpdate, getAnimationContainer, getAspectRatio, getBackgroundColor, getBackgroundColorAsString, getBorderColor, getBorderColorAsString, getColor, getColorAsString, getDatasets, getDevicePixelRatio, getElements, getEvents, getFiller, getFont, getHover, getInteraction, getLayout, getLegend, getLocale, getPlugins, getResizeDelay, getSubtitle, getTitle, getTooltips, hasAxisClickHandlers, hasAxisEnterHandlers, hasAxisHoverHandlers, hasAxisLeaveHandlers, hasDatasetSelectionHandlers, hasSubtitleClickHandlers, hasSubtitleEnterHandlers, hasSubtitleLeaveHandlers, hasTitleClickHandlers, hasTitleEnterHandlers, hasTitleLeaveHandlers, isDestroyOnDetach, isDrawOnAttach, isMaintainAspectRatio, isResponsive, load, loadOptions, onAdd, onRemove, setAspectRatio, setBackgroundColor, setBackgroundColor, setBorderColor, setBorderColor, setChartOptions, setColor, setColor, setDestroyOnDetach, setDevicePixelRatio, setDrawOnAttach, setEvents, setLocale, setMaintainAspectRatio, setResizeDelay, setResponsive
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.pepstock.charba.client.configuration.HasAnimationgetAnimation, getAnimations, getTransitions, isAnimationEnabled, setAnimationEnabled
 
- 
 
- 
- 
- 
Method Detail- 
afterAxisConfigurationUpdateprotected void afterAxisConfigurationUpdate(Axis axis) Description copied from class:ConfigurationOptionsInvoked after the axis options has been updated.- Overrides:
- afterAxisConfigurationUpdatein class- ConfigurationOptions
- Parameters:
- axis- axis instance which has been updated
 
 - 
afterConfigurationUpdateprotected final void afterConfigurationUpdate() Description copied from class:ConfigurationOptionsInvoked after the chart options has been updated.- Overrides:
- afterConfigurationUpdatein class- ConfigurationOptions
 
 - 
getHandlerpublic final org.pepstock.charba.client.geo.CommonOptionsHandler getHandler() 
 - 
setOutlinepublic 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
 
 - 
setOutlinepublic 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
 
 - 
getOutlinepublic 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
 
 - 
setShowOutlinepublic default void setShowOutline(boolean showOutline) Setstrueto render the outline in the background.- Parameters:
- showOutline-- trueto render the outline in the background
 
 - 
isShowOutlinepublic default boolean isShowOutline() Returnstrueto render the outline in the background.- Returns:
- trueto render the outline in the background
 
 - 
setShowGraticulepublic default void setShowGraticule(boolean showGraticule) Setstrueto render the lines in the background.- Parameters:
- showGraticule-- trueto render the lines in the background
 
 - 
setShowGraticulepublic 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
 
 - 
isShowGraticulepublic default boolean isShowGraticule() Returnstrueto render a graticule in the background.- Returns:
- trueto render a graticule in the background
 
 - 
getShowGraticulepublic default Graticule getShowGraticule() Returns the graticule to render the lines in the background.- Returns:
- the graticule to render the lines in the background or nullis any object has been set
 
 - 
setClipMappublic 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
 
 - 
getClipMappublic 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
 
 - 
setClipMappublic 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
 
 - 
isClipMappublic 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
 
 - 
setConfigurationprotected final void setConfiguration(T configuration) - Parameters:
- configuration- the configuration to set
 
 - 
getConfigurationprotected final T getConfiguration() Returns the configuration element.- Returns:
- the configuration element.
 
 - 
mergepublic 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
 
 - 
toJSONpublic final String toJSON() Returns the JSON representation of the object.- Returns:
- the JSON representation of the object.
 
 - 
loadNativeObjectpublic final ChartEnvelop<NativeObject> loadNativeObject(ChartEnvelop<NativeObject> envelop) Returns the native object instance inside an envelop.
 It can be called only fromorg.pepstock.charba.clientpackage.- Parameters:
- envelop- envelop instance which will contain the native object
- Returns:
- the envelop, passed as argument, loaded with the native object
 
 - 
getChartpublic final IsChart getChart() Returns the chart instance- Returns:
- the chart
 
 
- 
 
-