|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.servlet.tbeans.graphics.html.ScatterPlot
public class ScatterPlot
The ScatterPlot TransformationBean is a servlet component that produces scatter plots that support the visualization of multiple response variables. Two-dimensional scatter plots show the relationship of one variable to another, often revealing concentrations or trends in the data. Typically, each variable value on the horizontal axis can have any number of corresponding values on the vertical axis.

A ScatterPlot is similar to a LinePlot and differs as follows:
Note. This class can be used to render server-side graphs in Java servlets or JavaServer Pages (JSP). The com.sas.graphics.components.ScatterPlot class can be used to render client-side graphs in Java applications or applets. Both classes use the models in the com.sas.graphics.components package.
ScatterPlotModel,
ScatterPlotDataModel,
ScatterPlotTableDataModel,
ScatterPlotOLAPDataModel,
GraphStyle,
Serialized Form| Field Summary |
|---|
| Fields inherited from interface com.sas.servlet.tbeans.graphics.html.GraphStyleKeysInterface |
|---|
GRAPH_STYLE |
| Constructor Summary | |
|---|---|
ScatterPlot()
Constructs a new ScatterPlot Transformation Bean |
|
ScatterPlot(ScatterPlotTableDataModel dataModel)
|
|
| Method Summary | |
|---|---|
java.util.HashMap |
getAdditionalParameters()
Returns an HashMap containing additional parameters that should be added to the form used to perform the various actions on the table. |
ScatterPlotDataModel |
getDataModel()
Gets the model on the viewer. |
Form |
getDefaultFormObject()
Returns the FORM object used if no FORM object is specifed. |
Form |
getFormObject()
Returns the FORM Object used to execute commands. |
boolean |
isFormEnabled()
Determines if the tbean should render its formObject. |
void |
setAdditionalParameter(java.lang.String name,
java.lang.String value)
Sets an additional parameter to be added to the form used to perform the various actions on the table. |
void |
setAdditionalParameters(java.util.HashMap map)
Sets an HashMap containing additional parameters that should be added to the form used to perform the various actions on the table. |
void |
setDataModel(ScatterPlotTableDataModel dataModel)
Sets the model on the viewer. |
void |
setFormEnabled(boolean value)
Sets whether the tbean should render its formObject. |
void |
setFormObject(Form formObject)
Returns the FORM Object used to execute commands. |
void |
write(java.io.PrintWriter out)
Writes the transformed representation of the object |
| Methods inherited from class com.sas.servlet.tbeans.graphics.BaseScatterPlot |
|---|
applyColorScheme, applyGraphStyle, getGraphModel, getImageMapInfo, setDataModel, setGraphModel |
| Methods inherited from class com.sas.servlet.tbeans.BaseActionTransformation |
|---|
dispose, getActionProvider, getActionSupportType, getUniqueId, isActionVisible, listActionTypes, listAreaTypes, setActionProvider, setActionSupportType, setActionVisible, setUniqueId |
| Methods inherited from interface com.sas.actionprovider.HttpActionProviderViewInterface |
|---|
getRequest, setRequest |
| Constructor Detail |
|---|
public ScatterPlot()
public ScatterPlot(ScatterPlotTableDataModel dataModel)
| Method Detail |
|---|
public void setDataModel(ScatterPlotTableDataModel dataModel)
dataModel - an instance of the ScatterPlotTableDataModelpublic ScatterPlotDataModel getDataModel()
public Form getDefaultFormObject()
getDefaultFormObject in interface FormViewInterfacegetFormObject()public Form getFormObject()
getFormObject in interface FormViewInterfacesetFormObject(com.sas.servlet.tbeans.form.html.Form)public void setFormObject(Form formObject)
setFormObject in interface FormViewInterfaceformObject - FORM objectgetFormObject()public java.util.HashMap getAdditionalParameters()
getAdditionalParameters in interface FormViewInterfaceHashMappublic void setAdditionalParameters(java.util.HashMap map)
setAdditionalParameters in interface FormViewInterfacemap - HashMap objectHashMap
public void setAdditionalParameter(java.lang.String name,
java.lang.String value)
setAdditionalParameter in interface FormViewInterfacename - name of the list itemvalue - value of the list itemHashMappublic boolean isFormEnabled()
isFormEnabled in interface FormViewInterfacepublic void setFormEnabled(boolean value)
setFormEnabled in interface FormViewInterfacevalue - true if the formObject should be rendered by the tbean
public void write(java.io.PrintWriter out)
throws java.io.IOException
write in interface TransformationInterfacewrite in interface com.sas.util.WriteToPrintWriterInterfacewrite in class BaseActionTransformationout - The output stream
java.io.IOException - Thrown if some type of I/O error occurs
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||