Oracle ADF Model and Business Components API Reference 10.1.2 B14022-02


oracle.jbo.html.databeans
Class ChartRenderer

java.lang.Object
  extended byoracle.jdeveloper.html.WebBeanImpl
      extended byoracle.jdeveloper.html.DataWebBeanImpl
          extended byoracle.jbo.html.DataWebBeanImpl
              extended byoracle.jbo.html.databeans.ChartRenderer

All Implemented Interfaces:
DataWebBean, DataWebBean, java.util.EventListener, javax.servlet.http.HttpSessionBindingListener, WebBean, WebBean

Deprecated. Please use Graph Tag

public class ChartRenderer
extends DataWebBeanImpl
implements javax.servlet.http.HttpSessionBindingListener

Chart web bean to render chart as GIF files.

This bean renders the view as a chart GIF image. It internally uses Perspective bean to render the data as GIF. This bean is made is exposed through getChart() method.

Usage :


  &ltjsp:useBean   class="oracle.jbo.html.databeans.ChartRenderer id="c"  scope="request" &gt

  &lt%

     c.setReleaseApplicationResources(false);
     c.initialize(application,session, request,response,out,"package23_Package23Module.EmpView");

     c.getChart().setTitleString("Leading company Corp.");
     c.getChart().setSubtitleString("Employee Sales-Commision chart");
     c.getChart().setFootnoteString("Year-1999-2000");
     c.setMappingColumnNames("Sal,Comm"); // draw these column's
     c.setSeriesLabelColumnName("Ename"); // use this column as series label
     c.setImageWidth(600);
     c.setImageHeight(600);
     c.execute();
   %&gt

   &lt/jsp:useBean&gt


   //ChartCommon.jsp




   
Version:
PUBLIC
See Also:
Perspective

