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     individual bar widths
Go
New
Search
Notify
Tools
Reply
  
individual bar widths
 Login/Join
 
Platinum Member
posted
Trying to figure out if there is a setting to control the width of a horizontal barchart. Looking to try to set the height to the same height of the font. I have a chart in a compound pdf in composer and trying to dynamically set the VAXIS by counting how many rows of data I have from the coordinated report beside it. Building a solution around the fixed format of a graph in the composer.

Anyone ever done this or know where I should look. Thought the setRiserWidth() might do it, but I was wrong.


Currenly working @ Learning Circle Education Services
Previously worked @ Nationwide Insurance
Prod: WebFOCUS 7.6.11


Test: WebFOCUS 7.6.11


Dev: WebFOCUS 7.6.11
 
Posts: 125 | Location: Columbus, Ohio | Registered: March 31, 2006Reply With QuoteReport This Post
Expert
posted Hide Post
I've done this sort of thing and found the best way to analyze it, and come up with a solution, was to open it in the AGA, get it the way you want it, and then look at the code.

You should keep the number of records being graphed (rows of data) in a variable and set the VAXIS based on that. Leaving the font size to auto helps to eliminate the need to set it yourself... It can get complicated. But, using the AGA and keeping the fex as an external (referenced) procedure outside of the PDF composer often helps out as well.
 
Posts: 3106 | Location: Tennessee, Nashville area | Registered: February 23, 2005Reply With QuoteReport This Post
Expert
posted Hide Post
Can you provide us with sample code using GGSALES or one of the sample file which IB provides?
 
Posts: 3106 | Location: Tennessee, Nashville area | Registered: February 23, 2005Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     individual bar widths

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