|
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
|
+--netcharts.pro.common.lineset.NFAbstractLineChart
|
+--netcharts.pro.charts.combo.NFCombochart
|
+--netcharts.pro.charts.stock.NFStockchart
Represents a stock chart. Provides the ability to configure the chart via object manipulation or directly from CDL.
| Fields inherited from class netcharts.pro.charts.combo.NFCombochart |
BOTTOMUP, DRAWBAR, DRAWFILL, DRAWLINE, drawOrderMap, DRAWSTOCK, GROUP, GROUPSTACK, HORIZONTAL, ITEM, ROWS, STACK, stackDisplayOrderMap, TOPDOWN, TOTAL, VERTICAL |
| Fields inherited from class netcharts.pro.common.zoomable.NFZoomableChart |
NOZOOM, zoomActionsMap, ZOOMIN, ZOOMOUT |
| Fields inherited from class netcharts.pro.common.NFGraph |
ANTIALIAS_OFF, ANTIALIAS_ON, ANTIALIAS_ONDRAW, ANTIALIAS_ONTEXT, antiAliasModeMap, BAR, BOX, BUBBLE, COMBO, DIAGRAM, DIAL, HEATMAP, LINE, MULTIPIE, PARETO, PIE, POLAR, RADAR, STOCK, STRIP, TIME, XY |
| Constructor Summary | |
NFStockchart()
Constructs a default chart object. |
|
NFStockchart(javax.swing.JPanel panel)
Constructs a chart object on the given JPanel. |
|
NFStockchart(javax.swing.JPanel panel,
java.util.Properties initProperties)
Constructs a chart object on the given JPanel. |
|
NFStockchart(java.util.Properties initProperties)
Constructs a chart object on the given JPanel. |
|
| Method Summary | |
void |
addStockSet(NFStockSet stockSet)
Adds a stock set to the current list of stocksets. |
java.lang.String |
getDefaultData()
Returns a string of default data |
int |
getOrientation()
Always returns vertical |
int |
getStockBarWidth()
This parameter specifies the relative size of each bar used when displaying stock values. |
boolean |
getStockLabelsEnabled()
Get whether or not popups over lines are enabled. |
NFStockSeries |
getStockSeries()
Get the stock series. |
int |
getTicLength()
The ticLength attribute defines the length of the open/close tic marks in pixels. |
int |
getType()
Gets the chart type. |
void |
resetState()
Resets all of the parameter values to their initial state. |
void |
setOrientation(int orientation)
Noop - Stockchart bars are vertical only. |
void |
setStockBarWidth(int stockBarWidth)
This parameter specifies the relative size of each bar used when displaying stock values. |
void |
setStockLabelsEnabled(boolean stockLabelsEnabled)
Set enable popup labels over stock lines. |
void |
setStockSeries(NFStockSeries stockSeries)
Set the stock series. |
void |
setTicLength(int ticLength)
This parameter specifies the relative size of each tic mark used when displaying stock values. |
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.lineset.NFAbstractLineChart |
getDepth, getLineValueLabel, getLineValueLabelRegion, getLineZWidth, setDepth, setLineValueLabel, setLineValueLabelRegion, setLineZWidth |
| Methods inherited from class netcharts.pro.common.rectangular.NFDataChart |
addGrid, getAutoscalePad, getAxesSizes, getAxisThickness, getBottomAxis, getBottomAxisSeries, getGrid, getGridDepth, getGridSeries, getLeftAxis, getLeftAxisSeries, getRightAxis, getRightAxisSeries, getTopAxis, getTopAxisSeries, setAutoscalePad, setAxesSizes, setAxisThickness, setBottomAxis, setBottomAxisSeries, setGrid, setGridDepth, setGridSeries, setLeftAxis, setLeftAxisSeries, setRightAxis, setRightAxisSeries, setTopAxis, setTopAxisSeries |
| 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 NFStockchart()
public NFStockchart(javax.swing.JPanel panel)
panel - Panel to draw chart on.public NFStockchart(java.util.Properties initProperties)
initProperties - A java.util.Properties object containing the set
of runtime properties to use when generating the chart. See the
netcharts.pro.common.NFGraph(java.util.Properties) constructor
for a list of valid Properties.
public NFStockchart(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. See the
netcharts.pro.common.NFGraph(java.util.Properties) constructor
for a list of valid Properties.| Method Detail |
public java.lang.String getDefaultData()
getDefaultData in class NFCombochartnetcharts.pro.common.NFGraphpublic int getType()
getType in class NFCombochartnetcharts.pro.charts.stock.NFGraph.STOCKpublic void setStockBarWidth(int stockBarWidth)
stockBarWidth - public int getStockBarWidth()
public void setTicLength(int ticLength)
ticLength - public int getTicLength()
public void setOrientation(int orientation)
setOrientation in class NFCombochartorientation - public int getOrientation()
getOrientation in class NFCombochartpublic void addStockSet(NFStockSet stockSet)
stockSet - The stockset to add.
public void setStockSeries(NFStockSeries stockSeries)
throws NFParamException
NFStockchart chart = new NFStockchart();
NFStockSeries ss = chart.getStockSeries();
NFStockSet set = (NFStockSet)ss.elementAt(0);
// Set some of the properties on the NFStockSet
...
ss.setElementAt(set, 0);
chart.setStockSeries(ss);
stockSeries - public NFStockSeries getStockSeries()
NFStockchart chart = new NFStockchart();
NFStockSeries ss = chart.getStockSeries();
NFStockSet set = (NFStockSet)ss.elementAt(0);
// Set some of the properties on the NFStockSet
...
ss.setElementAt(set, 0);
chart.setStockSeries(ss);
public void setStockLabelsEnabled(boolean stockLabelsEnabled)
stockLabelsEnabled - When popups will appear over stock lines of the chart.public boolean getStockLabelsEnabled()
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in class NFCombochartpublic void writeChart(java.lang.StringBuffer sb)
writeChart in class NFCombochartpublic void resetState()
resetState in class NFCombochart
|
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 - 2006 |
Last Modified: Apr 14, 2006 |