Field Summary
static int BUBBLE_CHART
Deprecated.
static int BUBBLE_CHART_DUAL_AXIS
Deprecated.
static int BUBBLE_CHART_LABELS
Deprecated.
static int BUBBLE_CHART_LABELS_DUAL_AXIS
Deprecated.
static int CANDLE_STOCK_HI_LO_OPEN_CLOSE
Deprecated.
static int CANDLE_STOCK_HI_LO_OPEN_CLOSE_VOLUME
Deprecated.
protected static boolean cleanupRegistered
Deprecated. register listener to clean up
protected java.lang.String commonScriptName
Deprecated. name of the common jsp file which is shared by all chart objects The common jsp file invokes the render method.
static int HORIZONTAL_ABSOLUTE_AREA
Deprecated.
static int HORIZONTAL_ABSOLUTE_LINE
Deprecated.
static int HORIZONTAL_BI_POLAR_ABSOLUTE_AREA
Deprecated.
static int HORIZONTAL_BI_POLAR_ABSOLUTE_LINE
Deprecated.
static int HORIZONTAL_BI_POLAR_CLUSTERED_BARS
Deprecated.
static int HORIZONTAL_BI_POLAR_STACKED_AREA
Deprecated.
static int HORIZONTAL_BI_POLAR_STACKED_BARS
Deprecated.
static int HORIZONTAL_BI_POLAR_STACKED_LINE
Deprecated.
static int HORIZONTAL_CLUSTERED_BARS
Deprecated.
static int HORIZONTAL_DUAL_AXIS_ABSOLUTE_LINE
Deprecated.
static int HORIZONTAL_DUAL_AXIS_CLUSTERED_BARS
Deprecated.
static int HORIZONTAL_DUAL_AXIS_STACKED_BARS
Deprecated.
static int HORIZONTAL_DUAL_AXIS_STACKED_LINE
Deprecated.
static int HORIZONTAL_HISTOGRAM
Deprecated.
static int HORIZONTAL_PERCENT_AREA
Deprecated.
static int HORIZONTAL_PERCENT_BARS
Deprecated.
static int HORIZONTAL_PERCENT_LINE
Deprecated.
static int HORIZONTAL_STACKED_AREA
Deprecated.
static int HORIZONTAL_STACKED_BARS
Deprecated.
static int HORIZONTAL_STACKED_LINE
Deprecated.
protected static java.lang.String ID
Deprecated. used in the url to identify the chart id
static int MULTI_PIE
Deprecated.
static int MULTI_PROPORTIONAL_PIE
Deprecated.
static int MULTI_PROPORTIONAL_RING_PIE
Deprecated.
static int MULTI_RING_PIE
Deprecated.
static int OPEN_HI_LO_CLOSE_CANDLE_STOCK_CHART
Deprecated.
static int OPEN_HI_LO_CLOSE_CANDLE_STOCK_CHART_VOLUME
Deprecated.
static int PIE
Deprecated.
static int PIE_BAR_CHART
Deprecated.
static int POLAR
Deprecated.
static int POLAR_DUAL_AXIS
Deprecated.
protected static java.lang.String prefixString
Deprecated. unique prefix., used while generating key for image objects stored in the session.
static int RADAR_AREA
Deprecated.
static int RADAR_LINE
Deprecated.
static int RADAR_LINE_DUAL_AXIS
Deprecated.
static int RING_PIE
Deprecated.
static int RING_PIE_BAR_CHART
Deprecated.
static int SPECTRAL_MAP
Deprecated.
static int STOCK_HI_LO
Deprecated.
static int STOCK_HI_LO_BI_POLAR
Deprecated.
static int STOCK_HI_LO_CLOSE
Deprecated.
static int STOCK_HI_LO_CLOSE_DUAL_AXIS
Deprecated.
static int STOCK_HI_LO_DUAL_AXIS
Deprecated.
static int STOCK_HI_LO_OPEN_CLOSE
Deprecated.
static int STOCK_HI_LO_OPEN_CLOSE_BI_POLAR
Deprecated.
static int STOCK_HI_LO_OPEN_CLOSE_DUAL_AXIS
Deprecated.
static int STOCK_HI_LO_OPEN_CLOSE_VOLUME
Deprecated.
static int STOCK_HI_LO_VOLUME
Deprecated.
static int THREED_BARS
Deprecated.
static int THREED_FLOATING_CONNECTED_GROUP_AREA
Deprecated.
static int THREED_FLOATING_CONNECTED_GROUP_RIBBON
Deprecated.
static int THREED_FLOATING_CONNECTED_SERIES_AREA
Deprecated.
static int THREED_FLOATING_CONNECTED_SERIES_RIBBON
Deprecated.
static int THREED_FLOATING_CUBES
Deprecated.
static int THREED_FLOATING_PYRAMIDS
Deprecated.
static int THREED_HONEYCOMB_SURFACE
Deprecated.
static int THREED_OCTAGONS
Deprecated.
static int THREED_PYRAMIDS
Deprecated.
static int THREED_SURFACE
Deprecated.
static int THREED_SURFACE_WITH_SIDES
Deprecated.
static int VERTICAL_ABSOLUTE_AREA
Deprecated.
static int VERTICAL_ABSOLUTE_LINE
Deprecated.
static int VERTICAL_BI_POLAR_ABSOLUTE_AREA
Deprecated.
static int VERTICAL_BI_POLAR_ABSOLUTE_LINE
Deprecated.
static int VERTICAL_BI_POLAR_CLUSTERED_BARS
Deprecated.
static int VERTICAL_BI_POLAR_STACKED_AREA
Deprecated.
static int VERTICAL_BI_POLAR_STACKED_BARS
Deprecated.
static int VERTICAL_BI_POLAR_STACKED_LINE
Deprecated.
static int VERTICAL_CLUSTERED_BARS
Deprecated.
static int VERTICAL_DUAL_AXIS_ABSOLUTE_LINE
Deprecated.
static int VERTICAL_DUAL_AXIS_CLUSTERED_BARS
Deprecated.
static int VERTICAL_DUAL_AXIS_STACKED_BARS
Deprecated.
static int VERTICAL_DUAL_AXIS_STACKED_LINE
Deprecated.
static int VERTICAL_HISTOGRAM
Deprecated.
static int VERTICAL_PERCENT_AREA
Deprecated.
static int VERTICAL_PERCENT_BARS
Deprecated.
static int VERTICAL_PERCENT_LINE
Deprecated.
static int VERTICAL_STACKED_AREA
Deprecated.
static int VERTICAL_STACKED_BARS
Deprecated.
static int VERTICAL_STACKED_LINE
Deprecated.
static java.lang.String VIEWNAME
Deprecated. used in the url to idenfiy the view name
static int XY_SCATTER
Deprecated.
static int XY_SCATTER_DUAL_AXIS
Deprecated.
static int XY_SCATTER_WITH_LABELS
Deprecated.
static int XY_SCATTER_WITH_LABELS_DUAL_AXIS
Deprecated.

