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.
Iam trying to rotate the labels(both country and car) in the X axis to 90degrees and also trying to group it into 3 and also to have a series of 4 but on the X axis,it is not getting applied.
Could anyone please let me know what am I doing wrong? Thanks a lot for all your help
This is the code Iam trying :
ENGINE INT CACHE SET ON
-DEFAULTH &WF_STYLE_UNITS='PIXELS';
-DEFAULTH &WF_STYLE_HEIGHT='405.0';
-DEFAULTH &WF_STYLE_WIDTH='635.0';
GRAPH FILE CAR
SUM DEALER_COST
BY COUNTRY
BY CAR
BY MODEL NOPRINT
ON GRAPH PCHOLD FORMAT JSCHART
ON GRAPH SET VZERO OFF
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET ARGRAPHENGIN JSCHART
ON GRAPH SET GRWIDTH 1
ON GRAPH SET UNITS &WF_STYLE_UNITS
ON GRAPH SET HAXIS &WF_STYLE_WIDTH
ON GRAPH SET VAXIS &WF_STYLE_HEIGHT
ON GRAPH SET GRMERGE ADVANCED
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 0
ON GRAPH SET GRXAXIS 3
ON GRAPH SET LOOKGRAPH VBAR
ON GRAPH SET GRAPHSTYLE *
*GRAPH
setPlace(true);
setTextRotation(getX1Label(),1);
setTextRotation(getO1Label(),1);
setFillColor(getO1Label(),new Color(255,106,106));
*END
ENDSTYLE
END
-RUN
-EXIT
Regards, IPThis message has been edited. Last edited by: FP Mod Chuck,
It is possible to rotate if there is only one BY field, if more than that it's impossible.
If it would be possible, how does the labels were going to be displayed with multiple BY field ?
In the case of displaying COUNTRY and CAR (both rotated) where they have each 10 and 16 characters, can you imagine how much spaces it would take just to have them displayed ? Imagine of having 26 characters one above the other...26 lines (independently of the character's font).
I think that it's the reason why we cannot rotate when more than one BY field.
WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF In Focus since 2007
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013