Package org.jCharts.imageMap
Class CircleMapArea
java.lang.Object
org.jCharts.imageMap.ImageMapArea
org.jCharts.imageMap.CircleMapArea
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
FieldsFields inherited from class org.jCharts.imageMap.ImageMapArea
x, y
-
Constructor Summary
ConstructorsConstructorDescriptionCircleMapArea
(float x, float y, double value, String xAxisLabel, String legendLabel) CircleMapArea
(float x, float y, Point2D.Double value, String legendLabel) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
getCoordinates
(StringBuffer html) Appends the coordinates to the passed html buffer.void
setRadius
(int radius) Allows user to specify the radius for each circleMethods inherited from class org.jCharts.imageMap.ImageMapArea
getLengendLabel, getNumberOfCoordinates, getValue, getXAxisLabel, getXCoordinate, getYCoordinate, toHTML
-
Field Details
-
radius
private int radius
-
-
Constructor Details
-
CircleMapArea
- Parameters:
x
-y
-value
-xAxisLabel
-legendLabel
-
-
CircleMapArea
- Parameters:
x
-y
-value
-legendLabel
-
-
-
Method Details
-
getAreaShape
- Specified by:
getAreaShape
in classImageMapArea
- Returns:
- AreaShape
-
setRadius
public void setRadius(int radius) Allows user to specify the radius for each circle- Parameters:
radius
-
-
getCoordinates
Description copied from class:ImageMapArea
Appends the coordinates to the passed html buffer. This is needed to facilitate the 'circle' map areas 'radius' value.- Overrides:
getCoordinates
in classImageMapArea
- Parameters:
html
- pass a reference to the StringBuffer so I can minimize Object creation
-