WebFOCUS Charts and Graphs
The following are upgrade considerations
and product changes for WebFOCUS charts and graphs:
In WebFOCUS 8, HTML5 graph output replaces
the applet-based graphs supported in prior releases. The following
graph parameter settings are no longer supported. If they are present,
they will be ignored:
SET GRAPHENGINE = {GRAPH32|OLD}
SET GRAPPLET ONLY=ON
SET GRAPHEDIT=OFF
SET GRAPHEDIT=ON
ON GRAPH SET GRAPPLETONLY ON
ON GRAPH SET GRAPHEDIT OFF
ON GRAPH SET GRAPHEDIT ON
ON GRAPH SET GRAPHENGINE {GRAPH32|OLD}
ON TABLE SET GRAPPLETONLY ON
ON TABLE SET GRAPHEDIT OFF
ON TABLE SET GRAPHEDIT ON
xHTML5 New Features and Upgrades
This topic lists HTML5 new features
and upgrades.
-
Two
new marker shapes are available. The marker shape, circlePlus, displays
a circle with a plus sign (+) centered in it. The marker shape,
circleMinus, displays a circle with a minus sign (-) centered in
it.
-
The
SET CURRSYMB command, which specifies a currency symbol to be displayed
with currency values whose format specifications include the M or
N display options, is now supported for all output formats, except
AHTML, APDF, and AFLEX.
-
Using
the JSCHART property, chart.dataLabels.UseNegativeColor, you can
apply a different color to data labels for negative values than
the color used for positive values. The color used will be the one
defined by the chart.colorMode.negColor property. You can insert
the chart.dataLabels.UseNegativeColor property into the chart by
issuing the setUseNegativeDataTextColor(true) API call.
xDifferences Between HTML5 Charts and Server-Generated Charts
This topic lists known differences
between HTML5 charts and the legacy server-generated charts.
-
The HTML5 chart engine, which is also used
by AHTML, APDF, and AFLEX formats, uses a different algorithm for
formatting datatext for risers than the legacy chart engine. The HTML5
automatic numeric formatting determines whether the datatext for
risers displays decimal places, and if so, how many. Values under
10000 get decimal precision, so that 22.8 is displayed as 22.8,
but 33.0 is displayed as 33. Above that, rounding occurs, and the
numbers may be compressed and displayed with a factor, such as K.
In
addition, while the x-axis tooltips in HTML5 charts are displayed
with a separator, such as a comma (,) for the thousands digit, those
in the server-generated charts are not.
-
For
HTML5, as well as AFLEX, APDF, and AHTML charts, underlining is
not supported for any font object.
-
The
highlight effect applied in an HTML5 chart depends on the GRAPHTYPE
parameter. The riser may be made brighter or a different color,
or, in the case of area charts with no markers, show a little circle
that represents the current data point.
-
Legend
Orientation is not currently supported in HTML5 chart output. The
top and bottom positions are always HORIZONTAL and the left and
right positions are always VERTICAL.
x
The term static graphs refers
to server-generated images (usually .PNG format). In contrast, client-side
HTML5-rendered charts are highly interactive dynamic graphs, built
using a JavaScript charting engine and attached to the Document
Object Model (DOM) in SVG format.
The following chart types are available
for HTML5 charts.
-
Pie. Pie
bar and proportional pie subtypes are currently supported only for
static graphs.
-
Bar. BiPolar
splits with Y1 on top and Y2 on bottom are currently supported only
for static graphs.
-
Column. BiPolar
splits with Y1 on top and Y2 on bottom are currently supported only
for static graphs.
-
Line. BiPolar
splits with Y1 on top and Y2 on bottom are currently supported only
for static graphs.
-
Combo (bar/line/area).
-
3D Bars.
-
3D Ribbons.
-
3D Other. 3D
spheres, pyramids, and cones are currently supported only for static
graphs.
-
Histogram.
-
Stock.
-
Circular Gauge.
-
Funnel/Pyramid.
-
Scatter.
-
Bubble.
-
Waterfall.
-
Radar (circular line).
-
Polar (circular scatter).
-
BoxPlot.
-
SpectralMap.
-
TagCloud.
-
Mekko.
-
TreeMap.
-
Parabox.
-
Streamgraphs.
Note: Thermometer charts are currently only
supported for static graphs.