com.jinsight.jetchart
Class PolarImageSerie

java.lang.Object
  extended bycom.jinsight.jetchart.AbstractSerie
      extended bycom.jinsight.jetchart.PolarSerie
          extended bycom.jinsight.jetchart.PolarImageSerie

public class PolarImageSerie
extends PolarSerie

This class implements the properties and methods of a polar image series. A PolarImageSerie object plots a polar series displaying images centered on data points.

See Also:
PolarSerie

Field Summary
 
Fields inherited from class com.jinsight.jetchart.AbstractSerie
CLIENT_SIDE, SERVER_SIDE_CERN, SERVER_SIDE_NCSA
 
Constructor Summary
PolarImageSerie()
          Creates a PolarImageSerie object.
PolarImageSerie(double[][] multipleValues)
          Creates a PolarImageSerie object.
PolarImageSerie(double[][] multipleValues, java.awt.Image[] images)
          Creates a PolarImageSerie object.
 
Method Summary
 java.lang.String getSerieMap(java.lang.String[] urls, int type, java.lang.String target)
          Creates a chart image map.
 void setImages(java.awt.Image[] images)
          Sets images to be displayed on data points.
 
Methods inherited from class com.jinsight.jetchart.PolarSerie
getTitle, setColor, setDataPointLegendColor, setDataPointLegendFont, setDataPointLegends, setMultipleValues, setTitle, setToolTipText, setValuesFormat, setValuesQuery
 
Methods inherited from class com.jinsight.jetchart.AbstractSerie
addMultipleValues, addValue, finalize, getId, getMultipleValues, 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
 

Constructor Detail

PolarImageSerie

public PolarImageSerie()
Creates a PolarImageSerie object. Default constructor.


PolarImageSerie

public PolarImageSerie(double[][] multipleValues)
Creates a PolarImageSerie object. This constructor takes a bidimensional array of values. The subarray contains a pair of values corresponding to the radius and angle(theta) of a data point.

Parameters:
multipleValues - Bidimensional array of double precision numbers.

PolarImageSerie

public PolarImageSerie(double[][] multipleValues,
                       java.awt.Image[] images)
Creates a PolarImageSerie object. This constructor takes a bidimensional array of values and an array of images to be displayed. Each subarray of the bidimensional array has a pair of values corresponding to the radius and angle(theta) of a data point.

Parameters:
multipleValues - Bidimensional array of double precision numbers.
images - An array of Image objects.
Method Detail

setImages

public void setImages(java.awt.Image[] images)
Sets images to be displayed on data points.

Parameters:
images - An array of Image objects.

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.

Overrides:
getSerieMap in class PolarSerie