|
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.lineset.NFAbstractLineChart
public abstract class NFAbstractLineChart
Represents chart that supports line drawing.
| Field Summary | |
|---|---|
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.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 | |
|---|---|
NFAbstractLineChart()
Constructs a default chart object. |
|
NFAbstractLineChart(javax.swing.JPanel panel)
Constructs a chart object on the given JPanel. |
|
NFAbstractLineChart(javax.swing.JPanel panel,
java.util.Properties initProperties)
Constructs a chart object on the given JPanel. |
|
NFAbstractLineChart(java.util.Properties initProperties)
Constructs a chart object on the given JPanel. |
|
| Method Summary | |
|---|---|
void |
addLineSet(NFLineSet lineSet)
Adds a line set to the current list of linesets. |
int |
getDepth()
Get 3DDepth |
int |
getLineAnimationStyle()
Get the line animation style. |
NFDropShadow |
getLineDropShadow()
Get the drop shadow for the lines |
NFLineSeries |
getLineSeries()
Get the line series. |
int |
getLineSymbolAnimationStyle()
Get the line symbol animation style. |
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 |
getLineZWidth()
Get the lineZWidth. |
void |
resetState()
Resets all of the parameter values to their initial state. |
void |
setDepth(int depth)
Set 3DDepth |
void |
setLineAnimationStyle(int style)
Set the line animation style. |
void |
setLineDropShadow(NFDropShadow lineDropShadow)
Set the drop shadow for the lines |
void |
setLineSeries(NFLineSeries lineSeries)
Set the line series. |
void |
setLineSymbolAnimationStyle(int style)
Set the line symbol animation style. |
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 |
setLineZWidth(int lineZWidth)
Set the lineZWidth. |
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, getNoteSeriesDrawnBeforeData, getRightAxis, getRightAxisSeries, getTopAxis, getTopAxisSeries, getXAxis, getYAxis, setAutoscalePad, setAxesSizes, setAxisThickness, setBottomAxis, setBottomAxisSeries, setGrid, setGridAnimationStyle, setGridDepth, setGridSeries, setLeftAxis, setLeftAxisSeries, setNoteSeriesDrawnBeforeData, 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 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 NFAbstractLineChart()
public NFAbstractLineChart(javax.swing.JPanel panel)
panel - Panel to draw graph on.public NFAbstractLineChart(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 NFAbstractLineChart(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 setDepth(int depth)
depth - 3D shadow depthpublic int getDepth()
public void setLineZWidth(int lineZWidth)
lineZWidth - public int getLineZWidth()
lineZWidth - public void addLineSet(NFLineSet lineSet)
lineSet - The lineset to add.
public void setLineSeries(NFLineSeries lineSeries)
throws NFParamException
NFLinechart chart = new NFLinechart();
NFLineSeries ls = chart.getLineSeries();
NFLineSet set = (NFLineSet)ls.elementAt(0);
// Set some of the properties on the NFLineSet
...
ls.setElementAt(set, 0);
chart.setLineSeries(ls);
lineSeries -
NFParamExceptionpublic NFLineSeries getLineSeries()
NFLinechart chart = new NFLinechart();
NFLineSeries ls = chart.getLineSeries();
NFLineSet set = (NFLineSet)ls.elementAt(0);
// Set some of the properties on the NFLineSet
...
ls.setElementAt(set, 0);
chart.setLineSeries(ls);
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 setLineDropShadow(NFDropShadow lineDropShadow)
lineDropShadow - The drop shadow to use under the linespublic NFDropShadow getLineDropShadow()
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_FADEpublic int getLineSymbolAnimationStyle()
LINE_SYMBOL_ANIMATION_STYLE_NONE (default), LINE_SYMBOL_ANIMATION_STYLE_SCALE or LINE_SYMBOL_ANIMATION_STYLE_FADEpublic 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_FADEpublic int getLineAnimationStyle()
LINE_ANIMATION_STYLE_NONE (default), LINE_ANIMATION_STYLE_BEND or LINE_ANIMATION_STYLE_FADEpublic 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.ExternalizablewriteExternal in class NFDataChartjava.io.IOExceptionpublic void writeChart(java.lang.StringBuffer sb)
writeChart in class NFDataChartpublic 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 - 2018 |
Last Modified: Jan 7, 2018 |