|
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.circular.NFSizedChart
netcharts.pro.charts.pie.NFAbstractPiechart
netcharts.pro.charts.pie.NFPiechart
public class NFPiechart
Represents a pie chart. Provides the ability to configure the chart via object manipulation or directly from CDL.
Field Summary |
---|
Fields inherited from class netcharts.pro.charts.pie.NFAbstractPiechart |
---|
SLICE_ANIMATION_STYLE_FADE, SLICE_ANIMATION_STYLE_GROW, SLICE_ANIMATION_STYLE_NONE |
Fields inherited from class netcharts.pro.common.circular.NFSizedChart |
---|
SIZE_MAX_HEIGHT_DEFAULT, SIZE_MAX_WIDTH_DEFAULT, SIZE_MIN_HEIGHT_DEFAULT, SIZE_MIN_WIDTH_DEFAULT |
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 | |
---|---|
NFPiechart()
Constructs a default chart object. |
|
NFPiechart(javax.swing.JPanel panel)
Constructs a chart object on the given JPanel. |
|
NFPiechart(javax.swing.JPanel panel,
java.util.Properties initProperties)
Constructs a chart object on the given JPanel. |
|
NFPiechart(java.util.Properties initProperties)
Constructs a chart object on the given JPanel. |
Method Summary | |
---|---|
NFVector |
getActiveLabels()
Get active labels |
int |
getAngle()
Get starting angle |
NFVector |
getDataSet()
Get data set |
java.lang.String |
getDefaultData()
Gets the default data - used to initialize IDE editors |
NFVector |
getSlicePos()
Get slice positions |
int |
getType()
Gets the type of this chart. |
void |
resetState()
Resets all of the parameter values to their initial state. |
void |
setActiveLabels(NFVector activeLabels)
Set active labels |
void |
setAngle(int angle)
Set starting angle |
void |
setDataSet(NFVector dataSet)
Set data set |
void |
setSlicePos(NFVector slicePos)
Set slice positions |
void |
writeChart(java.lang.StringBuffer sb)
Writes this chart into a string buffer |
Methods inherited from class netcharts.pro.common.circular.NFSizedChart |
---|
getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NFPiechart()
public NFPiechart(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 NFPiechart(javax.swing.JPanel panel)
panel
- Panel to draw chart on.public NFPiechart(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 setAngle(int angle)
angle
- In degrees 0-359public int getAngle()
public void setDataSet(NFVector dataSet) throws NFParamException
input
- A NFVector of numeric data
NFParamException
public NFVector getDataSet()
public void setSlicePos(NFVector slicePos) throws NFParamException
input
- A NFVector of numeric values corresponding to each
slice position.
NFParamException
public NFVector getSlicePos()
public void setActiveLabels(NFVector activeLabels) throws NFParamException
input
- A NFVector of NFActiveLabels corresponding to each
slice.
NFParamException
public NFVector getActiveLabels()
public java.lang.String getDefaultData()
getDefaultData
in class NFGraph
public int getType()
getType
in class NFGraph
netcharts.pro.charts.pie.NFGraph.PIE
public void writeChart(java.lang.StringBuffer sb)
writeChart
in class NFAbstractPiechart
public void resetState()
resetState
in class NFAbstractPiechart
|
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 |