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     [SOLVED] Vertical Percent Bar, change Y axis

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Vertical Percent Bar, change Y axis
 Login/Join
 
Member
posted
Hello,

I am working with a Vertical Percent Bars chart, and want to modify the minimun Y axis' percentage (e.g. start at 60% instead of 0%). I tried setScaleMin(getY1Axis(),xxx) with both values from the bar charts, and a percentage. I have also tried setY1ScaleMin().

I cannot find any examples of this. Can the range of the Y axis for a Vertical Percent Bar chart be modified?

Thanks,

Jim

This message has been edited. Last edited by: James L,


WebFOCUS release 7.7.03
WinNT 6.0 64bit
 
Posts: 10 | Registered: December 23, 2010Report This Post
Expert
posted Hide Post
1) Open it in the AGA and adjust the min/max from there.
2) Post a sample of the code using a sample table from IB so that we can see what you have.
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
Master
posted Hide Post
James,

Along with Y1ScaleMin, you need to change Y1ScaleMinAuto - to false.
Post the code generated by graph assistant.

Thanks,
Ram
 
Posts: 542 | Location: Dearborn, MI | Registered: June 03, 2009Report This Post
Member
posted Hide Post
Here is the code. I am sorry for forgetting to included it originally:

ON GRAPH PCHOLD FORMAT PNG
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET VZERO OFF
ON GRAPH SET HAXIS 770
ON GRAPH SET VAXIS 405
ON GRAPH SET UNITS PIXELS
ON GRAPH SET LOOKGRAPH VBRSTKPC
ON GRAPH SET GRMERGE ADVANCED
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 0
ON GRAPH SET GRXAXIS 1
ON GRAPH SET GRAPHSTYLE *
setTemplateFile("/images/tdg/template/IBISouthWestern.txt");
setReportParsingErrors(false);
setSelectionEnableMove(false);
setTransparentBorderColor(getSeries(0),true);
setTransparentBorderColor(getSeries(1),true);
setTransparentBorderColor(getSeries(2),true);
setTransparentBorderColor(getSeries(3),true);
setTransparentBorderColor(getSeries(4),true);
setTransparentBorderColor(getSeries(5),true);
setTransparentBorderColor(getSeries(6),true);
setTransparentBorderColor(getSeries(7),true);
setTransparentBorderColor(getSeries(8),true);
setTransparentBorderColor(getSeries(9),true);
setTransparentBorderColor(getSeries(10),true);
setDepthRadius(5);
setTransparentBorderColor(getChartBackground(),true);
setPlace(false);
setExcludeMinLabel(getY1Label(),true);
setTextString(getO1Title(),"");
setFillColor(getSeries(0),new Color(146,208,80));
setFillColor(getSeries(1),new Color(0,102,204));
setFillColor(getSeries(2),new Color(119,124,132));
setFillColor(getSeries(3),new Color(255,255,128));
setFillColor(getSeries(4),new Color(192,0,0));
-*setScaleMaxAuto(getY1Axis(),true);
-*setScaleMinAuto(getY1Axis(),false);
setY1ScaleMinAuto(false);
-*setY1ScaleMin(90000.0);
-*setY1ScaleMin(.60);
setY1ScaleMin(60.0);
ENDSTYLE


WebFOCUS release 7.7.03
WinNT 6.0 64bit
 
Posts: 10 | Registered: December 23, 2010Report This Post
Member
posted Hide Post
SOVLED - I changed the calculations to percentages, instead of the actual values. I was then able to change the minimum Y value.


WebFOCUS release 7.7.03
WinNT 6.0 64bit
 
Posts: 10 | Registered: December 23, 2010Report 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     [SOLVED] Vertical Percent Bar, change Y axis

Copyright © 1996-2020 Information Builders