|
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.pareto.NFParetochart
public class 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 |
static int |
LINE_ANIMATION_STYLE_BEND
Line animation style bend |
static int |
LINE_ANIMATION_STYLE_FADE
Line animation style fade |
static int |
LINE_ANIMATION_STYLE_NONE
No line animation style |
static int |
LINE_SYMBOL_ANIMATION_STYLE_FADE
Line symbol animation style fade |
static int |
LINE_SYMBOL_ANIMATION_STYLE_NONE
No line symbol animation style |
static int |
LINE_SYMBOL_ANIMATION_STYLE_SCALE
Line symbol animation style scale |
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 |
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. |
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[] |
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 |
getLineAnimationStyle()
Get the line animation style. |
int |
getLineDepth()
Get 3D Depth for lines |
NFDropShadow |
getLineDropShadow()
Get the drop shadow for the lines |
boolean |
getLineLabelsEnabled()
Get whether or not popups over lines are enabled. |
int |
getLineSymbolAnimationStyle()
Get the line symbol animation style. |
NFSpotlightSeries |
getLineSymbolSpotlightSeries()
Get the line symbol spotlight series. |
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. |
boolean |
isDataLegendEnabled()
Get whether the data legend is enabled or not. |
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 |
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 |
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 |
setLineAnimationStyle(int style)
Set the line animation style. |
void |
setLineDepth(int lineDepth)
Set 3D Depth for lines |
void |
setLineDropShadow(NFDropShadow lineDropShadow)
Set the drop shadow for the lines |
void |
setLineLabelsEnabled(boolean lineLabelsEnabled)
Set enable popup labels over lines. |
void |
setLineSymbolAnimationStyle(int style)
Set the line symbol animation style. |
void |
setLineSymbolSpotlightSeries(NFSpotlightSeries lineSymbolSpotlightSeries)
Set the line symbol spotlight series. |
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.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 DRAWBAR
public static final int DRAWLINE
public static final int DRAWFILL
public static final int LINE_SYMBOL_ANIMATION_STYLE_NONE
public static final int LINE_SYMBOL_ANIMATION_STYLE_SCALE
public static final int LINE_SYMBOL_ANIMATION_STYLE_FADE
public static final int LINE_ANIMATION_STYLE_NONE
public static final int LINE_ANIMATION_STYLE_BEND
public static final int LINE_ANIMATION_STYLE_FADE
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 NFGraph
public int getType()
getType
in class NFGraph
netcharts.pro.common.NFGraph.PARETO
public 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, CENTER
public 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 setLineSymbolAnimationStyle(int style)
If the value passed is not a valid line symbol animation style, LINE_SYMBOL_ANIMATION_STYLE_NONE will be used.
style
- One of LINE_SYMBOL_ANIMATION_STYLE_NONE (default), LINE_SYMBOL_ANIMATION_STYLE_SCALE or LINE_SYMBOL_ANIMATION_STYLE_FADE
public int getLineSymbolAnimationStyle()
LINE_SYMBOL_ANIMATION_STYLE_NONE (default), LINE_SYMBOL_ANIMATION_STYLE_SCALE or LINE_SYMBOL_ANIMATION_STYLE_FADE
public void setLineAnimationStyle(int style)
If the value passed is not a valid line animation style, LINE_ANIMATION_STYLE_NONE will be used.
style
- One of LINE_ANIMATION_STYLE_NONE (default), LINE_ANIMATION_STYLE_BEND or LINE_ANIMATION_STYLE_FADE
public int getLineAnimationStyle()
LINE_ANIMATION_STYLE_NONE (default), LINE_ANIMATION_STYLE_BEND or LINE_ANIMATION_STYLE_FADE
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 order
NFParamException
public 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 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 void setLineDropShadow(NFDropShadow lineDropShadow)
lineDropShadow
- The drop shadow to use under the linespublic NFDropShadow getLineDropShadow()
public void setLineSymbolSpotlightSeries(NFSpotlightSeries lineSymbolSpotlightSeries)
lineSymbolSpotlightSeries
- The series of line symbol spotlightspublic NFSpotlightSeries getLineSymbolSpotlightSeries()
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
writeExternal
in class NFAbstractBarchart
java.io.IOException
public void writeChart(java.lang.StringBuffer sb)
writeChart
in class NFAbstractBarchart
public void resetState()
resetState
in class NFAbstractBarchart
|
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 |