|
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
netcharts.pro.charts.xy.NFXYchart
public class NFXYchart
Represents an X-Y chart. Provides the ability to configure the chart via object manipulation or directly from CDL.
| Field Summary |
|---|
| Fields inherited from class netcharts.pro.common.lineset.NFAbstractLineChart |
|---|
LINE_ANIMATION_STYLE_BEND, LINE_ANIMATION_STYLE_FADE, LINE_ANIMATION_STYLE_NONE, LINE_SYMBOL_ANIMATION_STYLE_FADE, LINE_SYMBOL_ANIMATION_STYLE_NONE, 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 | |
|---|---|
NFXYchart()
Constructs a default chart object. |
|
NFXYchart(javax.swing.JPanel panel)
Constructs a chart object on the given JPanel. |
|
NFXYchart(javax.swing.JPanel panel,
java.util.Properties initProperties)
Constructs a chart object on the given JPanel. |
|
NFXYchart(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. |
java.lang.String |
getDefaultData()
Returns a string of default data |
NFLineSeries |
getLineSeries()
Get the line series. |
int |
getType()
Gets the chart type. |
void |
setLineSeries(NFLineSeries lineSeries)
Set the line series. |
| Methods inherited from class netcharts.pro.common.lineset.NFAbstractLineChart |
|---|
getDepth, getLineAnimationStyle, getLineDropShadow, getLineSymbolAnimationStyle, getLineSymbolSpotlightSeries, getLineValueLabel, getLineValueLabelRegion, getLineZWidth, resetState, setDepth, setLineAnimationStyle, setLineDropShadow, setLineSymbolAnimationStyle, setLineSymbolSpotlightSeries, setLineValueLabel, setLineValueLabelRegion, setLineZWidth, writeChart, writeExternal |
| 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 |
| Constructor Detail |
|---|
public NFXYchart()
public NFXYchart(javax.swing.JPanel panel)
panel - Panel to draw chart on.public NFXYchart(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 NFXYchart(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 NFGraphpublic int getType()
getType in class NFGraphnetcharts.pro.NFGraph.XYpublic void addLineSet(NFLineSet lineSet)
addLineSet in class NFAbstractLineChartlineSet - The lineset to add.
public void setLineSeries(NFLineSeries lineSeries)
throws NFParamException
NFXYchart chart = new NFXYchart();
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);
setLineSeries in class NFAbstractLineChartlineSeries -
NFParamExceptionpublic NFLineSeries getLineSeries()
NFXYchart chart = new NFXYchart();
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);
getLineSeries in class NFAbstractLineChart
|
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 |