|
NetCharts Pro | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--netcharts.pro.common.NFGraph
|
+--netcharts.pro.common.zoomable.NFZoomableChart
|
+--netcharts.pro.common.rectangular.NFDataChart
|
+--netcharts.pro.common.lineset.NFAbstractLineChart
|
+--netcharts.pro.charts.line.NFLinechart
Represents a line chart. Provides the ability to configure the chart via object manipulation or directly from CDL.
| Field Summary | |
static int |
ITEM
Discrete value shown on popup when linechart type is stack item value. |
static java.util.Hashtable |
linechartTypeMap
linechart type hashtable |
static int |
PERCENT
Percentage linechart type. |
static int |
ROWS
Row linechart type. |
static int |
STACK
Stacked linechart type. |
static java.util.Hashtable |
stackTypeMap
linechart stack type hashtable |
static int |
TOTAL
Total value shown on popup when linechart type is stack total. |
| 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, BOX, BUBBLE, COMBO, DIAGRAM, DIAL, LINE, PIE, POLAR, RADAR, STOCK, STRIP, TIME, XY |
| Constructor Summary | |
NFLinechart()
Constructs a default chart object. |
|
NFLinechart(javax.swing.JPanel panel)
Constructs a chart object on the given JPanel. |
|
NFLinechart(javax.swing.JPanel panel,
java.util.Properties initProperties)
Constructs a chart object on the given JPanel. |
|
NFLinechart(java.util.Properties initProperties)
Constructs a chart object on the given JPanel. |
|
| Method Summary | |
java.lang.String |
getDefaultData()
Returns a string of default data |
int |
getLinechartType()
Get linechart type, either STACK (default) PERCENT, or ROWS |
int |
getStackType()
Get linechart stack type, either TOTAL (default), ITEM, or PERCENT. |
int |
getType()
Gets the chart type. |
void |
resetState()
Resets all of the parameter values to their initial state. |
void |
setLinechartType(int type)
Set linechart type, either STACK (default) PERCENT, or ROWS |
void |
setStackType(int stackType)
Set linechart stack type, either TOTAL (default), ITEM, or PERCENT. |
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.lineset.NFAbstractLineChart |
addLineSet, getDepth, getLineSeries, getLineValueLabel, getLineValueLabelRegion, getLineZWidth, setDepth, setLineSeries, setLineValueLabel, setLineValueLabelRegion, setLineZWidth |
| Methods inherited from class netcharts.pro.common.rectangular.NFDataChart |
addGrid, getAutoscalePad, getAxesSizes, getAxisThickness, getBottomAxis, getBottomAxisSeries, getGrid, getGridDepth, getGridSeries, getLeftAxis, getLeftAxisSeries, getRightAxis, getRightAxisSeries, getTopAxis, getTopAxisSeries, setAutoscalePad, setAxesSizes, setAxisThickness, setBottomAxis, setBottomAxisSeries, setGrid, 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 |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int ROWS
public static final int STACK
public static final int PERCENT
public static final int TOTAL
public static final int ITEM
public static java.util.Hashtable linechartTypeMap
public static java.util.Hashtable stackTypeMap
| Constructor Detail |
public NFLinechart()
public NFLinechart(javax.swing.JPanel panel)
panel - Panel to draw chart on.public NFLinechart(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 NFLinechart(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 NFGraphnetcharts.pro.common.NFGraphpublic void setLinechartType(int type)
type - public int getLinechartType()
public void setStackType(int stackType)
stackType - public int getStackType()
stackType - public int getType()
getType in class NFGraphnetcharts.pro.charts.line.NFGraph.LINE
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in class NFAbstractLineChartpublic void writeChart(java.lang.StringBuffer sb)
writeChart in class NFAbstractLineChartpublic void resetState()
resetState in class NFAbstractLineChart
|
NetCharts Pro | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| Visual Mining, Inc. | Copyright © Visual Mining, Inc. 1996 - 2005 |
Last Modified: Feb 1, 2005 |