|
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.circular.NFSizedChart
|
+--netcharts.pro.charts.pie.NFAbstractPiechart
|
+--netcharts.pro.charts.pie.NFPiechart
Represents a pie chart. Provides the ability to configure the chart via object manipulation or directly from CDL.
| 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, BOX, BUBBLE, COMBO, DIAGRAM, DIAL, HEATMAP, 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 |
getDataLabels()
Get data labels |
NFVector |
getDataSet()
Get data set |
java.lang.String |
getDefaultData()
Gets the default data - used to initialize IDE editors |
NFVector |
getSliceColors()
Get slice colors |
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 |
setDataLabels(NFVector dataLabels)
Set data labels |
void |
setDataSet(NFVector dataSet)
Set data set |
void |
setSliceColors(NFVector sliceColors)
Set slice colors |
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.charts.pie.NFAbstractPiechart |
getDepth, getPieSquare, getSliceBorder, getSliceFillPatterns, getSliceLabel, setDepth, setPieSize, setPieSquare, setSliceBorder, setSliceFillPatterns, setSliceLabel, writeExternal |
| 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 datapublic NFVector getDataSet()
public void setDataLabels(NFVector dataLabels)
throws NFParamException
input - A NFVector of string labels corresponding to each slicepublic NFVector getDataLabels()
public void setSlicePos(NFVector slicePos)
throws NFParamException
input - A NFVector of numeric values corresponding to each
slice position.public NFVector getSlicePos()
public void setActiveLabels(NFVector activeLabels)
throws NFParamException
input - A NFVector of NFActiveLabels corresponding to each
slice.public NFVector getActiveLabels()
public void setSliceColors(NFVector sliceColors)
throws NFParamException
input - A NFVector of Color objects corresponding to each
slice.public NFVector getSliceColors()
public java.lang.String getDefaultData()
getDefaultData in class NFGraphpublic int getType()
getType in class NFGraphnetcharts.pro.charts.pie.NFGraph.PIEpublic void writeChart(java.lang.StringBuffer sb)
writeChart in class NFAbstractPiechartpublic void resetState()
resetState in class NFAbstractPiechart
|
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 |