public final class ChoroplethDataset extends BarDataset
Feature) and specific value to be specified.Dataset.CanvasObjectProperty, Dataset.CommonPropertyFLOATING_BAR_DATA_FACTORYDEFAULT_HIDDEN, DEFAULT_NORMALIZED, DEFAULT_PARSING| Constructor and Description |
|---|
ChoroplethDataset()
Creates a data set.
It uses the global options has default. |
ChoroplethDataset(IsDefaultOptions defaultValues)
Creates a data set setting the defaults value.
|
| Modifier and Type | Method and Description |
|---|---|
default ClipMap |
getClipMap()
Returns whether to clip the rendering to the chart area of the graph.
|
List<Double> |
getData(boolean binding)
Throws an exception because not available.
|
org.pepstock.charba.client.geo.GeoDatasetHandler<ChoroplethDataPoint> |
getHandler()
Returns the data set options handler.
|
default int |
getOrder()
Returns the drawing order of dataset.
Also affects order for stacking, tooltip, and legend. |
default List<Feature> |
getOutline()
Returns the outline used to scale and centralize the projection in the chart area.
|
default Graticule |
getShowGraticule()
Returns the graticule to render the lines in the background.
|
default List<T> |
getValues()
Returns the data property of a data set for a chart is specified as an array of
GeoDataPoint. |
default List<T> |
getValues(boolean binding)
Returns the data property of a data set for a chart is specified as an array of
GeoDataPoint. |
default boolean |
isClipMap()
Returns whether to clip the rendering to the chart area of the graph.
|
default boolean |
isShowGraticule()
Returns
true to render a graticule in the background. |
default boolean |
isShowOutline()
Returns
true to render the outline in the background. |
default void |
setClipMap(boolean clipMap)
Sets whether to clip the rendering to the chart area of the graph.
|
default void |
setClipMap(ClipMap clipMap)
Sets whether to clip the rendering to the chart area of the graph.
|
void |
setData(double... values)
Throws an exception because not available.
|
void |
setData(List<Double> values)
Throws an exception because not available.
|
default void |
setOrder(int order)
Sets the drawing order of dataset.
Also affects order for stacking, tooltip, and legend. |
default void |
setOutline(Feature... outline)
Sets the outline used to scale and centralize the projection in the chart area.
|
default void |
setOutline(List<Feature> outline)
Sets the outline used to scale and centralize the projection in the chart area.
|
default void |
setShowGraticule(boolean showGraticule)
Sets
true to render the lines in the background. |
default void |
setShowGraticule(Graticule showGraticule)
Sets the graticule object to render the lines in the background.
|
default void |
setShowOutline(boolean showOutline)
Sets
true to render the outline in the background. |
default void |
setValues(List<T> values)
Sets the data property of a data set for a chart is specified as an array of
GeoDataPoint. |
default void |
setValues(T[] values)
Sets the data property of a data set for a chart is specified as an array of
GeoDataPoint. |
getBase, getBaseCallback, getBorderRadius, getBorderRadiusAsObjects, getBorderRadiusCallback, getBorderSkipped, getBorderSkippedCallback, getBorderWidth, getBorderWidthAsObjects, getBorderWidthCallback, getDatasetOptionsHandler, getDefaultBackgroundColorAsString, getDefaultBorderColorAsString, getDefaultBorderWidth, getDefaultHoverBackgroundColorAsString, getDefaultHoverBorderColorAsString, getDefaultHoverBorderWidth, getEnableBorderRadiusCallback, getFloatingData, getFloatingData, getHoverBorderRadius, getHoverBorderRadiusAsObjects, getHoverBorderRadiusCallback, getHoverBorderWidth, getHoverBorderWidthAsObjects, getHoverBorderWidthCallback, getIndexAxis, getLabel, getOrderHandler, getPointStyle, getPointStyleAsCanvas, getPointStyleAsImage, getPointStyleCallback, getPointStyleType, getXAxisID, getYAxisID, isEnableBorderRadius, setBase, setBase, setBase, setBorderRadius, setBorderRadius, setBorderRadius, setBorderRadius, setBorderRadius, setBorderSkipped, setBorderSkipped, setBorderSkipped, setBorderSkipped, setBorderSkipped, setBorderWidth, setBorderWidth, setBorderWidth, setBorderWidth, setBorderWidth, setEnableBorderRadius, setEnableBorderRadius, setEnableBorderRadius, setFloatingData, setFloatingData, setFloatingData, setHoverBorderRadius, setHoverBorderRadius, setHoverBorderRadius, setHoverBorderRadius, setHoverBorderRadius, setHoverBorderWidth, setHoverBorderWidth, setHoverBorderWidth, setHoverBorderWidth, setHoverBorderWidth, setIndexAxis, setPointStyle, setPointStyle, setPointStyle, setPointStyle, setPointStyle, setXAxisID, setXAxisID, setYAxisID, setYAxisIDgetBackgroundColor, getBackgroundColorAsGradient, getBackgroundColorAsPatterns, getBackgroundColorAsString, getBorderColor, getBorderColorAsGradient, getBorderColorAsString, getColors, getHoverBackgroundColor, getHoverBackgroundColorAsGradient, getHoverBackgroundColorAsPatterns, getHoverBackgroundColorAsString, getHoverBorderColor, getHoverBorderColorAsGradient, getHoverBorderColorAsString, getWidths, setBackgroundColor, setBackgroundColor, setBackgroundColor, setBackgroundColor, setBorderColor, setBorderColor, setBorderColor, setColors, setColors, setHoverBackgroundColor, setHoverBackgroundColor, setHoverBackgroundColor, setHoverBackgroundColor, setHoverBorderColor, setHoverBorderColor, setHoverBorderColor, setWidthscreateContext, getAnimationContainer, getBackgroundColorCallback, getBorderColorCallback, getClip, getClipAsObject, getData, getDataCount, getDataset, getDataType, getDefaultValues, getHoverBackgroundColorCallback, getHoverBorderColorCallback, getId, getOptions, getOptions, getScope, getType, getTypedDataset, hasOptions, invokeColorCallback, isClip, isHidden, isNormalized, isParsing, removeOptions, setBackgroundColor, setBackgroundColor, setBorderColor, setBorderColor, setClip, setClip, setClip, setHidden, setHoverBackgroundColor, setHoverBackgroundColor, setHoverBorderColor, setHoverBorderColor, setLabel, setNormalized, setOptions, setOptions, setParsingcheckAndAddToParent, getChildKey, getParentNode, getRootNode, retrieveRoot, setArrayValueAndAddToParent, setArrayValueAndAddToParent, setArrayValueAndAddToParent, setElementAndAddToParent, setInternalCallbackToModel, setInternalCallbackToModel, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParentcheckDefaultValuesArgument, empty, getArrayValue, getElement, getIncrementalId, getNativeChart, getNativeEvent, getNativeObject, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, has, has, isType, keys, loadNativeObject, remove, remove, setArrayValue, setArrayValue, setArrayValue, setElement, setEmptyValue, setNewIncrementalId, setNewIncrementalId, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, typeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDataPoints, getDataPoints, setDataPoints, setDataPointsgetDatasetgetBarPercentage, getBarThickness, getCategoryPercentage, getMaxBarThickness, getMinBarLength, isGrouped, setBarPercentage, setBarThickness, setCategoryPercentage, setGrouped, setMaxBarThickness, setMinBarLengthgetAnimation, getAnimations, getTransitions, isAnimationEnabled, setAnimationEnabledextractScopepublic ChoroplethDataset()
public ChoroplethDataset(IsDefaultOptions defaultValues)
defaultValues - default optionspublic org.pepstock.charba.client.geo.GeoDatasetHandler<ChoroplethDataPoint> getHandler()
public void setData(double... values)
public void setValues(T[] values)
GeoDataPoint.values - an array of GeoDataPointpublic void setValues(List<T> values)
GeoDataPoint.values - an array of GeoDataPointpublic List<T> getValues()
GeoDataPoint.GeoDataPoint.public List<T> getValues(boolean binding)
GeoDataPoint.binding - if true binds the new array list in the containerGeoDataPoint.public void setOutline(Feature... outline)
outline - the outline used to scale and centralize the projection in the chart areapublic void setOutline(List<Feature> outline)
outline - the outline used to scale and centralize the projection in the chart areapublic List<Feature> getOutline()
public void setShowOutline(boolean showOutline)
true to render the outline in the background.showOutline - true to render the outline in the backgroundpublic boolean isShowOutline()
true to render the outline in the background.true to render the outline in the backgroundpublic void setShowGraticule(boolean showGraticule)
true to render the lines in the background.showGraticule - true to render the lines in the backgroundpublic void setShowGraticule(Graticule showGraticule)
showGraticule - the graticule to render the lines in the backgroundpublic boolean isShowGraticule()
true to render a graticule in the background.true to render a graticule in the backgroundpublic Graticule getShowGraticule()
null is any object has been setpublic void setClipMap(ClipMap clipMap)
clipMap - whether to clip the rendering to the chart area of the graphpublic ClipMap getClipMap()
public void setClipMap(boolean clipMap)
clipMap - whether to clip the rendering to the chart area of the graphpublic boolean isClipMap()
public void setOrder(int order)
order - the drawing order of dataset.public int getOrder()