|
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.common.zoomable.NFZoomableChart
|
+--netcharts.pro.common.rectangular.NFDataChart
Abstract datachart object. Provides the attributes common to charts that have axes.
| Fields inherited from class netcharts.pro.common.zoomable.NFZoomableChart |
NOZOOM, zoomActionsMap, ZOOMIN, ZOOMOUT |
| Fields inherited from class netcharts.pro.common.NFGraph |
BAR, BOX, BUBBLE, COMBO, DIAGRAM, DIAL, LINE, PIE, RADAR, STOCK, STRIP, TIME, XY |
| Constructor Summary | |
NFDataChart()
Constructs a default chart object. |
|
NFDataChart(javax.swing.JPanel panel)
Constructs a chart object on the given JPanel. |
|
NFDataChart(javax.swing.JPanel panel,
java.util.Properties initProperties)
Constructs a chart object on the given JPanel. |
|
NFDataChart(java.util.Properties initProperties)
Constructs a chart object on the given JPanel. |
|
| Method Summary | |
void |
addGrid(NFGrid grid)
Adds a grid to the grid series. |
NFAxesSize |
getAxesSizes()
Gets the axes size. |
int |
getAxisThickness()
Get axis thickness - only applies if chart depth is not 0 |
NFAxis |
getBottomAxis()
Gets the bottom axis object. |
NFAxisSeries |
getBottomAxisSeries()
Gets the bottom axis series. |
NFGrid |
getGrid()
Gets the grid object for this chart. |
int |
getGridDepth()
Get the 3D depth of the grids. |
NFGridSeries |
getGridSeries()
Gets the grid objects for this chart. |
NFAxis |
getLeftAxis()
Gets the left axis object. |
NFAxisSeries |
getLeftAxisSeries()
Gets the left axis series. |
NFAxis |
getRightAxis()
Gets the right axis object. |
NFAxisSeries |
getRightAxisSeries()
Gets the right axis series. |
NFAxis |
getTopAxis()
Gets the top axis object. |
NFAxisSeries |
getTopAxisSeries()
Gets the top axis series. |
void |
resetState()
Resets all of the parameter values to their initial state. |
void |
setAxesSizes(NFAxesSize axesSizes)
Sets the axes size. |
void |
setAxisThickness(int axisThickness)
Set axis thickness - only applies if chart depth is not 0 |
void |
setBottomAxis(NFAxis bottomAxis)
Sets the bottom axis object. |
void |
setBottomAxisSeries(NFAxisSeries bottomAxisSeries)
Sets the bottom axis series. |
void |
setGrid(NFGrid grid)
Sets a grid object for this chart. |
void |
setGridDepth(int gridDepth)
Set the 3D depth of the grids. |
void |
setGridSeries(NFGridSeries gridSeries)
Sets the grid objects for this chart. |
void |
setLeftAxis(NFAxis leftAxis)
Sets the left axis object. |
void |
setLeftAxisSeries(NFAxisSeries leftAxisSeries)
Sets the left axis series. |
void |
setRightAxis(NFAxis rightAxis)
Sets the right axis object. |
void |
setRightAxisSeries(NFAxisSeries rightAxisSeries)
Sets the right axis series. |
void |
setTopAxis(NFAxis topAxis)
Sets the top axis object. |
void |
setTopAxisSeries(NFAxisSeries topAxisSeries)
Sets the top axis series. |
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 netcharts.pro.common.zoomable.NFZoomableChart |
getMouseControlDown, getMouseMetaDown, getMouseShiftDown, getZoomingEnabled, setMouseControlDown, setMouseMetaDown, setMouseShiftDown, setZoomingEnabled |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public NFDataChart()
public NFDataChart(java.util.Properties initProperties)
initProperties - A java.util.Properties object containing the set
of runtime properties to use when generating the chart.public NFDataChart(javax.swing.JPanel panel)
panel - Panel to draw graph on.
public NFDataChart(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 void setAxisThickness(int axisThickness)
axisThickness - public int getAxisThickness()
public void setGridDepth(int gridDepth)
gridDepth - public int getGridDepth()
public void addGrid(NFGrid grid)
grid - public void setGrid(NFGrid grid)
grid - public NFGrid getGrid()
public void setGridSeries(NFGridSeries gridSeries)
NFBarchart chart = null; // NFBarchart, NFBoxchart, etc.
NFGridSeries gridSeries = chart.getGridSeries();
NFGrid grid = (NFLineSet)rls.elementAt(0);
// Set some of the properties on the NFGrid
...
gridSeries.setElementAt(grid, 0);
chart.setGridSeries(gridSeries);
gridSeries - public NFGridSeries getGridSeries()
NFBarchart chart = null; // NFBarchart, NFBoxchart, etc.
NFGridSeries gridSeries = chart.getGridSeries();
NFGrid grid = (NFLineSet)rls.elementAt(0);
// Set some of the properties on the NFGrid
...
gridSeries.setElementAt(grid, 0);
chart.setGridSeries(gridSeries);
public void setLeftAxis(NFAxis leftAxis)
leftAxis - public NFAxis getLeftAxis()
public void setLeftAxisSeries(NFAxisSeries leftAxisSeries)
NFBarchart chart = null; // NFBarchart, NFBoxchart, etc.
NFAxis leftAxis1 = null;
...
NFAxisSeries leftAxisSeries = chart.getLeftAxisSeries();
leftAxisSeries.setElementAt(leftAxis1, 0);
chart.setLeftAxisSeries(leftAxisSeries);
leftAxisSeries - public NFAxisSeries getLeftAxisSeries()
NFBarchart chart = null; // NFBarchart, NFBoxchart, etc.
NFAxis leftAxis1 = null;
...
NFAxisSeries leftAxisSeries = chart.getLeftAxisSeries();
leftAxisSeries.setElementAt(leftAxis1, 0);
chart.setLeftAxisSeries(leftAxisSeries);
public void setRightAxis(NFAxis rightAxis)
rightAxis - public NFAxis getRightAxis()
public void setRightAxisSeries(NFAxisSeries rightAxisSeries)
NFBarchart chart = null; // NFBarchart, NFBoxchart, etc.
NFAxis rightAxis1 = null;
...
NFAxisSeries rightAxisSeries = chart.getRightAxisSeries();
rightAxisSeries.setElementAt(rightAxis1, 0);
chart.setRightAxisSeries(rightAxisSeries);
rightAxisSeries - public NFAxisSeries getRightAxisSeries()
NFBarchart chart = null; // NFBarchart, NFBoxchart, etc.
NFAxis rightAxis1 = null;
...
NFAxisSeries rightAxisSeries = chart.getRightAxisSeries();
rightAxisSeries.setElementAt(rightAxis1, 0);
chart.setRightAxisSeries(rightAxisSeries);
public void setBottomAxis(NFAxis bottomAxis)
bottomAxis - public NFAxis getBottomAxis()
public void setBottomAxisSeries(NFAxisSeries bottomAxisSeries)
NFBarchart chart = null; // NFBarchart, NFBoxchart, etc.
NFAxis bottomAxis1 = null;
...
NFAxisSeries bottomAxisSeries = chart.getBottomAxisSeries();
bottomAxisSeries.setElementAt(bottomAxis1, 0);
chart.setBottomAxisSeries(bottomAxisSeries);
bottomAxisSeries - public NFAxisSeries getBottomAxisSeries()
NFBarchart chart = null; // NFBarchart, NFBoxchart, etc.
NFAxis bottomAxis1 = null;
...
NFAxisSeries bottomAxisSeries = chart.getBottomAxisSeries();
bottomAxisSeries.setElementAt(bottomAxis1, 0);
chart.setBottomAxisSeries(bottomAxisSeries);
public void setTopAxis(NFAxis topAxis)
topAxis - public NFAxis getTopAxis()
public void setTopAxisSeries(NFAxisSeries topAxisSeries)
NFBarchart chart = null; // NFBarchart, NFBoxchart, etc.
NFAxis topAxis1 = null;
...
NFAxisSeries topAxisSeries = chart.getTopAxisSeries();
topAxisSeries.setElementAt(topAxis1, 0);
chart.setTopAxisSeries(topAxisSeries);
topAxisSeries - public NFAxisSeries getTopAxisSeries()
NFBarchart chart = null; // NFBarchart, NFBoxchart, etc.
NFAxis topAxis1 = null;
...
NFAxisSeries topAxisSeries = chart.getTopAxisSeries();
topAxisSeries.setElementAt(topAxis1, 0);
chart.setTopAxisSeries(topAxisSeries);
public void setAxesSizes(NFAxesSize axesSizes)
axesSizes - public NFAxesSize getAxesSizes()
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in class NFZoomableChartpublic void writeChart(java.lang.StringBuffer sb)
writeChart in class NFZoomableChartpublic void resetState()
resetState in class NFZoomableChart
|
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 |