Focal Point
[CLOSED] Overlapping graphs in PDF compound report

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/73210089

April 29, 2009, 03:08 PM
CT
[CLOSED] Overlapping graphs in PDF compound report
Is it possible in compound PDF tool to create a bar graph with an overlapping line graph on top of it? I have created reports with different types of graphs on the same page, but don't know whether overlapping different types of graphs is possible.
Thank you.

This message has been edited. Last edited by: Kerry,


7.6.9, XP
April 30, 2009, 03:19 AM
<JG>
WebFOCUS generated graphs are not transparent so overlapping them means the top one will hide any underneath.

You can however plot multiple series with different output styles on the same graph.

If you are using the advanced graph assistant in the chart editor select the series you want to change in the left hand pane then on the right pane click on Default next to Series Type and select the type you want either bar, line or area.

If you are changing the code manually the the API call is setSeriesType(getSeries(n),m);

where n is the number of the series (1st is 0 because it's java) and m is the type where
0 = Line
1 = bar
2 = marker
3 = area
April 30, 2009, 08:51 AM
PBrightwell
The following allowed me to plot an average (5) on top of a bar graph across region (1-4)
setCustomDataText(getSeries(0), true);
setCustomDataText(getSeries(1), true);
setCustomDataText(getSeries(2), true);
setCustomDataText(getSeries(3), true);
setCustomDataText(getSeries(4), true);
setCustomDataText(getSeries(5), true);
setDisplay(getDataText(0), false);
setDisplay(getDataText(1), false);
setDisplay(getDataText(2), false);
setDisplay(getDataText(3), false);
setDisplay(getDataText(4), false);
setDisplay(getDataText(5), true);
 



Pat
WF 7.6.8, AIX, AS400, NT
AS400 FOCUS, AIX FOCUS,
Oracle, DB2, JDE, Lotus Notes