Fields inherited from class oracle.jdeveloper.html.DataWebBeanImpl
amName, bReleaseApplication, dispAttrs, ds

Fields inherited from class oracle.jdeveloper.html.WebBeanImpl
application, bUsedInTag, out, page, request, response, session

Fields inherited from interface oracle.jdeveloper.html.WebBean
contentFrameName, defaultCaboBase, defaultCaboImageBase, defaultImageBase, defaultJSPBase, defaultNLSFormat, JS_LIBRARIES, JS_NAMEID, JSButtonConstructorLib, JSCalendarConstructorLib, JSContainerConstructorLib, JSDataConstructLib, JSModalPageConstructorLib, JSTableConstructLib, JSToolbarConstructorLib, JSTreeConstructLib, JSUtilitiesLib

Constructor Summary
ChartRenderer()
Deprecated. Constructor

Method Summary
void execute()
Deprecated. render chart.
protected void execute(java.lang.Object o)
Deprecated.
protected void generateImage(ChartRenderer c)
Deprecated. generate the GIF file and serve the image
protected java.lang.String generateUniqueId()
Deprecated. generated an unique id to identify chart., used in the url parameter
tdg.Perspective getChart()
Deprecated. get the Perspective bean which does the rendering.
protected oracle.jbo.html.databeans.chart.RowOrderChartDataSource getChartDataSource()
Deprecated. get the chart data source
java.lang.String getCommonScriptName()
Deprecated.
java.util.Vector getDisplayAttributes()
Deprecated. get the current list of mapped columns
java.lang.String getDisplayColumnIndices()
Deprecated. get list of column indices from the View object which is used to draw chart.
int getImageHeight()
Deprecated. get the width of the chart image to be generated
int getImageWidth()
Deprecated. get the width of the chart image to be generated
java.lang.String getSeriesLabelColumnName()
Deprecated. get the name of the column in the view object which is currently used as series labels.
void init(javax.servlet.jsp.PageContext pageContext)
Deprecated.
void internalInitialize()
Deprecated. Internal initialize.
protected void processElement(java.lang.String k, java.lang.String val)
Deprecated. set property for a given name-value pair
protected void processUrlProperties(java.util.Hashtable h)
Deprecated. For each property name-value pair speicifed in the URL, invoke the set method on the bean
protected void readUrlProperties()
Deprecated. One or more property values for the ChartRenderer or the Perspective bean can be passed in the URL.
protected void registerCleanup()
Deprecated. register HTTP Session binding listner to cleanup the chart objects generated in this session
void render()
Deprecated. Generates a IMG tag pointing to the common JSP page to generate the chart.
void setCommonScriptName(java.lang.String name)
Deprecated. Specify the JSP file which generates the chart.
void setDisplayAttributes(java.lang.String s)
Deprecated. Specify mapping description using columnNames.
void setDisplayColumnIndices(java.lang.String indices)
Deprecated. Specify mapping description using column indices.
void setImageHeight(int height)
Deprecated. set the height of the chart image to be generated
void setImageWidth(int width)
Deprecated. set the width of the chart to be generated.
void setSeriesLabelColumnName(java.lang.String columnName)
Deprecated. Specify the name of the column in the ViewObject which should be used as series labels
protected void unregisterCleanup()
Deprecated. unregister HTTP Session binding listner used to cleanup the chart objects generated in this session
void valueBound(javax.servlet.http.HttpSessionBindingEvent event)
Deprecated.
void valueUnbound(javax.servlet.http.HttpSessionBindingEvent event)
Deprecated.

Methods inherited from class oracle.jbo.html.DataWebBeanImpl
initialize, setUsedInTag

Methods inherited from class oracle.jdeveloper.html.DataWebBeanImpl
clearDisplayAttributes, getApplicationFromContext, getApplicationName, getAttributeLabel, getDisplayAttributeDefs, getDisplayFieldRenderer, getEditFieldRenderer, getRowKey, getRowSet, getViewObjectName, handleCommit, initialize, initialize, initialize, isAppStateful, releaseApplicationResources, releaseApplicationResources, setDisplayFieldRenderer, setDisplayFieldRenderer, setEditFieldRenderer, setEditFieldRenderer, setReleaseApplicationResources, setRowSet, shouldDisplayAttribute

