public final class BubbleMapChart extends AbstractChart
Modifier and Type | Field and Description |
---|---|
static ControllerType |
CONTROLLER_TYPE
BubbleMap controller type.
|
static String |
TYPE
Name of chart type "bubbleMap"
|
Constructor and Description |
---|
BubbleMapChart()
Builds the object.
|
Modifier and Type | Method and Description |
---|---|
protected void |
applyConfiguration()
Called before any drawing or reconfiguration in order that the chart which implements it can override options
|
void |
checkAxes(Axis... axes)
Checks if axes, requested to be stored, are an acceptable type or amount.
If a axis type or the amount of axes are not consistent for the chart, a IllegalArgumentException will be thrown. |
boolean |
checkAxis(Axis axis)
Returns
true if the axis can be managed by a this chart type. |
protected boolean |
checkDataset(Dataset dataset)
Returns
true if the dataset can be managed by a this chart type. |
protected int |
getMaximumAxesCount()
Returns the maximum amount of axes that the chart can manage.
|
protected int |
getMaximumDatasetsCount()
Returns the maximum amount of datasets that the chart can manage.
|
BubbleMapOptions |
getOptions()
Returns the options of chart.
|
BubbleMapDataset |
newDataset(boolean hidden)
Creates a new dataset related to chart type.
|
addHandler, checkDatasets, clear, createAndSetTimer, destroy, draw, getActiveElements, getBaseType, getCanvas, getChartElement, getData, getDatasetAtEvent, getDatasetItem, getDefaultChartOptions, getElementAtEvent, getElementsAtEvent, getId, getInitialCursor, getNode, getPlugins, getSource, getTimer, getTooltipActiveElements, getType, getVisibleDatasetCount, getWholeOptions, hide, hide, isChartAttached, isDatasetVisible, isDataVisible, isDestroyOnDetach, isDrawOnAttach, isInitialized, onAttach, onDetach, reconfigure, reconfigure, reconfigure, removeCanvasPreventDefault, render, reset, resetActiveElements, resetTooltipActiveElements, resize, resize, setActiveElements, setActiveElements, setDatasetVisibility, setDestroyOnDetach, setDrawOnAttach, setTooltipActiveElements, setTooltipActiveElements, show, show, stop, toBase64Image, toggleDataVisibility, update, update, update
fireEvent, getHandlerCount, isEventHandled
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
newDataset
checkAndGetIfConsistent, checkAndGetIfValid, checkIfConsistent, checkIfValid, fireEvent, getHandlerCount, isAbstractChart, isConsistent, isEventHandled, isValid, toBase64Image, toBase64Image, toBase64Image
public static final String TYPE
public static final ControllerType CONTROLLER_TYPE
public BubbleMapOptions getOptions()
IsChart
public BubbleMapDataset newDataset(boolean hidden)
IsDatasetCreator
hidden
- if true
, it will be initially hidden.protected boolean checkDataset(Dataset dataset)
AbstractChart
true
if the dataset can be managed by a this chart type.checkDataset
in class AbstractChart
dataset
- dataset to checktrue
if the dataset can be managed by a this chart typepublic boolean checkAxis(Axis axis)
HasAxes
true
if the axis can be managed by a this chart type.axis
- axis to checktrue
if the axis can be managed by a this chart typepublic void checkAxes(Axis... axes)
IsChart
IllegalArgumentException
will be thrown.checkAxes
in interface IsChart
checkAxes
in class AbstractChart
axes
- list of axes to check.protected final void applyConfiguration()
AbstractChart
applyConfiguration
in class AbstractChart
protected final int getMaximumDatasetsCount()
AbstractChart
getMaximumDatasetsCount
in class AbstractChart
protected final int getMaximumAxesCount()
AbstractChart
getMaximumAxesCount
in class AbstractChart