com.jinsight.jetchart
Class XYImageSerie

java.lang.Object
  |
  +--com.jinsight.jetchart.AbstractSerie
        |
        +--com.jinsight.jetchart.ScatterSerie
              |
              +--com.jinsight.jetchart.XYImageSerie

public class XYImageSerie
extends ScatterSerie

The XYImageSerie class plots an xy series displaying images centered on data points.


Fields inherited from class com.jinsight.jetchart.AbstractSerie
CLIENT_SIDE, SERVER_SIDE_CERN, SERVER_SIDE_NCSA
 
Constructor Summary
XYImageSerie()
          Creates an XYImageSerie object.
XYImageSerie(double[][] multipleValues)
          Creates an XYImageSerie object.
XYImageSerie(double[][] multipleValues, java.awt.Image[] images)
          Creates an XYImageSerie 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.ScatterSerie
finalize, getColor, getRegressionLine, removeRegressionLine, setColor, setMultipleValues, setTitle, setToolTipText, setValuesFormat
 
Methods inherited from class com.jinsight.jetchart.AbstractSerie
getId, getMultipleValues, getValues, setHighlightColor, setHighlightEnabled, setId, setLegendEnabled, setMultipleValues, setSVGURLs, setToolTipContent, setToolTipEnabled, setValueFormat, setValues, setValues, setValuesQuery
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XYImageSerie

public XYImageSerie()
Creates an XYImageSerie object. Default constructor.

XYImageSerie

public XYImageSerie(double[][] multipleValues)
Creates an XYImageSerie object. This constructor takes a bidimensional array of values. The subarray contains a pair of values corresponding to the xy coordinates of a data point.
Parameters:
multipleValues - Bidimensional array of double precision numbers.

XYImageSerie

public XYImageSerie(double[][] multipleValues,
                    java.awt.Image[] images)
Creates an XYImageSerie object. This constructor takes a bidimensional array of values and the images to be displayed. The subarray contains a pair of values corresponding to the xy coordinates 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 where on the image map the user clicks. 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 ScatterSerie
Following copied from class: com.jinsight.jetchart.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