|
NetCharts Pro | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnetcharts.pro.common.NFGraph
netcharts.pro.common.zoomable.NFZoomableChart
netcharts.pro.common.rectangular.NFDataChart
netcharts.pro.common.barset.NFAbstractBarchart
netcharts.pro.charts.bar.NFAbstractGroupStackableBarchart
netcharts.pro.charts.bar.NFBarchart
public class NFBarchart
Represents a bar chart. Provides the ability to configure the chart via object manipulation or directly from CDL.
| Field Summary | |
|---|---|
static java.util.Hashtable |
connectorTypeMap
stacked barchart connector type hashtable |
static int |
FILL
Connector type fill |
static int |
LINE
Connector type line |
static int |
OFF
Connector type off |
| 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, 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 | |
|---|---|
NFGridBackground |
getDataLegendGridBackground()
Get the data legend grid background. |
NFGridLine |
getDataLegendGridLine()
Get the data legend grid line. |
java.lang.String |
getDefaultData()
Returns a string of default data |
int |
getStackedBarConnector()
Get stacked bar connector type, either OFF (default), LINE or FILL. |
int |
getType()
Gets the chart type. |
boolean |
isDataLegendEnabled()
Get whether the data legend is enabled or not. |
void |
resetState()
Resets all of the parameter values to their initial state. |
void |
setDataLegendEnabled(boolean dataLegendEnabled)
Set whether the data legend is enabled or not. |
void |
setDataLegendGridBackground(NFGridBackground dataLegendGridBackground)
Set the data legend grid background. |
void |
setDataLegendGridLine(NFGridLine dataLegendGridLine)
Set the data legend grid line. |
void |
setStackedBarConnector(int type)
Set stacked bar connector type, either OFF (default), LINE or FILL. |
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.charts.bar.NFAbstractGroupStackableBarchart |
|---|
getBarchartType, getDepth, getGroupStackLabels, getGroupStackSegmentLabels, getOrientation, getShowGroupStackLabels, setBarchartType, setDepth, setGroupStackLabels, setGroupStackSegmentLabels, setOrientation, setShowGroupStackLabels |
| Methods inherited from class netcharts.pro.common.rectangular.NFDataChart |
|---|
addGrid, getAutoscalePad, getAxesSizes, getAxisThickness, getBottomAxis, getBottomAxisSeries, getGrid, getGridAnimationStyle, getGridDepth, getGridSeries, getLeftAxis, getLeftAxisSeries, getNoteSeriesDrawnBeforeData, getRightAxis, getRightAxisSeries, getTopAxis, getTopAxisSeries, getXAxis, getYAxis, setAutoscalePad, setAxesSizes, setAxisThickness, setBottomAxis, setBottomAxisSeries, setGrid, setGridAnimationStyle, setGridDepth, setGridSeries, setLeftAxis, setLeftAxisSeries, setNoteSeriesDrawnBeforeData, 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 java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int OFF
public static final int LINE
public static final int FILL
public static java.util.Hashtable connectorTypeMap
| 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 void setStackedBarConnector(int type)
If the value passed is not a valid barchart type, OFF will be used.
type - One of OFF, LINE or FILLpublic int getStackedBarConnector()
public boolean isDataLegendEnabled()
public void setDataLegendEnabled(boolean dataLegendEnabled)
dataLegendEnabled - Whether the data legend is enabled or not.public NFGridBackground getDataLegendGridBackground()
public void setDataLegendGridBackground(NFGridBackground dataLegendGridBackground)
dataLegendGridBackground - the data legend grid backgroundpublic NFGridLine getDataLegendGridLine()
public void setDataLegendGridLine(NFGridLine dataLegendGridLine)
dataLegendGridLine - the data legend grid linepublic java.lang.String getDefaultData()
getDefaultData in class NFGraphpublic int getType()
getType in class NFGraphnetcharts.pro.charts.bar.NFGraph.BAR
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.ExternalizablewriteExternal in class NFAbstractBarchartjava.io.IOExceptionpublic void writeChart(java.lang.StringBuffer sb)
writeChart in class NFAbstractGroupStackableBarchartpublic void resetState()
resetState in class NFAbstractGroupStackableBarchart
|
NetCharts Pro | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| Visual Mining, Inc. | Copyright © Visual Mining, Inc. 1996 - 2018 |
Last Modified: Jan 7, 2018 |