NetCharts Pro

netcharts.pro.charts.bar
Class NFAbstractGroupStackableBarchart

java.lang.Object
  extended by netcharts.pro.common.NFGraph
      extended by netcharts.pro.common.zoomable.NFZoomableChart
          extended by netcharts.pro.common.rectangular.NFDataChart
              extended by netcharts.pro.common.barset.NFAbstractBarchart
                  extended by netcharts.pro.charts.bar.NFAbstractGroupStackableBarchart
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable, NFDragObserver, NFDwellObserver, NFGraphObserver, NFScrollObserver
Direct Known Subclasses:
NFBarchart, NFHistogramchart

public abstract class NFAbstractGroupStackableBarchart
extends NFAbstractBarchart

See Also:
Serialized Form

Field Summary
 
Fields inherited from class netcharts.pro.common.barset.NFAbstractBarchart
BAR_ANIMATION_STYLE_FADE, BAR_ANIMATION_STYLE_GROW, BAR_ANIMATION_STYLE_NONE, barchartTypeMap, BOTTOMUP, GROUP, GROUPSTACK, HORIZONTAL, ITEM, orientationMap, ROWS, STACK, stackDisplayOrderMap, stackTypeMap, TOPDOWN, TOTAL, VERTICAL
 
Fields inherited from class netcharts.pro.common.rectangular.NFDataChart
GRID_ANIMATION_STYLE_FADE, GRID_ANIMATION_STYLE_NONE
 
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, BAR3D, BOX, BUBBLE, COMBO, DIAGRAM, DIAL, DWELL_ANIMATION_STYLE_HIGHLIGHT, DWELL_ANIMATION_STYLE_NONE, FADE, HEATMAP, HIGHLIGHT, HISTOGRAM, LABEL_ANIMATION_STYLE_FADE, LABEL_ANIMATION_STYLE_NONE, LEGEND_ANIMATION_STYLE_FADE, LEGEND_ANIMATION_STYLE_NONE, LEGEND_DWELL_ANIMATION_STYLE_HIGHLIGHT, LEGEND_DWELL_ANIMATION_STYLE_NONE, LINE, MULTIPIE, PARETO, PIE, POLAR, RADAR, STOCK, STRIP, TIME, XY
 
Constructor Summary
NFAbstractGroupStackableBarchart()
          Constructs a default chart object.
NFAbstractGroupStackableBarchart(javax.swing.JPanel panel)
          Constructs a chart object on the given JPanel.
NFAbstractGroupStackableBarchart(javax.swing.JPanel panel, java.util.Properties initProperties)
          Constructs a chart object on the given JPanel with the specified properties.
NFAbstractGroupStackableBarchart(java.util.Properties initProperties)
          Constructs a chart object with the specified properties.
 
Method Summary
 int getBarchartType()
          Get barchart type, either GROUP (default), STACK, GROUPSTACK or ROWS.
 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.
 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
 
Methods inherited from class netcharts.pro.common.barset.NFAbstractBarchart
addBarSet, getBarActiveLabels, getBarAnimationStyle, getBarBorder, getBarCorners, getBarDropShadow, getBarHighlightSeries, getBarSeries, getBarSpotlightSeries, getBarValueLabel, getBarValueLabelRegion, getBarWidth, getBarWidths, getDataLabels, getStackDisplayOrder, getStackType, getZAxisLabels, setBarActiveLabels, setBarAnimationStyle, setBarBorder, setBarCorners, setBarDropShadow, setBarHighlightSeries, setBarSeries, setBarSpotlightSeries, setBarValueLabel, setBarValueLabelRegion, setBarWidth, setBarWidths, setDataLabels, setStackDisplayOrder, setStackType, setZAxisLabels, writeExternal
 
Methods inherited from class netcharts.pro.common.rectangular.NFDataChart
addGrid, getAutoscalePad, getAxesSizes, getAxisThickness, getBottomAxis, getBottomAxisSeries, getGrid, getGridAnimationStyle, getGridDepth, getGridSeries, getLeftAxis, getLeftAxisSeries, getRightAxis, getRightAxisSeries, getTopAxis, getTopAxisSeries, getXAxis, getYAxis, setAutoscalePad, setAxesSizes, setAxisThickness, setBottomAxis, setBottomAxisSeries, setGrid, setGridAnimationStyle, 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, zoom
 
