Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] X-axis label getting cropped in Chart
Go
New
Search
Notify
Tools
Reply
  
[SOLVED] X-axis label getting cropped in Chart
 Login/Join
 
Silver Member
posted
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
 
Posts: 46 | Location: India | Registered: August 18, 2011Reply With QuoteReport This Post
<Kathryn Henning>
posted
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
 
Reply With QuoteReport This Post
Platinum Member
posted Hide Post
Where can I get this graph manual?


WebFOCUS 7.7.05 (Someday 8)
Windows 7, All Outputs
In Focus since 1983.
 
Posts: 103 | Registered: April 27, 2011Reply With QuoteReport This Post
Platinum Member
posted Hide Post
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
 
Posts: 179 | Registered: October 19, 2010Reply With QuoteReport This Post
Platinum Member
posted Hide Post
Oops, wrong one.


WF 8.2.06
Win10 / IE11
AHTML EXL2K PDF
 
Posts: 179 | Registered: October 19, 2010Reply With QuoteReport This Post
<Kathryn Henning>
posted
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>,
 
Reply With QuoteReport This Post
Silver Member
posted Hide Post
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
 
Posts: 46 | Location: India | Registered: August 18, 2011Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] X-axis label getting cropped in Chart

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.