public final class ChoroplethDataPoint extends AbstractDataPoint
feature
property containing the feature to render and a value
property containing the value for the coloring.Modifier and Type | Class and Description |
---|---|
static class |
ChoroplethDataPoint.ChoroplethDataPointFactory
Creates
ChoroplethDataPoint form a NativeObject . |
Modifier and Type | Field and Description |
---|---|
static ChoroplethDataPoint.ChoroplethDataPointFactory |
FACTORY
Factory instance to create data points.
|
Constructor and Description |
---|
ChoroplethDataPoint()
Creates the object with an empty native object.
|
ChoroplethDataPoint(Feature feature)
Creates the object with the assigned feature.
|
ChoroplethDataPoint(Feature feature,
double value)
Creates the object with the assigned feature and value.
|
Modifier and Type | Method and Description |
---|---|
Feature |
getFeature()
Returns the feature object to identify the region.
|
double |
getValue()
Returns the value for the coloring.
|
void |
setFeature(Feature feature)
Sets the feature object to identify the region.
|
void |
setValue(double value)
Sets the value for the coloring.
|
getAttribute, getAttributeAsDate, getAttributeAsObject, getAttributeAsString, setAttribute, setAttribute, setAttribute, setAttribute
checkDefaultValuesArgument, 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, type
public static final ChoroplethDataPoint.ChoroplethDataPointFactory FACTORY
DataItem
to get the data point for choropleth chart.public ChoroplethDataPoint()
public ChoroplethDataPoint(Feature feature)
feature
- the feature object to identify the region.public ChoroplethDataPoint(Feature feature, double value)
feature
- the feature object to identify the region.value
- the value for the coloringpublic void setFeature(Feature feature)
feature
- the feature object to identify the regionpublic Feature getFeature()
public final void setValue(double value)
value
- the value for the coloringpublic final double getValue()