-
public class ChoroplethPoint extends SeriesPoint
Point representing choropleth points that belongs to map.
-
-
Constructor Summary
Constructors Constructor Description ChoroplethPoint(String jsChart)
-
Method Summary
Modifier and Type Method Description static ChoroplethPointinstantiate()StringgetJsBase()voidcrs()Returns the point crs (coordinate system). ChoroplethPointcrs(String crs)Changes crs (coordinate system) of the point. voidexists()Checks if the point with the given index exists in a dataset. voidget(String field)Fetches a field value from point data row by its name. SeparateChartgetChart()Getter for the chart which current point belongs to. RectgetFeatureBounds()Getter for the point bounds. voidgetFeatureProp()Getter for the point properties. voidgetIndex()Getter for the point index in chart or series. SeriesBasegetSeries()Getter for series which current point belongs to. voidgetStackValue()Returns stack value of the point. voidgetStackZero()Returns stack zero of the point. voidgetStat(Statistics key)Getter for the statistics value by key. voidgetStat(String key)Getter for the statistics value by key. voidhovered()Getter for the hover point state. ChoroplethPointhovered(Boolean enabled)Setter for the hover point state. voidmiddleX()Getter for the X center of the point label. ChoroplethPointmiddleX(Number xCoord)Setter for the X center of the point label. voidmiddleY()Getter for the Y center of the point label. ChoroplethPointmiddleY(Number yCoord)Setter for the Y center of the point label. voidscaleFactor()Getter for the scale of the point. ChoroplethPointscaleFactor(Number scaleFactor)Scales point. voidselected()Getter for the select series point state. ChoroplethPointselected(Boolean enabled)Setter for the select series point state. ChoroplethPointset(String field, String value)Sets the field of the point data row to the specified value. ChoroplethPointtranslate(Number dx, Number dy)Moves point. voidtranslation()Getter for the point translation. ChoroplethPointtranslation(Number dx, Number dy)Setter for the point translation. -
Methods inherited from class com.anychart.core.SeriesPoint
hovered, instantiate, selected, set -
Methods inherited from class com.anychart.core.Point
hovered, instantiate, selected, set -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
ChoroplethPoint
ChoroplethPoint(String jsChart)
-
-
Method Detail
-
instantiate
static ChoroplethPoint instantiate()
-
crs
void crs()
Returns the point crs (coordinate system).
-
crs
ChoroplethPoint crs(String crs)
Changes crs (coordinate system) of the point.Note: Works only after draw is called.
-
exists
void exists()
Checks if the point with the given index exists in a dataset.
-
getChart
SeparateChart getChart()
Getter for the chart which current point belongs to.
-
getFeatureBounds
Rect getFeatureBounds()
Getter for the point bounds.Note: Works only after draw is called.
-
getFeatureProp
void getFeatureProp()
Getter for the point properties.Note: Works only after draw is called.
-
getIndex
void getIndex()
Getter for the point index in chart or series.
-
getSeries
SeriesBase getSeries()
Getter for series which current point belongs to.
-
getStackValue
void getStackValue()
Returns stack value of the point. Note: Works only after chart.draw() is called.
-
getStackZero
void getStackZero()
Returns stack zero of the point. Note: Works only after chart.draw() is called.
-
getStat
void getStat(Statistics key)
Getter for the statistics value by key.
-
hovered
void hovered()
Getter for the hover point state.
-
hovered
ChoroplethPoint hovered(Boolean enabled)
Setter for the hover point state.
-
middleX
void middleX()
Getter for the X center of the point label.
-
middleX
ChoroplethPoint middleX(Number xCoord)
Setter for the X center of the point label.Note: Works only after draw is called.
-
middleY
void middleY()
Getter for the Y center of the point label.
-
middleY
ChoroplethPoint middleY(Number yCoord)
Setter for the Y center of the point label.Note: Works only after draw is called.
-
scaleFactor
void scaleFactor()
Getter for the scale of the point.
-
scaleFactor
ChoroplethPoint scaleFactor(Number scaleFactor)
Scales point.Note: Works only after draw is called.
-
selected
void selected()
Getter for the select series point state.
-
selected
ChoroplethPoint selected(Boolean enabled)
Setter for the select series point state.
-
set
ChoroplethPoint set(String field, String value)
Sets the field of the point data row to the specified value.
-
translate
ChoroplethPoint translate(Number dx, Number dy)
Moves point.Note: Works only after draw is called.
-
translation
void translation()
Getter for the point translation.
-
translation
ChoroplethPoint translation(Number dx, Number dy)
Setter for the point translation.Note: Works only after draw is called.
-
-
-
-