NetCharts Pro

netcharts.pro.charts.pareto
Class NFParetochart

java.lang.Object
  extended by netcharts.pro.common.NFGraph
      extended by netcharts.pro.common.zoomable.NFZoomableChart
          extended by netcharts.pro.common.rectangular.NFDataChart
              extended by netcharts.pro.common.barset.NFAbstractBarchart
                  extended by netcharts.pro.charts.pareto.NFParetochart
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable, NFDragObserver, NFDwellObserver, NFGraphObserver, NFScrollObserver, NFValueLabelConstants

public class NFParetochart
extends NFAbstractBarchart
implements NFValueLabelConstants

Represents a Pareto chart. Provides the ability to configure the chart via object manipulation or directly from CDL.

See Also:
Serialized Form

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.barset.NFAbstractBarchart
addBarSet, getBarActiveLabels, getBarAnimationStyle, getBarBorder, getBarCorners, getBarDropShadow, getBarHighlightSeries, getBarSeries, getBarSpotlightSeries, getBarValueLabel, getBarValueLabelRegion, getBarWidth, getBarWidths, getDataLabels, getStackDisplayOrder, getStackType, getZAxisLabels, setBarActiveLabels, setBarAnimationStyle, setBarBorder, setBarCorners, setBarDropShadow, setBarHighlightSeries, setBarSeries, setBarSpotlightSeries, setBarValueLabel, setBarValueLabelRegion, setBarWidth, setBarWidths, setDataLabels, setStackDisplayOrder, setStackType, setZAxisLabels
 
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 netcharts.pro.common.NFGraph
addChartActionListener, addGraphObserver, addNote, addPropertyChangeListener, display, dwellDisplay, dwellPress, finalize, getActiveClicks, getAlwaysUpdate, getAntiAlias, getAntiAliasMode, getBackgroundActiveLabel, getBackgroundFillPattern, getBackgroundRegion, getBuildAnimationEnabled, getCDL, getChartElementSpacing, getChartName, getChartSize, getColorTable, getDataActiveLabelsEnabled, getDwell, getDwellAnimation, getDwellAnimationHighlight, getDwellAnimationStyle, getDwellOffset, getErrors, getFooter, getGraph, getGraphFromTemplate, getGraphFromTemplate, getGraphFromTemplate, getGraphFromTemplate, getGraphFromTemplate, getGraphFromTemplate, getGraphFromTemplate, getGraphFromTemplate, getGraphGraphics, getHeader, getLabelAnimationStyle, getLeftTitle, getLegend, getLegendAnimationStyle, getLegendDwellAnimation, getLegendDwellAnimationHighlight, getLegendDwellAnimationStyle, getLicenseActivationKey, getMetaData, getMinimumSize, getNoteSeries, getNumberFormat, getNumErrors, getPanel, getPlotArea, getPreferredSize, getRightTitle, getRootPanel, getRubberband, getScaleFactor, getTitleSpacing, getToggleDataVisibility, getVersion, graphDrawn, graphTooSmall, initializeFromFile, initializeFromString, initializeFromURL, loadFromTemplate, loadFromTemplate, loadFromTemplate, loadLicenseFile, paint, postDrag, postScroll, preDrag, preScroll, readExternal, removeChartActionListener, removeGraphObserver, removePropertyChangeListener, sendData, sendData, sendData, sendData, sendUpdate, set, set, set, set, set, set, setActiveClicks, setAlwaysUpdate, setAntiAlias, setAntiAliasMode, setBackgroundActiveLabel, setBackgroundFillPattern, setBackgroundRegion, setBuildAnimationEnabled, setChartElementSpacing, setChartName, setChartSize, setColorTable, setDataActiveLabelsEnabled, setDocumentBase, setDwell, setDwellAnimation, setDwellAnimationHighlight, setDwellAnimationStyle, setDwellOffset, setFooter, setHeader, setLabelAnimationStyle, setLeftTitle, setLegend, setLegendAnimationStyle, setLegendDwellAnimation, setLegendDwellAnimationHighlight, setLegendDwellAnimationStyle, setLicenseKey, setLicenseKey, setLicenseLocation, setMetaData, setNoteSeries, setNumberFormat, setParentApplet, setPlotArea, setRightTitle, setRubberband, setScaleFactor, setSize, setSize, setTitleSpacing, setToggleDataVisibility, start, stop, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DRAWBAR

public static final int DRAWBAR
Draw bar

See Also:
Constant Field Values

DRAWLINE

public static final int DRAWLINE
Draw line

See Also:
Constant Field Values

DRAWFILL

public static final int DRAWFILL
Draw fill

See Also:
Constant Field Values

LINE_SYMBOL_ANIMATION_STYLE_NONE

