Package org.jCharts.imageMap
Class PolyMapArea
java.lang.Object
org.jCharts.imageMap.ImageMapArea
org.jCharts.imageMap.PolyMapArea
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Fields inherited from class org.jCharts.imageMap.ImageMapArea
x, y
-
Constructor Summary
ConstructorsConstructorDescriptionPolyMapArea
(int numberOfPoints, double value, String xAxisLabel, String legendLabel) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addCoordinate
(int index, float x, float y) Adds the x, y coordinate at the specified index.Methods inherited from class org.jCharts.imageMap.ImageMapArea
getCoordinates, getLengendLabel, getNumberOfCoordinates, getValue, getXAxisLabel, getXCoordinate, getYCoordinate, toHTML
-
Constructor Details
-
PolyMapArea
- Parameters:
numberOfPoints
-value
-areaType
-
-
-
Method Details
-
addCoordinate
public void addCoordinate(int index, float x, float y) Adds the x, y coordinate at the specified index. Not added as a Point Object so we can avoid uneeded Object creation/destruction overhead.- Parameters:
index
-x
-y
-
-
getAreaShape
- Specified by:
getAreaShape
in classImageMapArea
- Returns:
- AreaShape
-