|
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.barset.NFAbstractBarchart
|
+--netcharts.pro.charts.bar.NFBarchart
Represents a bar chart. Provides the ability to configure the chart via object manipulation or directly from CDL.
| Fields inherited from class netcharts.pro.common.barset.NFAbstractBarchart |
barchartTypeMap, BOTTOMUP, GROUP, GROUPSTACK, HORIZONTAL, ITEM, orientationMap, ROWS, STACK, stackDisplayOrderMap, stackTypeMap, 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 | |
NFBarchart()
Constructs a default chart object. |
|
NFBarchart(javax.swing.JPanel panel)
Constructs a chart object on the given JPanel. |
|
NFBarchart(javax.swing.JPanel panel,
java.util.Properties initProperties)
Constructs a chart object on the given JPanel. |
|
NFBarchart(java.util.Properties initProperties)
Constructs a chart object on the given JPanel. |
|
| Method Summary | |
int |
getBarchartType()
Get barchart type, either GROUP (default), STACK, GROUPSTACK or ROWS. |
java.lang.String |
getDefaultData()
Returns a string of default data |
int |
getDepth()
Get 3DDepth |
NFVector |
getGroupStackLabels()
Get the labels to be displayed under each stack in a GROUPSTACK chart. |
NFVector |
getGroupStackSegmentLabels()
Get the labels to be displayed in the legend for segments of a stack in GROUPSTACK mode. |
int |
getOrientation()
Get bar orientation, either VERTICAL (default) or HORIZONTAL |
boolean |
getShowGroupStackLabels()
Get whether the group stack labels should be displayed when in GROUPSTACK mode. |
int |
getType()
Gets the chart type. |
void |
resetState()
Resets all of the parameter values to their initial state. |
void |
setBarchartType(int type)
Set barchart type, either GROUP (default), STACK, GROUPSTACK or ROWS. |
void |
setDepth(int depth)
Set 3DDepth |
void |
setGroupStackLabels(NFVector groupStackLabels)
Set the labels to be displayed under each stack in a GROUPSTACK chart. |
void |
setGroupStackSegmentLabels(NFVector groupStackSegmentLabels)
Set the labels to be displayed in the legend for segments of a stack in GROUPSTACK mode. |
void |
setOrientation(int orientation)
Set bar orientation, either VERTICAL (default) or HORIZONTAL. |
void |
setShowGroupStackLabels(boolean showGroupStackLabels)
Set whether the group stack labels should be displayed when in GROUPSTACK mode. |
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.barset.NFAbstractBarchart |
addBarSet, getBarActiveLabels, getBarBorder, getBarSeries, getBarValueLabel, getBarValueLabelRegion, getBarWidth, getDataLabels, getStackDisplayOrder, getStackType, getZAxisLabels, setBarActiveLabels, setBarBorder, setBarSeries, setBarValueLabel, setBarValueLabelRegion, setBarWidth, setDataLabels, setStackDisplayOrder, setStackType, setZAxisLabels |
| 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 NFBarchart()
public NFBarchart(javax.swing.JPanel panel)
panel - Panel to draw chart on.public NFBarchart(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 NFBarchart(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 NFGraphnetcharts.pro.common.NFGraphpublic void setOrientation(int orientation)
If the value passed is not a valid format type, VERTICAL will be used.
orientation - One of HORIZONTAL, VERTICALpublic int getOrientation()
HORIZONTAL, VERTICALpublic void setBarchartType(int type)
If the value passed is not a valid barchart type, GROUP will be used.
type - One of GROUP, STACK, or ROWSpublic int getBarchartType()
public void setDepth(int depth)
depth - 3D shadow depthpublic int getDepth()
public void setShowGroupStackLabels(boolean showGroupStackLabels)
showGroupStackLabels - true if the labels should be shownpublic boolean getShowGroupStackLabels()
public void setGroupStackLabels(NFVector groupStackLabels)
public NFVector getGroupStackLabels()
public void setGroupStackSegmentLabels(NFVector groupStackSegmentLabels)
public NFVector getGroupStackSegmentLabels()
public int getType()
getType in class NFGraphnetcharts.pro.charts.bar.NFGraph.BAR
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in class NFAbstractBarchartpublic void writeChart(java.lang.StringBuffer sb)
writeChart in class NFAbstractBarchartpublic void resetState()
resetState in class NFAbstractBarchart
|
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 |