public static final int LINE_SYMBOL_ANIMATION_STYLE_NONE
No line symbol animation style

See Also:
Constant Field Values

LINE_SYMBOL_ANIMATION_STYLE_SCALE

public static final int LINE_SYMBOL_ANIMATION_STYLE_SCALE
Line symbol animation style scale

See Also:
Constant Field Values

LINE_SYMBOL_ANIMATION_STYLE_FADE

public static final int LINE_SYMBOL_ANIMATION_STYLE_FADE
Line symbol animation style fade

See Also:
Constant Field Values

LINE_ANIMATION_STYLE_NONE

public static final int LINE_ANIMATION_STYLE_NONE
No line animation style

See Also:
Constant Field Values

LINE_ANIMATION_STYLE_BEND

public static final int LINE_ANIMATION_STYLE_BEND
Line animation style bend

See Also:
Constant Field Values

LINE_ANIMATION_STYLE_FADE

public static final int LINE_ANIMATION_STYLE_FADE
Line animation style fade

See Also:
Constant Field Values
Constructor Detail

NFParetochart

public NFParetochart()
Constructs a default chart object.


NFParetochart

public NFParetochart(javax.swing.JPanel panel)
Constructs a chart object on the given JPanel.

Parameters:
panel - Panel to draw chart on.

NFParetochart

public NFParetochart(java.util.Properties initProperties)
Constructs a chart object with the specified properties.

Parameters:
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.

NFParetochart

public NFParetochart(javax.swing.JPanel panel,
                     java.util.Properties initProperties)
Constructs a chart object on the given JPanel with the specified properties.

Parameters:
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

getDefaultData

public java.lang.String getDefaultData()
Returns a string of default data

Specified by:
getDefaultData in class NFGraph
Returns:
The default data used to initialize a chart.

getType

public int getType()
Gets the chart type.

Specified by:
getType in class NFGraph
Returns:
the type of this chart, always netcharts.pro.common.NFGraph.PARETO

getBarchartType

public int getBarchartType()
Get the bar chart type. Always returns STACK.

Returns:
the bar chart type

getOrientation

public int getOrientation()
Get the bar orientation. Always returns VERTICAL.

Returns:
orientation

setBarDepth

public void setBarDepth(int barDepth)
Set 3D Depth for bars

Parameters:
barDepth - 3D shadow depth for bars

getBarDepth

public int getBarDepth()
Get 3D Depth for bars

Returns:
3D shadow depth for bars

setLineLabelsEnabled

public void setLineLabelsEnabled(boolean lineLabelsEnabled)
Set enable popup labels over lines.

Parameters:
lineLabelsEnabled - When popups will appear over lines of the chart.

getLineLabelsEnabled

public boolean getLineLabelsEnabled()
Get whether or not popups over lines are enabled.

Returns:
When popups will appear over lines of the chart.

setLineDepth

public void setLineDepth(int lineDepth)
Set 3D Depth for lines

Parameters:
lineDepth - 3D shadow depth

getLineDepth

public int getLineDepth()
Get 3D Depth for lines

Returns:
3D shadow depth

setLineZWidth

public void setLineZWidth(int lineZWidth)
Set the line Z width. This percentage value (0-100) or (0.0-1.0) determines the amount of space actually used to display 3D lines when depth is greater than 1. If 100 percent is specified, then each line will completely fill the amount of space specified by depth in the Z dimension. If 50 percent is specified, then each line will occupy only 50 percent of that space, which will result in a visible separation between each line set. The default value is 100.

Parameters:
lineZWidth - line Z width

getLineZWidth

public int getLineZWidth()
Get the lineZWidth. This percentage value (0-100) or (0.0-1.0) determines the amount of space actually used to display 3D lines when depth is greater than 1. If 100 percent is specified, then each line will completely fill the amount of space specified by depth in the Z dimension. If 50 percent is specified, then each line will occupy only 50 percent of that space, which will result in a visible separation between each line set. The default value is 100.

Returns:
line Z width

setCumulativeLineValueLabel

public void setCumulativeLineValueLabel(NFModalLabel cumulativeLineValueLabel)
Set the text style to use for cumulative line labels.

Parameters:
cumulativeLineValueLabel - text style for cumulative line labels

getCumulativeLineValueLabel

public NFModalLabel getCumulativeLineValueLabel()
Get the text style to use for cumulative line labels.

Returns:
text style for cumulative line labels

setCumulativeLineValueLabelRegion

public void setCumulativeLineValueLabelRegion(NFRegion cumulativeLineValueRegion)
Set the text background style to use for cumulative line labels.

Parameters:
cumulativeLineValueRegion - Text background style.

getCumulativeLineValueLabelRegion