Methods inherited from class oracle.jdeveloper.html.WebBeanImpl
generateScriptSrc, getCookie, getOut, getRequest, getRequestVariable, getRequestVariable, getUniqueName, initBeanForJS, initBeanForJS, initBeanForJS, initialize, initialize, initialize, render, setRequestVariable, setRequestVariable

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Methods inherited from interface oracle.jdeveloper.html.DataWebBean
clearDisplayAttributes, getApplicationName, getDisplayAttributeDefs, getDisplayFieldRenderer, getEditFieldRenderer, getRowSet, getViewObjectName, handleCommit, initialize, initialize, isAppStateful, setDisplayFieldRenderer, setDisplayFieldRenderer, setEditFieldRenderer, setEditFieldRenderer, setReleaseApplicationResources, setRowSet, shouldDisplayAttribute

Methods inherited from interface oracle.jdeveloper.html.WebBean
initialize, initialize, render

Field Detail

THREED_BARS

public static final int THREED_BARS
Deprecated.
See Also:
Constant Field Values

THREED_PYRAMIDS

public static final int THREED_PYRAMIDS
Deprecated.
See Also:
Constant Field Values

THREED_OCTAGONS

public static final int THREED_OCTAGONS
Deprecated.
See Also:
Constant Field Values

THREED_FLOATING_CUBES

public static final int THREED_FLOATING_CUBES
Deprecated.
See Also:
Constant Field Values

THREED_FLOATING_PYRAMIDS

public static final int THREED_FLOATING_PYRAMIDS
Deprecated.
See Also:
Constant Field Values

THREED_FLOATING_CONNECTED_SERIES_AREA

public static final int THREED_FLOATING_CONNECTED_SERIES_AREA
Deprecated.
See Also:
Constant Field Values

THREED_FLOATING_CONNECTED_SERIES_RIBBON

public static final int THREED_FLOATING_CONNECTED_SERIES_RIBBON
Deprecated.
See Also:
Constant Field Values

THREED_FLOATING_CONNECTED_GROUP_AREA

public static final int THREED_FLOATING_CONNECTED_GROUP_AREA
Deprecated.
See Also:
Constant Field Values

THREED_FLOATING_CONNECTED_GROUP_RIBBON

public static final int THREED_FLOATING_CONNECTED_GROUP_RIBBON
Deprecated.
See Also:
Constant Field Values

THREED_SURFACE

public static final int THREED_SURFACE
Deprecated.
See Also:
Constant Field Values

THREED_SURFACE_WITH_SIDES

public static final int THREED_SURFACE_WITH_SIDES
Deprecated.
See Also:
Constant Field Values

THREED_HONEYCOMB_SURFACE

public static final int THREED_HONEYCOMB_SURFACE
Deprecated.
See Also:
Constant Field Values

VERTICAL_CLUSTERED_BARS

public static final int VERTICAL_CLUSTERED_BARS
Deprecated.
See Also:
Constant Field Values

VERTICAL_STACKED_BARS

public static final int VERTICAL_STACKED_BARS
Deprecated.
See Also:
Constant Field Values

VERTICAL_DUAL_AXIS_CLUSTERED_BARS

public static final int VERTICAL_DUAL_AXIS_CLUSTERED_BARS
Deprecated.
See Also:
Constant Field Values

VERTICAL_DUAL_AXIS_STACKED_BARS

public static final int VERTICAL_DUAL_AXIS_STACKED_BARS
Deprecated.
See Also:
Constant Field Values

VERTICAL_BI_POLAR_CLUSTERED_BARS

public static final int VERTICAL_BI_POLAR_CLUSTERED_BARS
Deprecated.
See Also:
Constant Field Values

VERTICAL_BI_POLAR_STACKED_BARS

public static final int VERTICAL_BI_POLAR_STACKED_BARS
Deprecated.
See Also:
Constant Field Values

VERTICAL_PERCENT_BARS

public static final int VERTICAL_PERCENT_BARS
Deprecated.
See Also:
Constant Field Values

HORIZONTAL_CLUSTERED_BARS

public static final int HORIZONTAL_CLUSTERED_BARS
Deprecated.
See Also:
Constant Field Values

HORIZONTAL_STACKED_BARS

public static final int HORIZONTAL_STACKED_BARS
Deprecated.
See Also:
Constant Field Values

