|
NetCharts Pro | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--netcharts.pro.common.NFGraph
|
+--netcharts.pro.charts.radar.NFRadarchart
Radarchart object. Provides the ability to configure the chart via object manipulation or directly from CDL.
| Fields inherited from class netcharts.pro.common.NFGraph |
BAR, BOX, BUBBLE, COMBO, DIAGRAM, DIAL, LINE, PIE, RADAR, STOCK, STRIP, TIME, XY |
| Constructor Summary | |
NFRadarchart()
Constructs a default chart object. |
|
NFRadarchart(javax.swing.JPanel panel)
Constructs a chart object on the given JPanel. |
|
NFRadarchart(javax.swing.JPanel panel,
java.util.Properties initProperties)
Constructs a chart object on the given JPanel. |
|
NFRadarchart(java.util.Properties initProperties)
Constructs a chart object on the given JPanel. |
|
| Method Summary | |
void |
addAxis(NFRadialAxis axis)
Adds a axis to the current list of radial axes. |
void |
addAxis(java.lang.String axisName,
double min,
double max,
double step)
Adds a axis to the current list of radial axes. |
NFRadialAxisSeries |
getAxisSeries()
Gets the radial axis series. |
double |
getCenterRadius()
Gets the gap in the center of the radar chart as a percentage |
java.lang.String |
getDefaultData()
Returns a string of default data |
NFVector |
getGridSeries()
Gets the grid objects for this chart. |
NFRadialLineSeries |
getLineSeries()
Get the line series. |
NFModalLabel |
getLineValueLabel()
Get the text style to use for line labels. |
NFRegion |
getLineValueLabelRegion()
Get the text background style to use for line labels. |
boolean |
getRadarSquare()
Get radar square |
int |
getType()
Gets the chart type. |
void |
resetState()
Resets all of the parameter values to their initial state. |
void |
setAxisSeries(NFRadialAxisSeries axisSeries)
Sets the radial axis series. |
void |
setCenterRadius(double centerRadius)
Sets the gap in the center of the radar chart as a percentage |
void |
setGridSeries(NFVector gridSeries)
Sets the grid objects for this chart. |
void |
setLineSeries(NFRadialLineSeries lineSeries)
Set the line series. |
void |
setLineValueLabel(NFModalLabel lineValueLabel)
Set the text style to use for line labels. |
void |
setLineValueLabelRegion(NFRegion lineValueRegion)
Set the text background style to use for line labels. |
void |
setRadarSquare(boolean radarSquare)
Set radar square |
void |
writeChart(java.lang.StringBuffer sb)
Writes this chart into a string buffer |
void |
writeExternal(java.io.ObjectOutput out)
Writes this chart into an object for serialization. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public NFRadarchart()
public NFRadarchart(javax.swing.JPanel panel)
panel - Panel to draw chart on.public NFRadarchart(java.util.Properties initProperties)
initProperties - A java.util.Properties object containing the set
of runtime properties to use when generating the chart.
public NFRadarchart(javax.swing.JPanel panel,
java.util.Properties initProperties)
panel - Panel to draw chart on.initProperties - A java.util.Properties object containing the set
of runtime properties to use when generating the chart.| Method Detail |
public java.lang.String getDefaultData()
getDefaultData in class NFGraphpublic int getType()
getType in class NFGraphnetcharts.pro.charts.radar.NFGraph.RADAR
public void addAxis(NFRadialAxis axis)
throws NFParamException
axis - The axis to add.
public void addAxis(java.lang.String axisName,
double min,
double max,
double step)
throws NFParamException
min - Minimum valuemax - Maximum valuestep - Tic step
public void setAxisSeries(NFRadialAxisSeries axisSeries)
throws NFParamException
NFRadarchart chart = new NFRadarchart();
NFRadialAxisSeries ras = chart.getAxisSeries();
NFRadialAxis axis = (NFRadialAxis)ras.elementAt(0);
// Set some of the properties on the NFDial
...
ras.setElementAt(axis, 0);
chart.setAxisSeries(ras);
axisSeries - public NFRadialAxisSeries getAxisSeries()
NFRadarchart chart = new NFRadarchart();
NFRadialAxisSeries ras = chart.getAxisSeries();
NFRadialAxis axis = (NFRadialAxis)ras.elementAt(0);
// Set some of the properties on the NFDial
...
ras.setElementAt(axis, 0);
chart.setAxisSeries(ras);
public void setGridSeries(NFVector gridSeries)
throws NFParamException
NFRadarchart chart = new NFRadarchart();
NFVector gridSeries = chart.getGridSeries();
NFRadialGrid grid = (NFLineSet)rls.elementAt(0);
// Set some of the properties on the NFRadialGrid
...
gridSeries.setElementAt(grid, 0);
chart.setGridSeries(gridSeries);
gridSeries. - Vector of NFRadialGrid objectspublic NFVector getGridSeries()
NFRadarchart chart = new NFRadarchart();
NFVector gridSeries = chart.getGridSeries();
NFRadialGrid grid = (NFLineSet)rls.elementAt(0);
// Set some of the properties on the NFRadialGrid
...
gridSeries.setElementAt(grid, 0);
chart.setGridSeries(gridSeries);
public void setRadarSquare(boolean radarSquare)
throws NFParamException
radarSquare - When true, the radar area will always have a
consistent width and height. When false, the radar area will
attempt to use all available width and heightpublic boolean getRadarSquare()
public void setCenterRadius(double centerRadius)
centerRadius - public double getCenterRadius()
public void setLineSeries(NFRadialLineSeries lineSeries)
throws NFParamException
NFRadarchart chart = new NFRadarchart();
NFRadialLineSeries rls = chart.getLineSeries();
NFLineSet set = (NFLineSet)rls.elementAt(0);
// Set some of the properties on the NFLineSet
...
rls.setElementAt(set, 0);
chart.setLineSeries(rls);
lineSeries - public NFRadialLineSeries getLineSeries()
NFRadarchart chart = new NFRadarchart();
NFRadialLineSeries rls = chart.getLineSeries();
NFLineSet set = (NFLineSet)rls.elementAt(0);
// Set some of the properties on the NFLineSet
...
rls.setElementAt(set, 0);
chart.setLineSeries(rls);
public void setLineValueLabel(NFModalLabel lineValueLabel)
lineValueLabel - Text style.public NFModalLabel getLineValueLabel()
public void setLineValueLabelRegion(NFRegion lineValueRegion)
lineValueRegion - Text background style.public NFRegion getLineValueLabelRegion()
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in class NFGraphpublic void writeChart(java.lang.StringBuffer sb)
writeChart in class NFGraphpublic void resetState()
resetState in class NFGraph
|
NetCharts Pro | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| Visual Mining, Inc. | Copyright © Visual Mining, Inc. 1996 - 2004 |
Last Modified: Apr 1, 2004 |