public NFRegion getCumulativeLineValueLabelRegion()
Get the text background style to use for cumulative line labels.

Returns:
text background style.

setCumulativeLineValueLabelStyle

public void setCumulativeLineValueLabelStyle(int cumulativeLineValueLabelStyle)
Set the type of text labeling for the cumulative line set.

If the value passed is not a valid line value label style an IllegalArgumentException will be thrown.

Parameters:
cumulativeLineValueLabelStyle - One of NONE, RIGHT, LEFT, BOTTOM, TOPLEFT, TOPRIGHT, BOTTOMRIGHT, BOTTOMLEFT, CENTER

getCumulativeLineValueLabelStyle

public int getCumulativeLineValueLabelStyle()
Get the type of text labeling for the cumulative line set.

Returns:
One of NONE, RIGHT, LEFT, BOTTOM, TOPLEFT, TOPRIGHT, BOTTOMRIGHT, BOTTOMLEFT, CENTER or BOTTOM if not set.

getCDLCumulativeLineValueLabelStyle

public java.lang.String getCDLCumulativeLineValueLabelStyle()
Get the cumulative line value label style as a CDL string.

Returns:
cumulative line value label style cdl

setCDLCumulativeLineValueLabelStyle

public void setCDLCumulativeLineValueLabelStyle(java.lang.String cdl)
Set the cumulative line value label style from a CDL string.

Parameters:
cumulative - line value label style cdl

setShowEightyTwentyLines

public void setShowEightyTwentyLines(boolean showEightyTwentyLines)
Set whether the 80/20 lines should be shown on the graph.

Parameters:
showEightyTwentyLines - true if the 80/20 lines should be shown, false otherwise.

getShowEightyTwentyLines

public boolean getShowEightyTwentyLines()
Get whether the 80/20 lines should be shown on the graph.

Returns:
true if the 80/20 lines should be shown, false otherwise.

setCumulativeLineStyle

public void setCumulativeLineStyle(NFLineSetLine cumulativeLineStyle)
Set the cumulative line style attributes

Parameters:
cumulativeLineStyle - line style attributes

getCumulativeLineStyle

public NFLineSetLine getCumulativeLineStyle()
Get the cumulative line style attributes

Returns:
line style attributes

setCumulativeLineSymbol

public void setCumulativeLineSymbol(NFLineSetSymbol cumulativeLineSymbol)
Set the cumulative line symbol attributes

Parameters:
cumulativeLineSymbol - symbol to be drawn at data point locations

getCumulativeLineSymbol

public NFLineSetSymbol getCumulativeLineSymbol()
Get the cumulative line symbol attributes

Returns:
symbol to be drawn at data point locations

setCumulativeLineSetName

public void setCumulativeLineSetName(java.lang.String cumulativeLineSetName)
Set the cumulative line set name. Used as a default for the legend label.

Parameters:
cumulativeLineSetName - cumulative line set name

getCumulativeLineSetName

public java.lang.String getCumulativeLineSetName()
Get the cumulative line set name. Used as a default for the legend label.

Returns:
legend name for the cumulative line

setEightyTwentyLineStyle

public void setEightyTwentyLineStyle(NFLineSetLine eightyTwentyLineStyle)
Set the 80/20 line style attributes

Parameters:
eightyTwentyLineStyle - 80/20 line style attributes

getEightyTwentyLineStyle

public NFLineSetLine getEightyTwentyLineStyle()
Get the 80/20 line style attributes

Returns:
80/20 line style attributes

setEightyTwentyLineSymbol

public void setEightyTwentyLineSymbol(NFLineSetSymbol eightyTwentyLineSymbol)
Set the 80/20 line symbol attributes

Parameters:
eightyTwentyLineSymbol - symbol to be drawn at data point locations

getEightyTwentyLineSymbol

public NFLineSetSymbol getEightyTwentyLineSymbol()
Get the 80/20 line symbol attributes

Returns:
symbol to be drawn at data point locations

setEightyLineSetName

public void setEightyLineSetName(java.lang.String eightyLineSetName)
Set name for the 80% line. Used as a default for the legend label.

Parameters:
eightyLineSetName - legend name for the 80% line

getEightyLineSetName

public java.lang.String getEightyLineSetName()
Get name for the 80% line. Used as a default for the legend label.

Returns:
legend name for the 80% line

setTwentyLineSetName

public void setTwentyLineSetName(java.lang.String twentyLineSetName)
Set the name for the 20% line. Used as a default for the legend label.

Parameters:
twentyLineSetName - legend name for the 20% line

getTwentyLineSetName

public java.lang.String getTwentyLineSetName()
Get the name for the 20% line. Used as a default for the legend label.

Returns:
legend name for the 20% line

