Databases Reference
In-Depth Information
Figure 2-17.
The region definition of the chart line by line
Figure 2-17 provides a detailed explanation of the region definition:
Line 1 and 2 (IE) and line 23 (non-IE): Define the object
classid
and
codebase
used
by Internet Explorer (IE) to identify the object and recognize it as a Flash object.
The
classid
identifies the ActiveX control for the browser (IE). The codebase (IE)
and pluginspage (non-IE) identifies the location of the Flash Player ActiveX
control (IE) or plug-in (non-IE) so that the browser can automatically download it
if it is not already installed. The
#HOST_PROTOCOL#
is either
http
or
https
, depending
on the settings in Manage Instance - Security of your Oracle APEX instance.
•
•
Line 3 and 4 (IE), line 16 and 17 (non-IE): Define the width and height of the Flash
object in pixels or % of browser window. The
#WIDTH#
and
#HEIGHT#
tokens are
replaced by the value defined in the Chart Attributes.
Line 5 (IE) and line 18 (non-IE): Define the
id
of the
object
tag in IE and the
name
attribute for the
embed
tag in non-IE. The
#CHART_NAME#
is replaced by
c
concatenated with the region id. (See Oracle APEX view:
APEX_APPLICATION_PAGE_FLASH5
.)
•
•
Line 6 (IE) and line 20 (non-IE): Define the alignment of the Flash object.
Line 7 (IE) and line 14 (non IE): The
movie
parameter in IE and the
src
parameter
in the
embed
tag for non-IE browsers specifies the location (URL) of the chart to
load.
•
•
APEX ships with the AnyChart files that Oracle licensed, and this is the location
they are in:
#IMAGE_PREFIX#
is defined in the Application Attributes and is most likely
/i/
.
•
#CHART_TYPE#
gets replaced by the chart type (for example,
OracleAnyChart.swf
).
•
#HOST#
gets replaced by the webserver address.
•
#REGION_ID#
is the region id the chart is in.
•