|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jinsight.jetchart.AbstractSerie
com.jinsight.jetchart.ScatterSerie
This class implements the properties common to scatter series. Data points of scatter series are associated with two values each, representing a xy pair which is plotted against a horizontal and a vertical scales using the cartesian coordinates system. ScatterSerie is extended to implement more specialized series.
AbstractSerie,
XYSerie,
XYLineSerie,
BubbleSerie| Field Summary |
| Fields inherited from class com.jinsight.jetchart.AbstractSerie |
CLIENT_SIDE, SERVER_SIDE_CERN, SERVER_SIDE_NCSA |
| Method Summary | |
protected void |
finalize()
|
java.awt.Color |
getColor()
Returns the color of this series. |
double[][] |
getMultipleValues()
Returns a bidimensional array of multiple values. |
RegressionLine |
getRegressionLine()
Returns a reference to a RegressionLine object. |
java.lang.String |
getSerieMap(java.lang.String[] urls,
int type,
java.lang.String target)
Creates a chart image map. |
java.lang.String |
getTitle()
Returns the series title. |
void |
removeRegressionLine()
Removes the regression line object. |
void |
setColor(java.awt.Color color)
Sets series color. |
void |
setDateFormat(java.text.DateFormat dateFormat)
Sets the expected format style of date values assigned to a time series. |
void |
setDateFormat(java.lang.String dateFormat)
Sets the expected format style of date values assigned to a time series. |
void |
setDateValues(java.lang.String[] dateValues)
Sets date/time values of time series. |
void |
setMultipleValues(double[][] multipleValues)
Sets the values of series whose data points are associated with multiple values, as OHLC series, scatter series and polar series. |
void |
setTitle(java.lang.String title)
Sets series title. |
void |
setToolTipDateFormat(java.text.DateFormat dateFormat)
Sets the format style of dates displayed in tooltips. |
void |
setToolTipDateFormat(java.lang.String dateFormat)
Sets the format style of dates displayed in tooltips. |
void |
setToolTipText(java.lang.String[] toolTipText)
Sets the texts to prefix values displayed in tooltips. |
void |
setValuesFormat(java.lang.String[] valuesFormat)
Sets the format of the x, y and z(bubble series) values, displayed in tooltips. |
void |
setValuesQuery(java.lang.String valuesQuery)
Sets a sql query string to access a database and get series values. |
| Methods inherited from class com.jinsight.jetchart.AbstractSerie |
addMultipleValues, addValue, getId, getValues, setHighlightColor, setHighlightEnabled, setId, setLegendEnabled, setMultipleValues, setSVGURLs, setToolTipContent, setToolTipEnabled, setValueFormat, setValues, setValues |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public void setMultipleValues(double[][] multipleValues)
AbstractSerie
setMultipleValues in class AbstractSeriemultipleValues - A bidimensional array of double precision numbers.OHLCSerie,
ScatterSerie,
PolarSeriepublic double[][] getMultipleValues()
AbstractSerie
getMultipleValues in class AbstractSerieAbstractSerie.setMultipleValues(double[][]),
OHLCSeriepublic void setDateValues(java.lang.String[] dateValues)
setDateFormat,
passing the format style either as a String or a property of a DateFormat object.
SimpleDateFormat can be used to specify more complex patterns using the method
SimpleDateFormat.applyPattern(String pattern).
dateValues - An array of stringsScatterGraph.setDateGraphEnabled(boolean),
setMultipleValues(double[][]),
setDateFormat(java.lang.String)public void setDateFormat(java.lang.String dateFormat)
setDateValues, and is only applicable to
scatter charts.
dateFormat - A String object.setDateValues(java.lang.String[]),
ScatterGraph.setDateGraphEnabled(boolean)public void setDateFormat(java.text.DateFormat dateFormat)
setDateValues, and is only applicable to
scatter charts.
dateFormat - A DateFormat object.setDateValues(java.lang.String[]),
ScatterGraph.setDateGraphEnabled(boolean)public void setToolTipDateFormat(java.lang.String dateFormat)
dateFormat - A String objectScatterGraph.setDateGraphEnabled(boolean)public void setToolTipDateFormat(java.text.DateFormat dateFormat)
dateFormat - A String object.ScatterGraph.setDateGraphEnabled(boolean)public void setTitle(java.lang.String title)
title - A String object.Legendpublic java.lang.String getTitle()
setTitle(java.lang.String)public void setColor(java.awt.Color color)
color - A Color object.public java.awt.Color getColor()
setColor(java.awt.Color)public void setToolTipText(java.lang.String[] toolTipText)
toolTipText - An array of String objects.BubbleSeriepublic void setValuesFormat(java.lang.String[] valuesFormat)
valuesFormat - An array of String objects.ToolTip
public java.lang.String getSerieMap(java.lang.String[] urls,
int type,
java.lang.String target)
AbstractSerie
getSerieMap in class AbstractSerieurls - An array of strings containing valid urls.type - An integer representing the format type.target - A string object.AbstractSerie.CLIENT_SIDE,
AbstractSerie.SERVER_SIDE_NCSA,
AbstractSerie.SERVER_SIDE_CERNpublic RegressionLine getRegressionLine()
RegressionLine,
removeRegressionLine()public void removeRegressionLine()
getRegressionLine() is invoked.
Invoke this method to get rid of the RegressionLine object.
getRegressionLine()public void setValuesQuery(java.lang.String valuesQuery)
AbstractSerie
setValuesQuery in class AbstractSerievaluesQuery - A sql query string.GenericGraph.setDriver(java.lang.String),
GenericGraph.setConnection(java.lang.String, java.lang.String, java.lang.String),
AbstractSerie.setValues(double[]),
AbstractSerie.setMultipleValues(double[][])
protected void finalize()
throws java.lang.Throwable
finalize in class AbstractSeriejava.lang.Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||