Methods inherited from class netcharts.pro.common.NFGraph
addChartActionListener, addGraphObserver, addNote, addPropertyChangeListener, display, dwellDisplay, dwellPress, finalize, getActiveClicks, getAlwaysUpdate, getAntiAlias, getAntiAliasMode, getBackgroundActiveLabel, getBackgroundFillPattern, getBackgroundRegion, getBuildAnimationEnabled, getCDL, getChartElementSpacing, getChartName, getChartSize, getColorTable, getDataActiveLabelsEnabled, getDefaultData, getDwell, getDwellAnimation, getDwellAnimationHighlight, getDwellAnimationStyle, getDwellOffset, getErrors, getFooter, getGraph, getGraphFromTemplate, getGraphFromTemplate, getGraphFromTemplate, getGraphFromTemplate, getGraphFromTemplate, getGraphFromTemplate, getGraphFromTemplate, getGraphFromTemplate, getGraphGraphics, getHeader, getLabelAnimationStyle, getLeftTitle, getLegend, getLegendAnimationStyle, getLegendDwellAnimation, getLegendDwellAnimationHighlight, getLegendDwellAnimationStyle, getLicenseActivationKey, getMetaData, getMinimumSize, getNoteSeries, getNumberFormat, getNumErrors, getPanel, getPlotArea, getPreferredSize, getRightTitle, getRootPanel, getRubberband, getScaleFactor, getTitleSpacing, getToggleDataVisibility, getType, getVersion, graphDrawn, graphTooSmall, initializeFromFile, initializeFromString, initializeFromURL, loadFromTemplate, loadFromTemplate, loadFromTemplate, loadLicenseFile, paint, postDrag, postScroll, preDrag, preScroll, readExternal, removeChartActionListener, removeGraphObserver, removePropertyChangeListener, sendData, sendData, sendData, sendData, sendUpdate, set, set, set, set, set, set, setActiveClicks, setAlwaysUpdate, setAntiAlias, setAntiAliasMode, setBackgroundActiveLabel, setBackgroundFillPattern, setBackgroundRegion, setBuildAnimationEnabled, setChartElementSpacing, setChartName, setChartSize, setColorTable, setDataActiveLabelsEnabled, setDocumentBase, setDwell, setDwellAnimation, setDwellAnimationHighlight, setDwellAnimationStyle, setDwellOffset, setFooter, setHeader, setLabelAnimationStyle, setLeftTitle, setLegend, setLegendAnimationStyle, setLegendDwellAnimation, setLegendDwellAnimationHighlight, setLegendDwellAnimationStyle, setLicenseKey, setLicenseKey, setLicenseLocation, setMetaData, setNoteSeries, setNumberFormat, setParentApplet, setPlotArea, setRightTitle, setRubberband, setScaleFactor, setSize, setSize, setTitleSpacing, setToggleDataVisibility, start, stop, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NFAbstractGroupStackableBarchart

public NFAbstractGroupStackableBarchart()
Constructs a default chart object.


NFAbstractGroupStackableBarchart

public NFAbstractGroupStackableBarchart(javax.swing.JPanel panel)
Constructs a chart object on the given JPanel.

Parameters:
panel - JPanel to draw chart on.

NFAbstractGroupStackableBarchart

public NFAbstractGroupStackableBarchart(java.util.Properties initProperties)
Constructs a chart object with the specified properties.

Parameters:
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.

NFAbstractGroupStackableBarchart

public NFAbstractGroupStackableBarchart(javax.swing.JPanel panel,
                                        java.util.Properties initProperties)
Constructs a chart object on the given JPanel with the specified properties.

Parameters:
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

setOrientation

public void setOrientation(int orientation)
Set bar orientation, either VERTICAL (default) or HORIZONTAL.

If the value passed is not a valid format type, VERTICAL will be used.

Parameters:
orientation - One of HORIZONTAL, VERTICAL

getOrientation

public int getOrientation()
Get bar orientation, either VERTICAL (default) or HORIZONTAL

Returns:
orientation One of HORIZONTAL, VERTICAL

setBarchartType

public void setBarchartType(int type)
Set barchart type, either GROUP (default), STACK, GROUPSTACK or ROWS.

If the value passed is not a valid barchart type, GROUP will be used.

Parameters:
type - One of GROUP, STACK, or ROWS

getBarchartType

public int getBarchartType()
Get barchart type, either GROUP (default), STACK, GROUPSTACK or ROWS.

Returns:
type One of GROUP, STACK, GROUPSTACK or ROWS

setDepth

public void setDepth(int depth)
Set 3DDepth

Parameters:
depth - 3D shadow depth

getDepth

public int getDepth()
Get 3DDepth

Returns:
depth 3D shadow depth

setShowGroupStackLabels

public void setShowGroupStackLabels(boolean showGroupStackLabels)
Set whether the group stack labels should be displayed when in GROUPSTACK mode.

Parameters:
showGroupStackLabels - true if the labels should be shown

getShowGroupStackLabels

public boolean getShowGroupStackLabels()
Get whether the group stack labels should be displayed when in GROUPSTACK mode.

Returns:
true if the labels should be shown, false otherwise

setGroupStackLabels

public void setGroupStackLabels(NFVector groupStackLabels)
Set the labels to be displayed under each stack in a GROUPSTACK chart. The vector contains a list of string values.


getGroupStackLabels

public NFVector getGroupStackLabels()
Get the labels to be displayed under each stack in a GROUPSTACK chart. The vector contains a list of string values.

Returns:
groupStackLabels

setGroupStackSegmentLabels

public void setGroupStackSegmentLabels(NFVector groupStackSegmentLabels)
Set the labels to be displayed in the legend for segments of a stack in GROUPSTACK mode. The vector contains a list of string values.


getGroupStackSegmentLabels

public NFVector getGroupStackSegmentLabels()
Get the labels to be displayed in the legend for segments of a stack in GROUPSTACK mode. The vector contains a list of string values.

Returns:
groupStackSegmentLabels

writeChart

public void writeChart(java.lang.StringBuffer sb)
Writes this chart into a string buffer

Overrides:
writeChart in class NFAbstractBarchart

resetState

public void resetState()
Resets all of the parameter values to their initial state.

Overrides:
resetState in class NFAbstractBarchart

NetCharts Pro


Visual Mining, Inc.
2099 Gaither Rd.
Suite 220
Rockville, MD 20850
800.308.0731
301.947.8293 FAX

Copyright © Visual Mining, Inc. 1996 - 2011
All Rights Reserved.

NetCharts Pro TM is a registered trademark of Visual Mining, Inc. Other brands and their products are trademarks of their respective holders.

Last Modified: Jun 28, 2011