com.java4less.rchart
Class RadarPlotter

java.lang.Object
  |
  +--com.java4less.rchart.ChartComponent
        |
        +--com.java4less.rchart.Plotter
              |
              +--com.java4less.rchart.RadarPlotter

public class RadarPlotter
extends Plotter

Class used to plat radar charts.


Field Summary
 FillStyle backStyle
          back style to fill the chart
 boolean drawCircle
          if true a circle will be painted around the radarchart
 java.awt.Color faktorColor
          color used to paint the factors
 java.awt.Font faktorFont
          font used to paint the factors
 double[] faktorMaxs
          maximum values ofd the factors.
 double[] faktorMins
          minimum vaues of the factors.
 java.lang.String[] faktorNames
          names of the factors
 java.awt.Font gridFont
          grid's font
 java.awt.Color gridFontColor
          grid's font color
 LineStyle gridStyle
          grid's line style
 java.awt.Color[] pointColors
          color of the points.
 double[] pointColorScale
          ascending list of values used to select the color of the point.
 double radiusModifier
          modifies the size of thechart.
 int ticks
          tick lenght, in pixels
 
Fields inherited from class com.java4less.rchart.Plotter
back, backImage, depth, visibleHeight, visibleWidth, XScale, Y2Scale, YScale
 
Fields inherited from class com.java4less.rchart.ChartComponent
height, width, x, y
 
Constructor Summary
RadarPlotter()
          constructor
 
Methods inherited from class com.java4less.rchart.Plotter
addSerie, getCombinable, getNeedsAxis, getSerie, getSeriesCount, plot, plotBackground, replaceSerie, setSerie
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

radiusModifier

public double radiusModifier
modifies the size of thechart. The default value is 1. A value of 0.5 will create a chart half the size of the default.

drawCircle

public boolean drawCircle
if true a circle will be painted around the radarchart

faktorNames

public java.lang.String[] faktorNames
names of the factors

faktorMins

public double[] faktorMins
minimum vaues of the factors.

faktorMaxs

public double[] faktorMaxs
maximum values ofd the factors.

faktorFont

public java.awt.Font faktorFont
font used to paint the factors

faktorColor

public java.awt.Color faktorColor
color used to paint the factors

gridStyle

public LineStyle gridStyle
grid's line style

gridFont

public java.awt.Font gridFont
grid's font

gridFontColor

public java.awt.Color gridFontColor
grid's font color

ticks

public int ticks
tick lenght, in pixels

backStyle

public FillStyle backStyle
back style to fill the chart

pointColors

public java.awt.Color[] pointColors
color of the points. See also pointColorScale

pointColorScale

public double[] pointColorScale
ascending list of values used to select the color of the point. See also pointColors.
For example pointColors={Color.red,Color.white,Color.blue} and pointColorScale={10,20} will
- paint a red point if value is < 10 - paint a white point if value is >10 and < 20 - paint a blue point if value is > 20
Constructor Detail

RadarPlotter

public RadarPlotter()
constructor