|
ChartCat 1.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectli.netcat.chart.util.AbstractPart
li.netcat.chart.util.GraphPart
li.netcat.chart.util.PolarGraphPart
li.netcat.chart.util.RadarLinePart
Represents a polar graph that looks for example like this:
The painting of the line and the symbol can be turned on or off.
| Field Summary |
| Fields inherited from class li.netcat.chart.util.PolarGraphPart |
NET, RING |
| Fields inherited from class li.netcat.chart.util.GraphPart |
STACK_STRATEGY_APPEND, STACK_STRATEGY_GROUP, STACK_TYPE_NOT_STACKED, STACK_TYPE_STACKED, STACK_TYPE_STACKED_PERCENT |
| Fields inherited from class li.netcat.chart.util.AbstractPart |
BACKGROUND, FOREGROUND, PERSPECTIVE |
| Constructor Summary | |
RadarLinePart(ChartModel model)
Constructs a new RadarLinePart using the given ChartModel and the type STACK_TYPE_NOT_STACKED. |
|
RadarLinePart(ChartModel model,
int stackType)
Constructs a new RadarLinePart using the given ChartModel and the given type. |
|
RadarLinePart(ChartModel model,
int stackType,
boolean paintLines,
boolean paintSymbols)
Constructs a new RadarLinePart using the given ChartModel and the given type. |
|
| Method Summary | |
Layout |
getLayout(java.awt.Graphics g)
Returns an instance of a layout that is able to report the bounds of this part and is able to paint this part. |
boolean |
getPaintLines()
Returns the paint lines flag. |
boolean |
getPaintSymbols()
Returns the paint symbols flag. |
void |
setPaintLines(boolean paintLines)
Sets the paint lines flag. |
void |
setPaintSymbols(boolean paintSymbols)
Sets the paint symbols flag. |
| Methods inherited from class li.netcat.chart.util.PolarGraphPart |
getCenterX, getCenterY, getConverter, getInnerRadius, getOrientation, getRadialScaleModel, getRadius, getStretch, getTangentialScaleModel, getThickness, getValueLocation, invalidate, setRadialScaleModel, setSize, setStretch, setTangentialScaleModel |
| Methods inherited from class li.netcat.chart.util.GraphPart |
getChartModel, getDiscreetLength, getDiscreetScaleModel, getGraphLook, getLegendModel, getNumericLength, getNumericScaleModel, getStackModel, setChartModel, setDiscreetLength, setDiscreetScaleModel, setGraphLook, setLegendModel, setNumericLength, setNumericScaleModel, setStackModel |
| Methods inherited from class li.netcat.chart.util.AbstractPart |
getChart, getPerspective, setChart, setPerspective |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RadarLinePart(ChartModel model)
RadarLinePart using the given ChartModel and the type STACK_TYPE_NOT_STACKED.
model - The ChartModel that provides the data. null
will be replaced by an empty ChartModel.
public RadarLinePart(ChartModel model,
int stackType)
RadarLinePart using the given ChartModel and the given type.
model - The ChartModel that provides the data. null
will be replaced by an empty ChartModel.stackType - The type of the resulting graph. Specify one of
STACK_TYPE_NOT_STACKED, STACK_TYPE_STACKED or STACK_TYPE_STACKED_PERCENT.
public RadarLinePart(ChartModel model,
int stackType,
boolean paintLines,
boolean paintSymbols)
RadarLinePart using the given ChartModel and the given type.
model - The ChartModel that provides the data. null
will be replaced by an empty ChartModel.stackType - The type of the resulting graph. Specify one of
STACK_TYPE_NOT_STACKED, STACK_TYPE_STACKED or STACK_TYPE_STACKED_PERCENT.paintLines - If true this radar line part will paint the lines.paintSymbols - If true this radar line part will paint the symbols.| Method Detail |
public boolean getPaintLines()
public void setPaintLines(boolean paintLines)
paintLines - Specify true to paint the lines.public boolean getPaintSymbols()
public void setPaintSymbols(boolean paintSymbols)
paintSymbols - Specify true to paint the lines.public Layout getLayout(java.awt.Graphics g)
Part
g - The relevant graphics object.
null.
|
ChartCat 1.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||