Focal Point
[SOLVED] X-axis label getting cropped in Chart

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

March 28, 2013, 06:51 AM
WF World
[SOLVED] X-axis label getting cropped in Chart
Hello All,

One of my labels is geting cropped. Could someone suggest. I've tried using LabelStagger, Label Margin, also tried redusing font size but I failed. Please suggest

Acutal value to be displayed is
"Mailbox Configuration Error"

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


WebFOCUS 8.1.03
Windows, Linux All Outputs
April 03, 2013, 04:22 PM
<Kathryn Henning>
Hi WF World,

There are 2 ways to workaround this problem:

1- reduce the font size
2- change the size of the graph frame using Virtual Coordinate System

Below is a sample of adjusting the frame size using Java API syntax:

setRect(getFrame(),new Rectangle(-22028,-21240,30905,37600));

The coordinates are represented in this order: (x, y, width, height).

The default rectangle is set in graphs with the code:
SET HAXIS=770
SET VAXIS=400

You can play with these numbers, but it's not as precise as using the cortesian coordinates.

Additional information on the method above can be found in the graph manual.

Regards,

Kathryn Henning
April 04, 2013, 10:02 AM
Kevin W
Where can I get this graph manual?


WebFOCUS 7.7.05 (Someday 8)
Windows 7, All Outputs
In Focus since 1983.
April 04, 2013, 01:50 PM
dbeagan
Assuming RDUNIF is sufficiently random for your purposes, would this do the trick?

-SET &SAMPLE_PERCENT = .10 ;
 TABLE FILE GGSALES
 PRINT
 COMPUTE RAND/D9.8=RDUNIF(RAND);
 SEQ_NO DOLLARS/D8M
 WHERE TOTAL RAND LE &SAMPLE_PERCENT
 END



WF 8.2.06
Win10 / IE11
AHTML EXL2K PDF
April 04, 2013, 01:52 PM
dbeagan
Oops, wrong one.


WF 8.2.06
Win10 / IE11
AHTML EXL2K PDF
April 04, 2013, 04:33 PM
<Kathryn Henning>
Hi Kevin W,

Information on obtaining the manual can be found at WebFOCUS Graphics 7.7.03 .

Regards,

Kathryn

This message has been edited. Last edited by: <Kathryn Henning>,
April 10, 2013, 12:29 PM
WF World
Thanks Kath...
Your solution worked for me. Smiler

This message has been edited. Last edited by: WF World,


WebFOCUS 8.1.03
Windows, Linux All Outputs