setLineSymbolAnimationStyle

public void setLineSymbolAnimationStyle(int style)
Set the line symbol animation style.

If the value passed is not a valid line symbol animation style, LINE_SYMBOL_ANIMATION_STYLE_NONE will be used.

Parameters:
style - One of LINE_SYMBOL_ANIMATION_STYLE_NONE (default), LINE_SYMBOL_ANIMATION_STYLE_SCALE or LINE_SYMBOL_ANIMATION_STYLE_FADE

getLineSymbolAnimationStyle

public int getLineSymbolAnimationStyle()
Get the line symbol animation style.

Returns:
type One of LINE_SYMBOL_ANIMATION_STYLE_NONE (default), LINE_SYMBOL_ANIMATION_STYLE_SCALE or LINE_SYMBOL_ANIMATION_STYLE_FADE

setLineAnimationStyle

public void setLineAnimationStyle(int style)
Set the line animation style.

If the value passed is not a valid line animation style, LINE_ANIMATION_STYLE_NONE will be used.

Parameters:
style - One of LINE_ANIMATION_STYLE_NONE (default), LINE_ANIMATION_STYLE_BEND or LINE_ANIMATION_STYLE_FADE

getLineAnimationStyle

public int getLineAnimationStyle()
Get the line animation style.

Returns:
type One of LINE_ANIMATION_STYLE_NONE (default), LINE_ANIMATION_STYLE_BEND or LINE_ANIMATION_STYLE_FADE

setDrawOrder

public void setDrawOrder(int[] drawOrder)
                  throws NFParamException
Set the draw order. This determines the order in which data elements of this chart will be drawn. The drawOrder is sent in as an int array. Each element is expected to contain one of: 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).

Parameters:
drawOrder - Chart draw order
Throws:
NFParamException

getDrawOrder

public int[] getDrawOrder()
Get the draw order. This determines the order in which data elements of this chart will be drawn. The drawOrder is sent in as an int array. Each element is expected to contain one of: 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).

Returns:
chart draw order

isDataLegendEnabled

public boolean isDataLegendEnabled()
Get whether the data legend is enabled or not.

Returns:
data legend enabled

setDataLegendEnabled

public void setDataLegendEnabled(boolean dataLegendEnabled)
Set whether the data legend is enabled or not.

Parameters:
dataLegendEnabled - Whether the data legend is enabled or not.

getDataLegendGridBackground

public NFGridBackground getDataLegendGridBackground()
Get the data legend grid background.

Returns:
the data legend grid background

setDataLegendGridBackground

public void setDataLegendGridBackground(NFGridBackground dataLegendGridBackground)
Set the data legend grid background.

Parameters:
dataLegendGridBackground - the data legend grid background

getDataLegendGridLine

public NFGridLine getDataLegendGridLine()
Get the data legend grid line.

Returns:
the data legend grid line

setDataLegendGridLine

public void setDataLegendGridLine(NFGridLine dataLegendGridLine)
Set the data legend grid line.

Parameters:
dataLegendGridLine - the data legend grid line

setLineDropShadow

public void setLineDropShadow(NFDropShadow lineDropShadow)
Set the drop shadow for the lines

Parameters:
lineDropShadow - The drop shadow to use under the lines

getLineDropShadow

public NFDropShadow getLineDropShadow()
Get the drop shadow for the lines

Returns:
The drop shadow to use under the lines

setLineSymbolSpotlightSeries

public void setLineSymbolSpotlightSeries(NFSpotlightSeries lineSymbolSpotlightSeries)
Set the line symbol spotlight series.

Parameters:
lineSymbolSpotlightSeries - The series of line symbol spotlights

getLineSymbolSpotlightSeries

public NFSpotlightSeries getLineSymbolSpotlightSeries()
Get the line symbol spotlight series.

Returns:
The series of line symbol spotlights

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Writes this chart into an object for serialization.

Specified by:
writeExternal in interface java.io.Externalizable
Overrides:
writeExternal in class NFAbstractBarchart
Throws:
java.io.IOException

writeChart

public void writeChart(java.lang.StringBuffer sb)
Writes this chart into a string buffer

Overrides:
writeChart in class NFAbstractBarchart

resetState

public void resetState()
Resets all of the parameter values to their initial state.

Overrides:
resetState in class NFAbstractBarchart

NetCharts Pro


Visual Mining, Inc.
2099 Gaither Rd.
Suite 220
Rockville, MD 20850
800.308.0731
301.947.8293 FAX

Copyright © Visual Mining, Inc. 1996 - 2011
All Rights Reserved.

NetCharts Pro TM is a registered trademark of Visual Mining, Inc. Other brands and their products are trademarks of their respective holders.

Last Modified: Jun 28, 2011