Class CircleMapArea

java.lang.Object
org.jCharts.imageMap.ImageMapArea
org.jCharts.imageMap.CircleMapArea
All Implemented Interfaces:
Serializable

public final class CircleMapArea extends ImageMapArea implements Serializable
See Also:
  • Field Details

    • radius

      private int radius
  • Constructor Details

    • CircleMapArea

      public CircleMapArea(float x, float y, double value, String xAxisLabel, String legendLabel)
      Parameters:
      x -
      y -
      value -
      xAxisLabel -
      legendLabel -
    • CircleMapArea

      public CircleMapArea(float x, float y, Point2D.Double value, String legendLabel)
      Parameters:
      x -
      y -
      value -
      legendLabel -
  • Method Details

    • getAreaShape

      public AreaShape getAreaShape()
      Specified by:
      getAreaShape in class ImageMapArea
      Returns:
      AreaShape
    • setRadius

      public void setRadius(int radius)
      Allows user to specify the radius for each circle
      Parameters:
      radius -
    • getCoordinates

      protected void getCoordinates(StringBuffer html)
      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 class ImageMapArea
      Parameters:
      html - pass a reference to the StringBuffer so I can minimize Object creation