|
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.zoomable.NFZoomableChart
|
+--netcharts.pro.common.rectangular.NFDataChart
|
+--netcharts.pro.common.barset.NFAbstractBarchart
|
+--netcharts.pro.charts.pareto.NFParetochart
Represents a Pareto chart. Provides the ability to configure the chart via object manipulation or directly from CDL.
| Field Summary | |
static int |
DRAWBAR
Draw bar |
static int |
DRAWFILL
Draw fill |
static int |
DRAWLINE
Draw line |
| Fields inherited from class netcharts.pro.common.barset.NFAbstractBarchart |
barchartTypeMap, BOTTOMUP, GROUP, GROUPSTACK, HORIZONTAL, ITEM, orientationMap, ROWS, STACK, stackDisplayOrderMap, stackTypeMap, TOPDOWN, TOTAL, VERTICAL |
| 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, BOX, BUBBLE, COMBO, DIAGRAM, DIAL, HEATMAP, LINE, MULTIPIE, PARETO, PIE, POLAR, RADAR, STOCK, STRIP, TIME, XY |
| Fields inherited from interface netcharts.pro.common.lineset.NFValueLabelConstants |
BOTTOM, BOTTOMLEFT, BOTTOMRIGHT, CENTER, LEFT, NONE, RIGHT, TOP, TOPLEFT, TOPRIGHT |
| Constructor Summary | |
NFParetochart()
Constructs a default chart object. |
|
NFParetochart(javax.swing.JPanel panel)
Constructs a chart object on the given JPanel. |
|
NFParetochart(javax.swing.JPanel panel,
java.util.Properties initProperties)
Constructs a chart object on the given JPanel with the specified properties. |
|
NFParetochart(java.util.Properties initProperties)
Constructs a chart object with the specified properties. |
|
| Method Summary | |
int |
getBarchartType()
Get the bar chart type. |
int |
getBarDepth()
Get 3D Depth for bars |
java.lang.String |
getCDLCumulativeLineValueLabelStyle()
Get the cumulative line value label style as a CDL string. |
java.lang.String |
getCumulativeLineSetName()
Get the cumulative line set name. |
NFLineSetLine |
getCumulativeLineStyle()
Get the cumulative line style attributes |
NFLineSetSymbol |
getCumulativeLineSymbol()
Get the cumulative line symbol attributes |
NFModalLabel |
getCumulativeLineValueLabel()
Get the text style to use for cumulative line labels. |
NFRegion |
getCumulativeLineValueLabelRegion()
Get the text background style to use for cumulative line labels. |
int |
getCumulativeLineValueLabelStyle()
Get the type of text labeling for the cumulative line set. |
java.lang.String |
getDefaultData()
Returns a string of default data |
int[] |
getDrawOrder()
Get the draw order. |
java.lang.String |
getEightyLineSetName()
Get name for the 80% line. |
NFLineSetLine |
getEightyTwentyLineStyle()
Get the 80/20 line style attributes |
NFLineSetSymbol |
getEightyTwentyLineSymbol()
Get the 80/20 line symbol attributes |
int |
getLineDepth()
Get 3D Depth for lines |
boolean |
getLineLabelsEnabled()
Get whether or not popups over lines are enabled. |
int |
getLineZWidth()
Get the lineZWidth. |
int |
getOrientation()
Get the bar orientation. |
boolean |
getShowEightyTwentyLines()
Get whether the 80/20 lines should be shown on the graph. |
java.lang.String |
getTwentyLineSetName()
Get the name for the 20% line. |
int |
getType()
Gets the chart type. |
void |
resetState()
Resets all of the parameter values to their initial state. |
void |
setBarDepth(int barDepth)
Set 3D Depth for bars |
void |
setCDLCumulativeLineValueLabelStyle(java.lang.String cdl)
Set the cumulative line value label style from a CDL string. |
void |
setCumulativeLineSetName(java.lang.String cumulativeLineSetName)
Set the cumulative line set name. |
void |
setCumulativeLineStyle(NFLineSetLine cumulativeLineStyle)
Set the cumulative line style attributes |
void |
setCumulativeLineSymbol(NFLineSetSymbol cumulativeLineSymbol)
Set the cumulative line symbol attributes |
void |
setCumulativeLineValueLabel(NFModalLabel cumulativeLineValueLabel)
Set the text style to use for cumulative line labels. |
void |
setCumulativeLineValueLabelRegion(NFRegion cumulativeLineValueRegion)
Set the text background style to use for cumulative line labels. |
void |
setCumulativeLineValueLabelStyle(int cumulativeLineValueLabelStyle)
Set the type of text labeling for the cumulative line set. |
void |
setDrawOrder(int[] drawOrder)
Set the draw order. |
void |
setEightyLineSetName(java.lang.String eightyLineSetName)
Set name for the 80% line. |
void |
setEightyTwentyLineStyle(NFLineSetLine eightyTwentyLineStyle)
Set the 80/20 line style attributes |
void |
setEightyTwentyLineSymbol(NFLineSetSymbol eightyTwentyLineSymbol)
Set the 80/20 line symbol attributes |
void |
setLineDepth(int lineDepth)
Set 3D Depth for lines |
void |
setLineLabelsEnabled(boolean lineLabelsEnabled)
Set enable popup labels over lines. |
void |
setLineZWidth(int lineZWidth)
Set the line Z width. |
void |
setShowEightyTwentyLines(boolean showEightyTwentyLines)
Set whether the 80/20 lines should be shown on the graph. |
void |
setTwentyLineSetName(java.lang.String twentyLineSetName)
Set the name for the 20% line. |
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.common.barset.NFAbstractBarchart |
addBarSet, getBarActiveLabels, getBarBorder, getBarSeries, getBarValueLabel, getBarValueLabelRegion, getBarWidth, getDataLabels, getStackDisplayOrder, getStackType, getZAxisLabels, setBarActiveLabels, setBarBorder, setBarSeries, setBarValueLabel, setBarValueLabelRegion, setBarWidth, setDataLabels, setStackDisplayOrder, setStackType, setZAxisLabels |
| Methods inherited from class netcharts.pro.common.rectangular.NFDataChart |
addGrid, getAutoscalePad, getAxesSizes, getAxisThickness, getBottomAxis, getBottomAxisSeries, getGrid, getGridDepth, getGridSeries, getLeftAxis, getLeftAxisSeries, getRightAxis, getRightAxisSeries, getTopAxis, getTopAxisSeries, setAutoscalePad, setAxesSizes, setAxisThickness, setBottomAxis, setBottomAxisSeries, setGrid, 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 |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int DRAWBAR
public static final int DRAWLINE
public static final int DRAWFILL
| Constructor Detail |
public NFParetochart()
public NFParetochart(javax.swing.JPanel panel)
panel - Panel to draw chart on.public NFParetochart(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 NFParetochart(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 NFGraphnetcharts.pro.common.NFGraphpublic int getType()
getType in class NFGraphnetcharts.pro.common.NFGraph.PARETOpublic int getBarchartType()
STACK.public int getOrientation()
VERTICAL.public void setBarDepth(int barDepth)
barDepth - 3D shadow depth for barspublic int getBarDepth()
public void setLineLabelsEnabled(boolean lineLabelsEnabled)
lineLabelsEnabled - When popups will appear over lines of the chart.public boolean getLineLabelsEnabled()
public void setLineDepth(int lineDepth)
lineDepth - 3D shadow depthpublic int getLineDepth()
public void setLineZWidth(int lineZWidth)
lineZWidth - line Z widthpublic int getLineZWidth()
public void setCumulativeLineValueLabel(NFModalLabel cumulativeLineValueLabel)
cumulativeLineValueLabel - text style for cumulative line labelspublic NFModalLabel getCumulativeLineValueLabel()
public void setCumulativeLineValueLabelRegion(NFRegion cumulativeLineValueRegion)
cumulativeLineValueRegion - Text background style.public NFRegion getCumulativeLineValueLabelRegion()
public void setCumulativeLineValueLabelStyle(int cumulativeLineValueLabelStyle)
If the value passed is not a valid line value label style an IllegalArgumentException will be thrown.
cumulativeLineValueLabelStyle - One of
NONE, RIGHT, LEFT, BOTTOM, TOPLEFT, TOPRIGHT, BOTTOMRIGHT, BOTTOMLEFT, CENTERpublic int getCumulativeLineValueLabelStyle()
NONE, RIGHT, LEFT, BOTTOM, TOPLEFT, TOPRIGHT, BOTTOMRIGHT, BOTTOMLEFT, CENTER or BOTTOM if not set.public java.lang.String getCDLCumulativeLineValueLabelStyle()
public void setCDLCumulativeLineValueLabelStyle(java.lang.String cdl)
cumulative - line value label style cdlpublic void setShowEightyTwentyLines(boolean showEightyTwentyLines)
showEightyTwentyLines - true if the 80/20 lines should be shown,
false otherwise.public boolean getShowEightyTwentyLines()
true if the 80/20 lines should be shown,
false otherwise.public void setCumulativeLineStyle(NFLineSetLine cumulativeLineStyle)
cumulativeLineStyle - line style attributespublic NFLineSetLine getCumulativeLineStyle()
public void setCumulativeLineSymbol(NFLineSetSymbol cumulativeLineSymbol)
cumulativeLineSymbol - symbol to be drawn at data point locationspublic NFLineSetSymbol getCumulativeLineSymbol()
public void setCumulativeLineSetName(java.lang.String cumulativeLineSetName)
cumulativeLineSetName - cumulative line set namepublic java.lang.String getCumulativeLineSetName()
public void setEightyTwentyLineStyle(NFLineSetLine eightyTwentyLineStyle)
eightyTwentyLineStyle - 80/20 line style attributespublic NFLineSetLine getEightyTwentyLineStyle()
public void setEightyTwentyLineSymbol(NFLineSetSymbol eightyTwentyLineSymbol)
eightyTwentyLineSymbol - symbol to be drawn at data point locationspublic NFLineSetSymbol getEightyTwentyLineSymbol()
public void setEightyLineSetName(java.lang.String eightyLineSetName)
eightyLineSetName - legend name for the 80% linepublic java.lang.String getEightyLineSetName()
public void setTwentyLineSetName(java.lang.String twentyLineSetName)
twentyLineSetName - legend name for the 20% linepublic java.lang.String getTwentyLineSetName()
public void setDrawOrder(int[] drawOrder)
throws NFParamException
NFParetochart.DRAWBAR, NFParetochart.DRAWLINE or NFParetochart.DRAWFILL.
The objects will be drawn according to their position in the list
(e.g. the first in the list is drawn first).drawOrder - Chart draw orderpublic int[] getDrawOrder()
NFParetochart.DRAWBAR, NFParetochart.DRAWLINE or NFParetochart.DRAWFILL.
The objects will be drawn according to their position in the list
(e.g. the first in the list is drawn first).
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in class NFAbstractBarchartpublic void writeChart(java.lang.StringBuffer sb)
writeChart in class NFAbstractBarchartpublic void resetState()
resetState in class NFAbstractBarchart
|
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 |