Focal Point
[CLOSED] Bar width property

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

August 27, 2015, 06:14 AM
Jay Potter
[CLOSED] Bar width property
Is the a property that controls the width of a bar and the gap between bars on a chart. I know when the charts are re-sized the bars and gaps are proportionately changed, but do we have any control over that?

This message has been edited. Last edited by: <Kathryn Henning>,


WebFocus 8.1.5
iSeries/Windows
DB2/SQL/Access
Dev Studio
App Studio
Maintain
ReportCaster
August 31, 2015, 08:32 AM
Tamra
Hi Jay,

This is a friendly follow-up regarding your graph question - Bar width property.

While we wait for others to reply, from researching the IBI TechSupport knowledge base the following might be of some assistance:

It is necessary to include the following GRAPH APIs:

setResizeBarMode(false);
setRiserWidth(40);
setDepthRadius(0);
setRiserBarGroupSpacing(20);$

GRAPH sample code to demonstrate the use of these GRAPH API commands:

GRAPH FILE GGSALES
SUM UNITS
ACROSS REGION
ON GRAPH SET LOOKGRAPH VBRSTK1
ON GRAPH SET GRAPHEDIT SERVER
ON GRAPH SET BARNUMB OFF
ON GRAPH SET 3D OFF
ON GRAPH SET VZERO ON
ON GRAPH SET GRID ON
ON GRAPH SET VAXIS 380
ON GRAPH SET HAXIS 580
ON GRAPH SET GRMERGE ON
ON GRAPH SET GRAPHSTYLE *
TYPE=REPORT,
GRID=OFF,
FONT='VERDANA',
SIZE=10,
$
setResizeBarMode(false);
setRiserWidth(40);
setDepthRadius(0);
setRiserBarGroupSpacing(20);$
-*
ENDSTYLE
END

Thank you for participating in the Focal Point Forum.

Kindest regards,
Tamra Colangelo
Focal Point Moderator
Information Builders Inc.


WebFOCUS 8x - BI Portal, Developer Studio, App Studio, Excel, PDF, Active Formats and HTML5
August 31, 2015, 08:38 AM
Jay Potter
Thanks I will look into it.


WebFocus 8.1.5
iSeries/Windows
DB2/SQL/Access
Dev Studio
App Studio
Maintain
ReportCaster
September 01, 2015, 01:45 PM
Jay Potter
Thanks for trying, but these are for spacing within a group or cluster bars. I am looking for spacing between groups.


WebFocus 8.1.5
iSeries/Windows
DB2/SQL/Access
Dev Studio
App Studio
Maintain
ReportCaster
September 02, 2015, 03:03 AM
Tony A
Jay,

If you are using JSCharts (HTML5) then check out page 346 in the manual to see if that is what you are looking for.

If that is not it then please provide an example of your chart (using a sample table and not your own data) and, if possible, an image so that we understand what you mean Smiler

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10