HORIZONTAL_DUAL_AXIS_CLUSTERED_BARS

public static final int HORIZONTAL_DUAL_AXIS_CLUSTERED_BARS
Deprecated.
See Also:
Constant Field Values

HORIZONTAL_DUAL_AXIS_STACKED_BARS

public static final int HORIZONTAL_DUAL_AXIS_STACKED_BARS
Deprecated.
See Also:
Constant Field Values

HORIZONTAL_BI_POLAR_CLUSTERED_BARS

public static final int HORIZONTAL_BI_POLAR_CLUSTERED_BARS
Deprecated.
See Also:
Constant Field Values

HORIZONTAL_BI_POLAR_STACKED_BARS

public static final int HORIZONTAL_BI_POLAR_STACKED_BARS
Deprecated.
See Also:
Constant Field Values

HORIZONTAL_PERCENT_BARS

public static final int HORIZONTAL_PERCENT_BARS
Deprecated.
See Also:
Constant Field Values

VERTICAL_ABSOLUTE_AREA

public static final int VERTICAL_ABSOLUTE_AREA
Deprecated.
See Also:
Constant Field Values

VERTICAL_STACKED_AREA

public static final int VERTICAL_STACKED_AREA
Deprecated.
See Also:
Constant Field Values

VERTICAL_BI_POLAR_ABSOLUTE_AREA

public static final int VERTICAL_BI_POLAR_ABSOLUTE_AREA
Deprecated.
See Also:
Constant Field Values

VERTICAL_BI_POLAR_STACKED_AREA

public static final int VERTICAL_BI_POLAR_STACKED_AREA
Deprecated.
See Also:
Constant Field Values

VERTICAL_PERCENT_AREA

public static final int VERTICAL_PERCENT_AREA
Deprecated.
See Also:
Constant Field Values

HORIZONTAL_ABSOLUTE_AREA

public static final int HORIZONTAL_ABSOLUTE_AREA
Deprecated.
See Also:
Constant Field Values

HORIZONTAL_STACKED_AREA

public static final int HORIZONTAL_STACKED_AREA
Deprecated.
See Also:
Constant Field Values

HORIZONTAL_BI_POLAR_ABSOLUTE_AREA

public static final int HORIZONTAL_BI_POLAR_ABSOLUTE_AREA
Deprecated.
See Also:
Constant Field Values

HORIZONTAL_BI_POLAR_STACKED_AREA

public static final int HORIZONTAL_BI_POLAR_STACKED_AREA
Deprecated.
See Also:
Constant Field Values

HORIZONTAL_PERCENT_AREA

public static final int HORIZONTAL_PERCENT_AREA
Deprecated.
See Also:
Constant Field Values

VERTICAL_ABSOLUTE_LINE

public static final int VERTICAL_ABSOLUTE_LINE
Deprecated.
See Also:
Constant Field Values

VERTICAL_STACKED_LINE

public static final int VERTICAL_STACKED_LINE
Deprecated.
See Also:
Constant Field Values

VERTICAL_DUAL_AXIS_ABSOLUTE_LINE

public static final int VERTICAL_DUAL_AXIS_ABSOLUTE_LINE
Deprecated.
See Also:
Constant Field Values

VERTICAL_DUAL_AXIS_STACKED_LINE

public static final int VERTICAL_DUAL_AXIS_STACKED_LINE
Deprecated.
See Also:
Constant Field Values

VERTICAL_BI_POLAR_ABSOLUTE_LINE

public static final int VERTICAL_BI_POLAR_ABSOLUTE_LINE
Deprecated.
See Also:
Constant Field Values

VERTICAL_BI_POLAR_STACKED_LINE

public static final int VERTICAL_BI_POLAR_STACKED_LINE
Deprecated.
See Also:
Constant Field Values

VERTICAL_PERCENT_LINE

public static final int VERTICAL_PERCENT_LINE
Deprecated.
See Also:
Constant Field Values

HORIZONTAL_ABSOLUTE_LINE

public static final int HORIZONTAL_ABSOLUTE_LINE
Deprecated.
See Also:
Constant Field Values

HORIZONTAL_STACKED_LINE

public static final int HORIZONTAL_STACKED_LINE
Deprecated.
See Also:
Constant Field Values

HORIZONTAL_DUAL_AXIS_ABSOLUTE_LINE

