|
Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.jdeveloper.html.WebBeanImpl oracle.jdeveloper.html.DataWebBeanImpl oracle.jbo.html.DataWebBeanImpl oracle.jbo.html.databeans.ChartRenderer
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 :
<jsp:useBean class="oracle.jbo.html.databeans.ChartRenderer id="c" scope="request" > <% 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(); %> </jsp:useBean> //ChartCommon.jsp
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.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 |
public static final int THREED_BARS
public static final int THREED_PYRAMIDS
public static final int THREED_OCTAGONS
public static final int THREED_FLOATING_CUBES
public static final int THREED_FLOATING_PYRAMIDS
public static final int THREED_FLOATING_CONNECTED_SERIES_AREA
public static final int THREED_FLOATING_CONNECTED_SERIES_RIBBON
public static final int THREED_FLOATING_CONNECTED_GROUP_AREA
public static final int THREED_FLOATING_CONNECTED_GROUP_RIBBON
public static final int THREED_SURFACE
public static final int THREED_SURFACE_WITH_SIDES
public static final int THREED_HONEYCOMB_SURFACE
public static final int VERTICAL_CLUSTERED_BARS
public static final int VERTICAL_STACKED_BARS
public static final int VERTICAL_DUAL_AXIS_CLUSTERED_BARS
public static final int VERTICAL_DUAL_AXIS_STACKED_BARS
public static final int VERTICAL_BI_POLAR_CLUSTERED_BARS
public static final int VERTICAL_BI_POLAR_STACKED_BARS
public static final int VERTICAL_PERCENT_BARS
public static final int HORIZONTAL_CLUSTERED_BARS
public static final int HORIZONTAL_STACKED_BARS
public static final int HORIZONTAL_DUAL_AXIS_CLUSTERED_BARS
public static final int HORIZONTAL_DUAL_AXIS_STACKED_BARS
public static final int HORIZONTAL_BI_POLAR_CLUSTERED_BARS
public static final int HORIZONTAL_BI_POLAR_STACKED_BARS
public static final int HORIZONTAL_PERCENT_BARS
public static final int VERTICAL_ABSOLUTE_AREA
public static final int VERTICAL_STACKED_AREA
public static final int VERTICAL_BI_POLAR_ABSOLUTE_AREA
public static final int VERTICAL_BI_POLAR_STACKED_AREA
public static final int VERTICAL_PERCENT_AREA
public static final int HORIZONTAL_ABSOLUTE_AREA
public static final int HORIZONTAL_STACKED_AREA
public static final int HORIZONTAL_BI_POLAR_ABSOLUTE_AREA
public static final int HORIZONTAL_BI_POLAR_STACKED_AREA
public static final int HORIZONTAL_PERCENT_AREA
public static final int VERTICAL_ABSOLUTE_LINE
public static final int VERTICAL_STACKED_LINE
public static final int VERTICAL_DUAL_AXIS_ABSOLUTE_LINE
public static final int VERTICAL_DUAL_AXIS_STACKED_LINE
public static final int VERTICAL_BI_POLAR_ABSOLUTE_LINE
public static final int VERTICAL_BI_POLAR_STACKED_LINE
public static final int VERTICAL_PERCENT_LINE
public static final int HORIZONTAL_ABSOLUTE_LINE
public static final int HORIZONTAL_STACKED_LINE
public static final int HORIZONTAL_DUAL_AXIS_ABSOLUTE_LINE
public static final int HORIZONTAL_DUAL_AXIS_STACKED_LINE
public static final int HORIZONTAL_BI_POLAR_ABSOLUTE_LINE
public static final int HORIZONTAL_BI_POLAR_STACKED_LINE
public static final int HORIZONTAL_PERCENT_LINE
public static final int PIE
public static final int RING_PIE
public static final int MULTI_PIE
public static final int MULTI_RING_PIE
public static final int MULTI_PROPORTIONAL_PIE
public static final int MULTI_PROPORTIONAL_RING_PIE
public static final int PIE_BAR_CHART
public static final int RING_PIE_BAR_CHART
public static final int XY_SCATTER
public static final int XY_SCATTER_DUAL_AXIS
public static final int XY_SCATTER_WITH_LABELS
public static final int XY_SCATTER_WITH_LABELS_DUAL_AXIS
public static final int POLAR
public static final int POLAR_DUAL_AXIS
public static final int RADAR_LINE
public static final int RADAR_AREA
public static final int RADAR_LINE_DUAL_AXIS
public static final int OPEN_HI_LO_CLOSE_CANDLE_STOCK_CHART
public static final int OPEN_HI_LO_CLOSE_CANDLE_STOCK_CHART_VOLUME
public static final int CANDLE_STOCK_HI_LO_OPEN_CLOSE
public static final int STOCK_HI_LO
public static final int STOCK_HI_LO_DUAL_AXIS
public static final int STOCK_HI_LO_BI_POLAR
public static final int STOCK_HI_LO_CLOSE
public static final int STOCK_HI_LO_CLOSE_DUAL_AXIS
public static final int STOCK_HI_LO_OPEN_CLOSE
public static final int STOCK_HI_LO_OPEN_CLOSE_DUAL_AXIS
public static final int STOCK_HI_LO_OPEN_CLOSE_BI_POLAR
public static final int STOCK_HI_LO_VOLUME
public static final int STOCK_HI_LO_OPEN_CLOSE_VOLUME
public static final int CANDLE_STOCK_HI_LO_OPEN_CLOSE_VOLUME
public static final int VERTICAL_HISTOGRAM
public static final int HORIZONTAL_HISTOGRAM
public static final int SPECTRAL_MAP
public static final int BUBBLE_CHART
public static final int BUBBLE_CHART_LABELS
public static final int BUBBLE_CHART_DUAL_AXIS
public static final int BUBBLE_CHART_LABELS_DUAL_AXIS
protected static boolean cleanupRegistered
protected static java.lang.String prefixString
protected static final java.lang.String ID
public static final java.lang.String VIEWNAME
protected java.lang.String commonScriptName
Constructor Detail |
public ChartRenderer()
Method Detail |
public void init(javax.servlet.jsp.PageContext pageContext)
public void internalInitialize() throws java.lang.Exception
WebBean
internalInitialize
in interface WebBean
internalInitialize
in class DataWebBeanImpl
java.lang.Exception
public void setDisplayAttributes(java.lang.String s)
setDisplayAttributes
in interface DataWebBean
setDisplayAttributes
in class DataWebBeanImpl
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"setDisplayColumnIndices()
public java.util.Vector getDisplayAttributes()
getDisplayAttributes
in interface DataWebBean
getDisplayAttributes
in class DataWebBeanImpl
public void setDisplayColumnIndices(java.lang.String indices)
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.public java.lang.String getDisplayColumnIndices()
public void setSeriesLabelColumnName(java.lang.String columnName)
public java.lang.String getSeriesLabelColumnName()
public void render()
render
in interface WebBean
render
in class WebBeanImpl
execute()
public void execute()
render();
protected void execute(java.lang.Object o)
public void setImageWidth(int width)
width
- of the chart to be generatedpublic int getImageWidth()
public void setImageHeight(int height)
height
- Height of the chart image generatedpublic int getImageHeight()
public tdg.Perspective getChart()
public void setCommonScriptName(java.lang.String name)
public java.lang.String getCommonScriptName()
protected void readUrlProperties()
protected void processUrlProperties(java.util.Hashtable h)
protected void processElement(java.lang.String k, java.lang.String val)
protected void generateImage(ChartRenderer c)
protected oracle.jbo.html.databeans.chart.RowOrderChartDataSource getChartDataSource()
protected void registerCleanup()
protected void unregisterCleanup()
protected java.lang.String generateUniqueId()
public void valueBound(javax.servlet.http.HttpSessionBindingEvent event)
valueBound
in interface javax.servlet.http.HttpSessionBindingListener
public void valueUnbound(javax.servlet.http.HttpSessionBindingEvent event)
valueUnbound
in interface javax.servlet.http.HttpSessionBindingListener
|
Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.