|
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
Represents an abstract bar chart. Provides the ability to configure the chart via object manipulation or directly from CDL.
| Field Summary | |
static java.util.Hashtable |
barchartTypeMap
barchart type hashtable |
static int |
BOTTOMUP
Stack bar sets from the bottom up when barchart type is stack |
static int |
GROUP
Group barchart type |
static int |
GROUPSTACK
Stacked/Grouped barchart type |
static int |
HORIZONTAL
Horizontal orientation |
static int |
ITEM
Discrete value shown on popup when barchart type is stack |
static java.util.Hashtable |
orientationMap
orientation hashtable |
static int |
ROWS
Row barchart type |
static int |
STACK
Stacked barchart type |
static java.util.Hashtable |
stackDisplayOrderMap
stack display order hashtable |
static java.util.Hashtable |
stackTypeMap
barchart stack type hashtable |
static int |
TOPDOWN
Stack bar sets from the top down when barchart type is stack |
static int |
TOTAL
Total value shown on popup when barchart type is stack |
static int |
VERTICAL
Vertical orientation |
| 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 | |
NFAbstractBarchart()
Constructs a default chart object. |
|
NFAbstractBarchart(javax.swing.JPanel panel)
Constructs a chart object on the given JPanel. |
|
NFAbstractBarchart(javax.swing.JPanel panel,
java.util.Properties initProperties)
Constructs a chart object on the given JPanel with the specified properties. |
|
NFAbstractBarchart(java.util.Properties initProperties)
Constructs a chart object with the specified properties. |
|
| Method Summary | |
void |
addBarSet(NFBarSet barSet)
Adds a bar set to the current list of barsets. |
NFVector |
getBarActiveLabels()
Get active labels to be associated with each data label. |
NFLine |
getBarBorder()
Returns the bar border for this bar chart |
NFBarSeries |
getBarSeries()
Get the bar series. |
NFModalLabel |
getBarValueLabel()
Get the text style to use for labeling bars in this barset. |
NFRegion |
getBarValueLabelRegion()
Get the text background style to use for labeling bars in this barset. |
int |
getBarWidth()
Get bar width. |
NFVector |
getDataLabels()
Get the labels to be displayed under each bar. |
int |
getStackDisplayOrder()
Get barchart stack display order, either BOTTOMUP or TOPDOWN. |
int |
getStackType()
Get barchart stack type, either TOTAL or ITEM. |
NFModalLabel |
getZAxisLabels()
Returns the text style and value to use for labeling the Z Axis. |
void |
resetState()
Resets all of the parameter values to their initial state. |
void |
setBarActiveLabels(NFVector barActiveLabels)
Set active labels to be associated with each data label. |
void |
setBarBorder(NFLine barBorder)
Set border for this bar chart |
void |
setBarSeries(NFBarSeries barSeries)
Set the bar series. |
void |
setBarValueLabel(NFModalLabel barValueLabel)
Set the text style to use for labeling bars in this barset. |
void |
setBarValueLabelRegion(NFRegion barValueRegion)
Set the text background style to use for labeling bars in this barset. |
void |
setBarWidth(int barWidth)
Set bar width. |
void |
setDataLabels(NFVector dataLabels)
Set the labels to be displayed under each bar. |
void |
setStackDisplayOrder(int stackDisplayOrder)
Set barchart stack display order, either BOTTOMUP or TOPDOWN. |
void |
setStackType(int stackType)
Set barchart stack type, either TOTAL or ITEM. |
void |
setZAxisLabels(NFModalLabel zAxisLabel)
Set the text style and value to use for labeling the Z Axis. |
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.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 |
| Field Detail |
public static final int HORIZONTAL
public static final int VERTICAL
public static final int ROWS
public static final int STACK
public static final int GROUP
public static final int GROUPSTACK
public static final int TOTAL
public static final int ITEM
public static final int BOTTOMUP
public static final int TOPDOWN
public static java.util.Hashtable stackDisplayOrderMap
public static java.util.Hashtable orientationMap
public static java.util.Hashtable barchartTypeMap
public static java.util.Hashtable stackTypeMap
| Constructor Detail |
public NFAbstractBarchart()
public NFAbstractBarchart(javax.swing.JPanel panel)
panel - JPanel to draw chart on.public NFAbstractBarchart(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 NFAbstractBarchart(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 void setBarBorder(NFLine barBorder)
barBorder - The line style to use for the bar borderpublic NFLine getBarBorder()
public void setBarWidth(int barWidth)
barWidth - public int getBarWidth()
public void setStackType(int stackType)
If the value passed is not a valid barchart type, ITEM will be used.
stackType - One of ITEM, TOTALpublic int getStackType()
ITEM, TOTALpublic void setStackDisplayOrder(int stackDisplayOrder)
stackDisplayOrder - One of BOTTOMUP, TOPDOWNpublic int getStackDisplayOrder()
BOTTOMUP, TOPDOWNpublic void setDataLabels(NFVector dataLabels)
public NFVector getDataLabels()
public void setBarActiveLabels(NFVector barActiveLabels)
barActiveLabels - Vector of NFActiveLabelspublic NFVector getBarActiveLabels()
public void addBarSet(NFBarSet barSet)
barSet - The barset to add.public void setBarSeries(NFBarSeries barSeries)
NFBarchart chart = new NFBarchart();
NFBarSeries bs = chart.getBarSeries();
NFBarSet set = (NFBarSet)bs.elementAt(0);
// Set some of the properties on the NFBarSet
...
bs.setElementAt(set, 0);
chart.setBarSeries(bs);
barSeries - public NFBarSeries getBarSeries()
NFBarchart chart = new NFBarchart();
NFBarSeries bs = chart.getBarSeries();
NFBarSet set = (NFBarSet)bs.elementAt(0);
// Set some of the properties on the NFBarSet
...
bs.setElementAt(set, 0);
chart.setBarSeries(bs);
public void setBarValueLabel(NFModalLabel barValueLabel)
barValueLabel - Text style.public NFModalLabel getBarValueLabel()
public void setBarValueLabelRegion(NFRegion barValueRegion)
barValueRegion - Text background style.public NFRegion getBarValueLabelRegion()
public void setZAxisLabels(NFModalLabel zAxisLabel)
zAxisLabel - Text style and valuepublic NFModalLabel getZAxisLabels()
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in class NFDataChartpublic void writeChart(java.lang.StringBuffer sb)
writeChart in class NFDataChartpublic void resetState()
resetState in class NFDataChart
|
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 |