public static final int HORIZONTAL_DUAL_AXIS_ABSOLUTE_LINE
Deprecated.
See Also:
Constant Field Values

HORIZONTAL_DUAL_AXIS_STACKED_LINE

public static final int HORIZONTAL_DUAL_AXIS_STACKED_LINE
Deprecated.
See Also:
Constant Field Values

HORIZONTAL_BI_POLAR_ABSOLUTE_LINE

public static final int HORIZONTAL_BI_POLAR_ABSOLUTE_LINE
Deprecated.
See Also:
Constant Field Values

HORIZONTAL_BI_POLAR_STACKED_LINE

public static final int HORIZONTAL_BI_POLAR_STACKED_LINE
Deprecated.
See Also:
Constant Field Values

HORIZONTAL_PERCENT_LINE

public static final int HORIZONTAL_PERCENT_LINE
Deprecated.
See Also:
Constant Field Values

PIE

public static final int PIE
Deprecated.
See Also:
Constant Field Values

RING_PIE

public static final int RING_PIE
Deprecated.
See Also:
Constant Field Values

MULTI_PIE

public static final int MULTI_PIE
Deprecated.
See Also:
Constant Field Values

MULTI_RING_PIE

public static final int MULTI_RING_PIE
Deprecated.
See Also:
Constant Field Values

MULTI_PROPORTIONAL_PIE

public static final int MULTI_PROPORTIONAL_PIE
Deprecated.
See Also:
Constant Field Values

MULTI_PROPORTIONAL_RING_PIE

public static final int MULTI_PROPORTIONAL_RING_PIE
Deprecated.
See Also:
Constant Field Values

PIE_BAR_CHART

public static final int PIE_BAR_CHART
Deprecated.
See Also:
Constant Field Values

RING_PIE_BAR_CHART

public static final int RING_PIE_BAR_CHART
Deprecated.
See Also:
Constant Field Values

XY_SCATTER

public static final int XY_SCATTER
Deprecated.
See Also:
Constant Field Values

XY_SCATTER_DUAL_AXIS

public static final int XY_SCATTER_DUAL_AXIS
Deprecated.
See Also:
Constant Field Values

XY_SCATTER_WITH_LABELS

public static final int XY_SCATTER_WITH_LABELS
Deprecated.
See Also:
Constant Field Values

XY_SCATTER_WITH_LABELS_DUAL_AXIS

public static final int XY_SCATTER_WITH_LABELS_DUAL_AXIS
Deprecated.
See Also:
Constant Field Values

POLAR

public static final int POLAR
Deprecated.
See Also:
Constant Field Values

POLAR_DUAL_AXIS

public static final int POLAR_DUAL_AXIS
Deprecated.
See Also:
Constant Field Values

RADAR_LINE

public static final int RADAR_LINE
Deprecated.
See Also:
Constant Field Values

RADAR_AREA

public static final int RADAR_AREA
Deprecated.
See Also:
Constant Field Values

RADAR_LINE_DUAL_AXIS

public static final int RADAR_LINE_DUAL_AXIS
Deprecated.
See Also:
Constant Field Values

OPEN_HI_LO_CLOSE_CANDLE_STOCK_CHART

public static final int OPEN_HI_LO_CLOSE_CANDLE_STOCK_CHART
Deprecated.
See Also:
Constant Field Values

OPEN_HI_LO_CLOSE_CANDLE_STOCK_CHART_VOLUME

public static final int OPEN_HI_LO_CLOSE_CANDLE_STOCK_CHART_VOLUME
Deprecated.
See Also:
Constant Field Values

CANDLE_STOCK_HI_LO_OPEN_CLOSE

public static final int CANDLE_STOCK_HI_LO_OPEN_CLOSE
Deprecated.
See Also:
Constant Field Values

STOCK_HI_LO

public static final int STOCK_HI_LO
Deprecated.
See Also:
Constant Field Values

STOCK_HI_LO_DUAL_AXIS

public static final int STOCK_HI_LO_DUAL_AXIS
Deprecated.
See Also:
Constant Field Values

STOCK_HI_LO_BI_POLAR

public static final int STOCK_HI_LO_BI_POLAR
Deprecated.
See Also:
Constant Field Values

STOCK_HI_LO_CLOSE

public static final int STOCK_HI_LO_CLOSE
Deprecated.
See Also:
Constant Field Values

