In WebFOCUS 8, charting options have been expanded to
include more advanced properties, as well as a new output format
that allows you to render a chart in the browser using a built-in
JavaScript engine.
xWebFOCUS Graphics and Charts
You can include API calls in WebFOCUS procedures to
create dynamic, sophisticated server-side graphs that showcase your
business data. You can generate HTML5 charts that can be customized
using both the WebFOCUS API calls and JavaScript Object Notation
(JSON) properties.
x
Release 8.1 Version 05M
-
Controlling Number Formats for Labels and Tooltips. The autoNumberFormats
object enables you to set number formats for data labels, total labels,
stacked total labels, and tooltips.
Release 8.1 Version 03
-
Nearest Neighbor Tooltip Detection. The
default tooltip detection method has been changed for line, area,
and scatter charts so that when the mouse pointer moves off a point,
the tooltip disappears. To restore the previous behavior for line,
scatter, and area charts, you can add the mousemove:'nearestNeighbor'
property to the interaction object.
-
Displaying Data Text Labels on a Bubblemap. Data
text labels will display on a bubblemap if you show data values
for all series and set the dataLabels property to true.
-
Gauge Chart Minor Grid Line Support. Gauge
charts now support yaxis:minorGrid properties. By default, the minor
grid lines are visible.
-
Support for Discrete Color Bands in Color Scales. Discrete
color mode visualizes the colorScale in discrete color bands for
heatmaps and choropleths.
-
Hiding an Extrapolated Line That Starts Before Actual Values. By default,
if missing values are shown on a line chart, and if they start before
the start of actual values in the data source, the line is extrapolated
to include those missing values. The missingDataExtrapolate:false
property omits those extrapolated values from the chart output.
-
Annotations. An
annotation is text, a marker, or both that you want to place anywhere
on a chart. Multiple annotations can be defined within the annotations array.
-
SVG Color Patterns. In
some cases, you may want to use patterns to distinguish chart elements
such as risers and markers, or to fill chart frames. This can be
a useful technique in black and white environments where colors
are not distinguishable.
x
Release 8.1 Version 03
-
Format Option for the Stack Total Value. When
generating a stacked graph, you can set the setUseDataTextStackTotalOnTopFormat(Boolean);
API to true. This enables you to format the stack total value using
the setTextFormatPreset(getDataTextStackedTotalOnTop(), int); API
call.
-
Formatting Date and Time Values for Y-Axis Labels. Military
time uses a 24-hour time format where numbers between zero (0) and
one (1), or times using a 12-hour format with AM and PM indicators,
are converted to times between 0:00 and 23:00. Numbers greater than
one are cycled so that they map to one of these hours as well, except
for cumulative military time, in which case they add to the original
value. You can use the setTextFormatPreset() and setSimpleDateFormat()
API calls to implement these formats.
-
Plus and Minus Marker Shapes. The
marker shape, circlePlus, displays a circle with a plus sign (+)
centered in it, and the marker shape, circleMinus, displays a circle
with a minus sign (-) centered in it.