|
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.histogram.NFHistogramchart
public class NFHistogramchart
Represents a histogram chart. Provides the ability to configure the chart via object manipulation or directly from CDL.
Field Summary | |
---|---|
static int |
BYNUMBER
A description of the Histogram data distribution. |
static java.util.Hashtable |
histogramTypeMap
Histogram chart type hashtable |
static int |
PERCENTAGE
A description of the Histogram data distribution. |
static int |
PROBABILITY
A description of the Histogram data distribution. |
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 | |
---|---|
NFHistogramchart()
Constructs a default chart object. |
|
NFHistogramchart(javax.swing.JPanel panel)
Constructs a chart object on the given JPanel. |
|
NFHistogramchart(javax.swing.JPanel panel,
java.util.Properties initProperties)
Constructs a chart object on the given JPanel. |
|
NFHistogramchart(java.util.Properties initProperties)
Constructs a chart object on the given JPanel. |
Method Summary | |
---|---|
NFVector |
getDataLabels()
Get the labels to be displayed under each bar. |
java.lang.String |
getDefaultData()
Returns a string of default data |
NFHistogramBin |
getHistogramBin()
Returns the histogram bin for this histogram chart |
NFHistogramScale |
getHistogramScale()
Returns the histogram scale for this histogram chart |
int |
getHistogramType()
Get histogram chart type, either BYNUMBER (default), PERCENTAGE, or PROBABILITY. |
int |
getType()
Gets the chart type. |
void |
resetState()
Resets all of the parameter values to their initial state. |
void |
setDataLabels(NFVector dataLabels)
Set the labels to be displayed under each bar. |
void |
setHistogramBin(NFHistogramBin bin)
Set histogram bin for this histogram chart |
void |
setHistogramScale(NFHistogramScale scale)
Set histogram scale for this histogram chart |
void |
setHistogramType(int histogramType)
Set histogram chart type, either BYNUMBER (default), PERCENTAGE, or PROBABILITY. |
void |
writeChart(java.lang.StringBuffer sb)
Writes this chart into a string buffer |
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, 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 java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int BYNUMBER
public static final int PERCENTAGE
public static final int PROBABILITY
public static java.util.Hashtable histogramTypeMap
Constructor Detail |
---|
public NFHistogramchart()
public NFHistogramchart(javax.swing.JPanel panel)
panel
- Panel to draw chart on.public NFHistogramchart(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 NFHistogramchart(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 NFGraph
public int getType()
getType
in class NFGraph
netcharts.pro.charts.bar.NFGraph.BAR
public void setHistogramType(int histogramType)
If the value passed is not a valid histogram chart type, BYNUMBER will be used.
histogramType
- either BYNUMBER, PERCENTAGE, or PROBABILITYpublic int getHistogramType()
public void setHistogramBin(NFHistogramBin bin)
bin
- the histogram bin to usepublic NFHistogramBin getHistogramBin()
public void setHistogramScale(NFHistogramScale scale)
scale
- the histogram scale to usepublic NFHistogramScale getHistogramScale()
public void setDataLabels(NFVector dataLabels)
NFAbstractBarchart
setDataLabels
in class NFAbstractBarchart
public NFVector getDataLabels()
NFAbstractBarchart
getDataLabels
in class NFAbstractBarchart
public void writeChart(java.lang.StringBuffer sb)
writeChart
in class NFAbstractGroupStackableBarchart
public 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 - 2011 |
Last Modified: Jun 28, 2011 |