STOCK_HI_LO_CLOSE_DUAL_AXIS

public static final int STOCK_HI_LO_CLOSE_DUAL_AXIS
Deprecated.
See Also:
Constant Field Values

STOCK_HI_LO_OPEN_CLOSE

public static final int STOCK_HI_LO_OPEN_CLOSE
Deprecated.
See Also:
Constant Field Values

STOCK_HI_LO_OPEN_CLOSE_DUAL_AXIS

public static final int STOCK_HI_LO_OPEN_CLOSE_DUAL_AXIS
Deprecated.
See Also:
Constant Field Values

STOCK_HI_LO_OPEN_CLOSE_BI_POLAR

public static final int STOCK_HI_LO_OPEN_CLOSE_BI_POLAR
Deprecated.
See Also:
Constant Field Values

STOCK_HI_LO_VOLUME

public static final int STOCK_HI_LO_VOLUME
Deprecated.
See Also:
Constant Field Values

STOCK_HI_LO_OPEN_CLOSE_VOLUME

public static final int STOCK_HI_LO_OPEN_CLOSE_VOLUME
Deprecated.
See Also:
Constant Field Values

CANDLE_STOCK_HI_LO_OPEN_CLOSE_VOLUME

public static final int CANDLE_STOCK_HI_LO_OPEN_CLOSE_VOLUME
Deprecated.
See Also:
Constant Field Values

VERTICAL_HISTOGRAM

public static final int VERTICAL_HISTOGRAM
Deprecated.
See Also:
Constant Field Values

HORIZONTAL_HISTOGRAM

public static final int HORIZONTAL_HISTOGRAM
Deprecated.
See Also:
Constant Field Values

SPECTRAL_MAP

public static final int SPECTRAL_MAP
Deprecated.
See Also:
Constant Field Values

BUBBLE_CHART

public static final int BUBBLE_CHART
Deprecated.
See Also:
Constant Field Values

BUBBLE_CHART_LABELS

public static final int BUBBLE_CHART_LABELS
Deprecated.
See Also:
Constant Field Values

BUBBLE_CHART_DUAL_AXIS

public static final int BUBBLE_CHART_DUAL_AXIS
Deprecated.
See Also:
Constant Field Values

BUBBLE_CHART_LABELS_DUAL_AXIS

public static final int BUBBLE_CHART_LABELS_DUAL_AXIS
Deprecated.
See Also:
Constant Field Values

cleanupRegistered

protected static boolean cleanupRegistered
Deprecated.
register listener to clean up

prefixString

protected static java.lang.String prefixString
Deprecated.
unique prefix., used while generating key for image objects stored in the session. Later used in cleanup when the session expires

ID

protected static final java.lang.String ID
Deprecated.
used in the url to identify the chart id
See Also:
Constant Field Values

VIEWNAME

public static final java.lang.String VIEWNAME
Deprecated.
used in the url to idenfiy the view name
See Also:
Constant Field Values

commonScriptName

protected java.lang.String commonScriptName
Deprecated.
name of the common jsp file which is shared by all chart objects The common jsp file invokes the render method. All other chart reference invoke the execute method

Constructor Detail

ChartRenderer

public ChartRenderer()
Deprecated.
Constructor

Method Detail

init

public void init(javax.servlet.jsp.PageContext pageContext)
Deprecated.

internalInitialize

public void internalInitialize()
                        throws java.lang.Exception
Deprecated.
Description copied from interface: WebBean
Internal initialize. This method should be overriden by any WebBean needing to initialize some internal data after all the base class member have been initialize properly.
Specified by:
internalInitialize in interface WebBean
Overrides:
internalInitialize in class DataWebBeanImpl
Throws:
java.lang.Exception

setDisplayAttributes

public void setDisplayAttributes(java.lang.String s)
Deprecated.
Specify mapping description using columnNames.
Specified by:
setDisplayAttributes in interface DataWebBean
Overrides:
setDisplayAttributes in class DataWebBeanImpl
Parameters:
s - List of column names in the underlying View object The resultant data source will have as column 0, column values from the view object whose column name is columnNames[0] and so on. A Comma seperated list should be provided (ex) "comm,deptno,sales"
See Also:
setDisplayColumnIndices()

getDisplayAttributes

