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     Stacked vs. normal bar incl baseline.

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Stacked vs. normal bar incl baseline.
 Login/Join
 
Guru
posted
Hi all,

I'm trying to create a report with a logical scale and a baseline at 1. This works when the bars are seperate like this:

GRAPH FILE CAR
-* Created by Advanced Graph Assistant
SUM CAR.BODY.SEATS
CNT.CAR.BODY.BODYTYPE
BY CAR.ORIGIN.COUNTRY
ON GRAPH PCHOLD AS HOLD FORMAT PNG
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET VZERO OFF
ON GRAPH SET GRMERGE ADVANCED
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 0
ON GRAPH SET GRXAXIS 1
ON GRAPH SET HAXIS 550
ON GRAPH SET VAXIS 700
ON GRAPH SET UNITS PIXELS
ON GRAPH SET LOOKGRAPH HBAR
ON GRAPH SET GRAPHSTYLE *
setReportParsingErrors(false);
setSelectionEnableMove(false);
setPlace(true);
setDepthRadius(0);
setDepthAngle(0);
setTransparentBorderColor(getChartBackground(),true);
setTransparentBorderColor(getFrameSide(),true);
setTransparentBorderColor(getFrame(),true);
setFillColor(getSeries(0),new Color(255,255,128));
setFillColor(getSeries(1),new Color(255,0,0));
setFillColor(getSeries(2),new Color(0,255,0));
setLogScale(getY1Axis(),true);
setLogScaleBase(getY1Axis(),2.0);
setScaleMinAuto(getY1Axis(),false);
setScaleMin(getY1Axis(),0.0625);
setNonZeroBaseline(getY1Axis(),true);
setNonZeroBaselineValue(getY1Axis(),1);
setLegendDisplay(false);
setFontSize(getO1Label(),12);
setFontStyle(getO1Label(),2);
setFillColor(getO1Label(),new Color(51,51,153));
setSubtitleString("Test");
setTextJustHoriz(getSubtitle(),0);
setFontSizeAbsolute(getSubtitle(),true);
setFontSize(getSubtitle(),9);
setTextJustHoriz(getY1Label(),2);
setFontSizeAbsolute(getY1Label(),true);
setFontSize(getY1Label(),6);
setNonZeroBaseLineValue(getY1Axis(),4.0);
ENDSTYLE
END



But now I want to stack the bar's and then I loose the baseline at value 1 (changed HBAR to HBRSTK1):

GRAPH FILE CAR
-* Created by Advanced Graph Assistant
SUM CAR.BODY.SEATS
CNT.CAR.BODY.BODYTYPE
BY CAR.ORIGIN.COUNTRY
ON GRAPH PCHOLD AS HOLD FORMAT PNG
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET VZERO OFF
ON GRAPH SET GRMERGE ADVANCED
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 0
ON GRAPH SET GRXAXIS 1
ON GRAPH SET HAXIS 550
ON GRAPH SET VAXIS 700
ON GRAPH SET UNITS PIXELS
ON GRAPH SET LOOKGRAPH HBRSTK1
ON GRAPH SET GRAPHSTYLE *
setReportParsingErrors(false);
setSelectionEnableMove(false);
setPlace(true);
setDepthRadius(0);
setDepthAngle(0);
setTransparentBorderColor(getChartBackground(),true);
setTransparentBorderColor(getFrameSide(),true);
setTransparentBorderColor(getFrame(),true);
setFillColor(getSeries(0),new Color(255,255,128));
setFillColor(getSeries(1),new Color(255,0,0));
setFillColor(getSeries(2),new Color(0,255,0));
setLogScale(getY1Axis(),true);
setLogScaleBase(getY1Axis(),2.0);
setScaleMinAuto(getY1Axis(),false);
setScaleMin(getY1Axis(),0.0625);
setNonZeroBaseline(getY1Axis(),true);
setNonZeroBaselineValue(getY1Axis(),1);
setLegendDisplay(false);
setFontSize(getO1Label(),12);
setFontStyle(getO1Label(),2);
setFillColor(getO1Label(),new Color(51,51,153));
setSubtitleString("Test");
setTextJustHoriz(getSubtitle(),0);
setFontSizeAbsolute(getSubtitle(),true);
setFontSize(getSubtitle(),9);
setTextJustHoriz(getY1Label(),2);
setFontSizeAbsolute(getY1Label(),true);
setFontSize(getY1Label(),6);
setNonZeroBaseLineValue(getY1Axis(),4.0);
ENDSTYLE
END


Does anybody have an idea how I can combine stacked bar's with logscale and a baseline?

Thanks

Frans

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


Test: WF 8.2
Prod: WF 8.2
DB: Progress, REST, IBM UniVerse/UniData, SQLServer, MySQL, PostgreSQL, Oracle, Greenplum, Athena.
 
Posts: 454 | Location: Europe | Registered: February 05, 2007Report This Post
Guru
posted Hide Post
Nobody have a solution? I think this is a bug in WebFOCUS, the baseline should be there with any bar report.


Test: WF 8.2
Prod: WF 8.2
DB: Progress, REST, IBM UniVerse/UniData, SQLServer, MySQL, PostgreSQL, Oracle, Greenplum, Athena.
 
Posts: 454 | Location: Europe | Registered: February 05, 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     Stacked vs. normal bar incl baseline.

Copyright © 1996-2020 Information Builders