com.jinsight.jetchart
Class RadarSerie

java.lang.Object
  extended bycom.jinsight.jetchart.AbstractSerie
      extended bycom.jinsight.jetchart.RadarSerie
Direct Known Subclasses:
RadarLineSerie, RadarPointSerie

public abstract class RadarSerie
extends AbstractSerie

A radar series is a sequence of values associated with variables displayed against a radar graph. The abstract class RadarSerie is extended to implement the behavior of more specialized series, as radar point series, radar line series series and radar area series.

See Also:
RadarPointSerie, RadarLineSerie, RadarAreaSerie, RadarGraph

Field Summary
 
Fields inherited from class com.jinsight.jetchart.AbstractSerie
CLIENT_SIDE, SERVER_SIDE_CERN, SERVER_SIDE_NCSA
 
Method Summary
protected  void finalize()
           
 java.lang.String getSerieMap(java.lang.String[] urls, int type, java.lang.String target)
          Creates a chart image map.
 java.lang.String getTitle()
           
 double[] getToolTipValues()
           
 void setColor(java.awt.Color color)
           
 void setTitle(java.lang.String title)
          Sets the title of a RadarSerie object.
 void setValues(double[] values)
          Sets series values.
 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, getMultipleValues, getValues, setHighlightColor, setHighlightEnabled, setId, setLegendEnabled, setMultipleValues, setMultipleValues, setSVGURLs, setToolTipContent, setToolTipEnabled, setValueFormat, setValues
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setValues

public void setValues(double[] values)
Description copied from class: AbstractSerie
Sets series values. Values are passed as an array of double precision numbers.

Overrides:
setValues in class AbstractSerie
Parameters:
values - An array of double precision numbers.

setValuesQuery

public void setValuesQuery(java.lang.String valuesQuery)
Description copied from class: AbstractSerie
Sets a sql query string to access a database and get series values. The query must return a number of columns equal to the number of values associated with a data point, otherwise an exception is raised.

Overrides:
setValuesQuery in class AbstractSerie
Parameters:
valuesQuery - A sql query string.
See Also:
GenericGraph.setDriver(java.lang.String), GenericGraph.setConnection(java.lang.String, java.lang.String, java.lang.String), AbstractSerie.setValues(double[]), AbstractSerie.setMultipleValues(double[][])

setTitle

public void setTitle(java.lang.String title)
Sets the title of a RadarSerie object. The title is displayed inside the legend box.

Parameters:
title - A String object.

getTitle

public java.lang.String getTitle()

setColor

public void setColor(java.awt.Color color)

getSerieMap

public java.lang.String getSerieMap(java.lang.String[] urls,
                                    int type,
                                    java.lang.String target)
Description copied from class: AbstractSerie
Creates a chart image map. A image map is used in an HTML document to allow regions of an image to be linked to other HTML documents. The web browser will bring up a different document depending on the image map link the user clicks on. The map itself is either a separate file (server-side maps) or part of the HTML document (client-side maps).
A client-side map can be inserted into html text to be returned by a servlet that also generates the chart image.
If the 'urls' parameter is informed, data points coordinates are associated with each element found in the array of urls. If hyperlinks are not required set the 'urls' parameter to null.
The second parameter sets the map format type. Image map can be generated in three different formats. A client-side map and an NCSA server or CERN server formatted map. The client-side map is the most used format.
The third parameter sets a target. The target is the name of an html frame used to display the page associated with the image map. This parameter is only related to client-side image mapping. If a target frame is not required set the 'target' parameter to null.

Specified by:
getSerieMap in class AbstractSerie
Parameters:
urls - An array of strings containing valid urls.
type - An integer representing the format type.
target - A string object.
See Also:
AbstractSerie.CLIENT_SIDE, AbstractSerie.SERVER_SIDE_NCSA, AbstractSerie.SERVER_SIDE_CERN

getToolTipValues

public double[] getToolTipValues()

finalize

protected void finalize()
                 throws java.lang.Throwable
Overrides:
finalize in class AbstractSerie
Throws:
java.lang.Throwable