public java.util.Vector getDisplayAttributes()
Deprecated.
get the current list of mapped columns
Specified by:
getDisplayAttributes in interface DataWebBean
Overrides:
getDisplayAttributes in class DataWebBeanImpl
Returns:
list of columns from the View which is used to draw chart.

setDisplayColumnIndices

public void setDisplayColumnIndices(java.lang.String indices)
Deprecated.
Specify mapping description using column indices. This is an alternative way to specify the columns from the ViewObject which are used to draw chart.
Parameters:
indices - List of column indices in the underlying View object The resultant data source will have as column 0, column values from the view object whose column index is indices[0] and so on.

getDisplayColumnIndices

public java.lang.String getDisplayColumnIndices()
Deprecated.
get list of column indices from the View object which is used to draw chart.
Returns:
list of column indices - comma seperated.

setSeriesLabelColumnName

public void setSeriesLabelColumnName(java.lang.String columnName)
Deprecated.
Specify the name of the column in the ViewObject which should be used as series labels

getSeriesLabelColumnName

public java.lang.String getSeriesLabelColumnName()
Deprecated.
get the name of the column in the view object which is currently used as series labels.

render

public void render()
Deprecated.
Generates a IMG tag pointing to the common JSP page to generate the chart. This object is stored in the HttpSession and an identifier is passed in the URL.
Specified by:
render in interface WebBean
Overrides:
render in class WebBeanImpl
See Also:
execute()

execute

public void execute()
Deprecated.
render chart. This method generates the chart for this object or if a chart is specified in the URL, generates the chart for the specified object.
See Also:
render();

execute

protected void execute(java.lang.Object o)
Deprecated.

setImageWidth

public void setImageWidth(int width)
Deprecated.
set the width of the chart to be generated.
Parameters:
width - of the chart to be generated

getImageWidth

public int getImageWidth()
Deprecated.
get the width of the chart image to be generated
Returns:
current width of the chart.

setImageHeight

public void setImageHeight(int height)
Deprecated.
set the height of the chart image to be generated
Parameters:
height - Height of the chart image generated

getImageHeight

public int getImageHeight()
Deprecated.
get the width of the chart image to be generated
Returns:
current width of the chart.

getChart

public tdg.Perspective getChart()
Deprecated.
get the Perspective bean which does the rendering.
Returns:
the chart bean

setCommonScriptName

public void setCommonScriptName(java.lang.String name)
Deprecated.
Specify the JSP file which generates the chart. This JSP file instantiates a chart object and invokes the render method.

getCommonScriptName

public java.lang.String getCommonScriptName()
Deprecated.

readUrlProperties

protected void readUrlProperties()
Deprecated.
One or more property values for the ChartRenderer or the Perspective bean can be passed in the URL. The name-value pairs are parsed and the value is set on the bean. The following files contains the list of properties for PFJ bean and the chart bean PFJ_PROPERTIES_FILE_NAME, CHART_RENDERER_PROPERTIES_FILE_NAME

processUrlProperties

protected void processUrlProperties(java.util.Hashtable h)
Deprecated.
For each property name-value pair speicifed in the URL, invoke the set method on the bean

processElement

protected void processElement(java.lang.String k,
                              java.lang.String val)
Deprecated.
set property for a given name-value pair

generateImage

protected void generateImage(ChartRenderer c)
Deprecated.
generate the GIF file and serve the image

getChartDataSource

protected oracle.jbo.html.databeans.chart.RowOrderChartDataSource getChartDataSource()
Deprecated.
get the chart data source

registerCleanup

protected void registerCleanup()
Deprecated.
register HTTP Session binding listner to cleanup the chart objects generated in this session

unregisterCleanup

protected void unregisterCleanup()
Deprecated.
unregister HTTP Session binding listner used to cleanup the chart objects generated in this session

generateUniqueId

protected java.lang.String generateUniqueId()
Deprecated.
generated an unique id to identify chart., used in the url parameter

valueBound

public void valueBound(javax.servlet.http.HttpSessionBindingEvent event)
Deprecated.
Specified by:
valueBound in interface javax.servlet.http.HttpSessionBindingListener

valueUnbound

public void valueUnbound(javax.servlet.http.HttpSessionBindingEvent event)
Deprecated.
Specified by:
valueUnbound in interface javax.servlet.http.HttpSessionBindingListener

Oracle ADF Model and Business Components API Reference 10.1.2 B14022-02


Copyright © 1997, 2005, Oracle. All rights reserved.