com.jinsight.jetchart
Class RadarGrid

java.lang.Object
  extended bycom.jinsight.jetchart.RadarGrid

public class RadarGrid
extends java.lang.Object

The radar chart grid consists of concentric circles painted with respect to the ticks coordinates of the first RadarScale object, the one that is painted along the 90 degrees radial axis. An instance of a RadarGrid is created and owned by a RadarGraph object.

See Also:
RadarGraph.getGrid(), RadarScale

Method Summary
protected  void finalize()
           
 void setColor(java.awt.Color color)
          Sets the color of the radar grid.
 void setEnabled(boolean isEnabled)
          Enables/disables the radar grid.
 void setRadialColors(java.awt.Color[] radialColors)
          Sets the colors of the radial areas between the grid lines.
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setEnabled

public void setEnabled(boolean isEnabled)
Enables/disables the radar grid. The radar grid is disabled by default.

Parameters:
isEnabled - A boolean value(true/false).

setColor

public void setColor(java.awt.Color color)
Sets the color of the radar grid. Default color is Color.lightGray.

Parameters:
color - A Color object.

setRadialColors

public void setRadialColors(java.awt.Color[] radialColors)
Sets the colors of the radial areas between the grid lines. The colors are painted outwards starting from the center of the radar graph.
If a center gap is informed, the area within the center gap is painted in the same color of the first radial area. To paint the center gap area in a different color, use the method RadarGraph.setCenterGapColor.
If any entry in the radialColors array is null, the corresponding radial area is painted in the same color of the next radial area with a non-null color.

Parameters:
radialColors - An array of Color objects.
See Also:
RadarGraph.setCenterGap(int), RadarGraph.setCenterGapColor(java.awt.Color)

finalize

protected void finalize()
                 throws java.lang.Throwable
Throws:
java.lang.Throwable