Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Q: Bar Graph Bar not dispalying because value too small

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Q: Bar Graph Bar not dispalying because value too small
 Login/Join
 
Member
posted
Dear experts,

I have the following data, example:

Site Open Close Reopen
SiteA 2 25 0
SiteB 39 878 2
SiteC 414 14 16

Extract of the webfocus code:

GRAPH FILE TEST1
SUM OPEN CLOSE REOPEN
ACROSS SITE
..
..
(all of the default JAVA API commands generated by the webfocus graph assitant for bar graph)

All of the bars appear, except for bars Site A Open Bar and Site B Reopen bar as both have the values of 2 which are really small.

How can i set the scale so that the bar shows no matter how small the value are?

A quick update, my current graph size is set at (780,280). That's when the bars are NOT visible. However when i increase the size of the graph it is WILL BE visible. Any ideas on how to solve this issue as i have to keep the graphs at a certain size.

Thanks in advance.

Regards.

WF 7.6.1 Windows 2003 server

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


WebFOCUS 767 Server 64bit On Windows 2003 Server

WebFOCUS 767 Server for Developer Studio On windows XP

 
Posts: 18 | Registered: November 29, 2006Report This Post
Master
posted Hide Post
If your numbers can be negative set the ScaleMin to a negative number. If zero is as small as you can go set it to zero. The GridStep is the increment, if you are dealing with very small numbers you want to set this to 1 (or 2 or 0.5)
setY1MajorGridStep(20.0);
setScaleFromZero(true);
setY1ScaleMax(80.0);
setY1ScaleMaxAuto(false);
setY1ScaleMin(-40.0);
setY1ScaleMinAuto(false);
setDepthRadius(0);


Pat
WF 7.6.8, AIX, AS400, NT
AS400 FOCUS, AIX FOCUS,
Oracle, DB2, JDE, Lotus Notes
 
Posts: 755 | Location: TX | Registered: September 25, 2007Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Q: Bar Graph Bar not dispalying because value too small

Copyright © 1996-2020 Information Builders