|
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.charts.bubble.NFBubblechart
public class NFBubblechart
Represents a bubble chart. Provides the ability to configure the chart via object manipulation or directly from CDL.
Field Summary | |
---|---|
static int |
BUBBLE_SYMBOL_ANIMATION_STYLE_FADE
Bubble symbol animation style fade |
static int |
BUBBLE_SYMBOL_ANIMATION_STYLE_NONE
No bubble symbol animation style |
static int |
BUBBLE_SYMBOL_ANIMATION_STYLE_SCALE
Bubble symbol animation style scale |
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 |
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 |
Constructor Summary | |
---|---|
NFBubblechart()
Constructs a default chart object. |
|
NFBubblechart(javax.swing.JPanel panel)
Constructs a chart object on the given JPanel. |
|
NFBubblechart(javax.swing.JPanel panel,
java.util.Properties initProperties)
Constructs a chart object on the given JPanel. |
|
NFBubblechart(java.util.Properties initProperties)
Constructs a chart object on the given JPanel. |
Method Summary | |
---|---|
void |
addBubbleSet(NFBubbleSet bubbleSet)
Adds a bubble set to the current list of bubblesets. |
NFBubbleSeries |
getBubbleSeries()
Get the bubble series. |
int |
getBubbleSymbolAnimationStyle()
Get the bubble symbol animation style. |
java.lang.String |
getDefaultData()
Returns a string of default data |
int |
getLineAnimationStyle()
Get the line animation style. |
NFDropShadow |
getLineDropShadow()
Get the drop shadow for the lines |
NFSpotlightSeries |
getLineSymbolSpotlightSeries()
Get the line symbol spotlight series. |
NFModalLabel |
getLineValueLabel()
Get the text style to use for line labels. |
NFRegion |
getLineValueLabelRegion()
Get the text background style to use for line labels. |
int |
getType()
Gets the chart type. |
void |
resetState()
Resets all of the parameter values to their initial state. |
void |
setBubbleSeries(NFBubbleSeries bubbleSeries)
Set the bubble series. |
void |
setBubbleSymbolAnimationStyle(int style)
Set the bubble symbol animation style. |
void |
setLineAnimationStyle(int style)
Set the line animation style. |
void |
setLineDropShadow(NFDropShadow lineDropShadow)
Set the drop shadow for the lines |
void |
setLineSymbolSpotlightSeries(NFSpotlightSeries lineSymbolSpotlightSeries)
Set the line symbol spotlight series. |
void |
setLineValueLabel(NFModalLabel lineValueLabel)
Set the text style to use for line labels. |
void |
setLineValueLabelRegion(NFRegion lineValueRegion)
Set the text background style to use for line labels. |
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 BUBBLE_SYMBOL_ANIMATION_STYLE_NONE
public static final int BUBBLE_SYMBOL_ANIMATION_STYLE_SCALE
public static final int BUBBLE_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 NFBubblechart()
public NFBubblechart(javax.swing.JPanel panel)
panel
- Panel to draw chart on.public NFBubblechart(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 NFBubblechart(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.charts.bubble.NFGraph.XY
public void addBubbleSet(NFBubbleSet bubbleSet) throws NFParamException
bubbleSet
- The bubbleset to add.
NFParamException
public void setBubbleSeries(NFBubbleSeries bubbleSeries) throws NFParamException
NFBubblechart chart = new NFBubblechart(); NFBubbleSeries bs = chart.getBubbleSeries(); NFBubbleSet set = (NFBubbleSet)bs.elementAt(0); // Set some of the properties on the NFBubbleSet ... bs.setElementAt(set, 0); chart.setBubbleSeries(bs);
bubbleSeries
-
NFParamException
public NFBubbleSeries getBubbleSeries()
NFBubblechart chart = new NFBubblechart(); NFBubbleSeries bs = chart.getBubbleSeries(); NFBubbleSet set = (NFBubbleSet)bs.elementAt(0); // Set some of the properties on the NFBubbleSet ... bs.setElementAt(set, 0); chart.setBubbleSeries(bs);
public void setLineValueLabel(NFModalLabel lineValueLabel)
lineValueLabel
- Text style.public NFModalLabel getLineValueLabel()
public void setLineValueLabelRegion(NFRegion lineValueRegion)
lineValueRegion
- Text background style.public NFRegion getLineValueLabelRegion()
public void setBubbleSymbolAnimationStyle(int style)
If the value passed is not a valid bubble symbol animation style, BUBBLE_SYMBOL_ANIMATION_STYLE_NONE will be used.
style
- One of BUBBLE_SYMBOL_ANIMATION_STYLE_NONE (default), BUBBLE_SYMBOL_ANIMATION_STYLE_SCALE or BUBBLE_SYMBOL_ANIMATION_STYLE_FADE
public int getBubbleSymbolAnimationStyle()
BUBBLE_SYMBOL_ANIMATION_STYLE_NONE (default), BUBBLE_SYMBOL_ANIMATION_STYLE_SCALE or BUBBLE_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 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 NFDataChart
java.io.IOException
public void writeChart(java.lang.StringBuffer sb)
writeChart
in class NFDataChart
public void resetState()
resetState
in class NFDataChart
|
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 |