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     [CLOSED] Need BUCKET=column Labels on bottom in JSCHART

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Need BUCKET=column Labels on bottom in JSCHART
 Login/Join
 
Platinum Member
posted
Hello,

I am trying to get the JSCHART Column Labels to be on the bottom of my graph instead of on the top. Can anyone explain how to accomplish this? I have included an example in the CAR file below:

 

GRAPH FILE CAR
SUM SALES
	BY COUNTRY
	BY SEATS
ON GRAPH PCHOLD FORMAT JSCHART
ON GRAPH SET VZERO OFF
ON GRAPH SET GRWIDTH 1
ON GRAPH SET AUTOFIT ON
ON GRAPH SET LOOKGRAPH BAR
ON GRAPH SET AUTOFIT ON
ON GRAPH SET STYLE *
*GRAPH_SCRIPT
*END
INCLUDE=IBFS:/FILE/IBI_HTML_DIR/ibi_themes/Warm.sty,$
TYPE=DATA, COLUMN=N1, BUCKET=column, $
TYPE=DATA, COLUMN=N2, BUCKET=column, $
TYPE=DATA, COLUMN=N3, BUCKET=y-axis, $
*GRAPH_SCRIPT
*END
ENDSTYLE
END

 

This message has been edited. Last edited by: Brandon Andrathy,


WebFOCUS 8204
 
Posts: 152 | Registered: July 10, 2018Report This Post
Member
posted Hide Post
Try changing BUCKET=column to BUCKET=x-axis in both cases.


WebFOCUS 8202, 8203, Windows 2012 R2
SQL Server 2016, App Studio 8202, 8203
 
Posts: 17 | Location: Jericho, NY | Registered: February 18, 2014Report This Post
Platinum Member
posted Hide Post
Hey Mcarey, thank you for your response.

i had it like that before. unfortunateley I just don't like the display as much as i do when it's set to column


WebFOCUS 8204
 
Posts: 152 | Registered: July 10, 2018Report This Post
Member
posted Hide Post
Comment out the stylesheet and it displays the labels similar to how they displayed before. You could probably then use api calls to style things.


WebFOCUS 8202, 8203, Windows 2012 R2
SQL Server 2016, App Studio 8202, 8203
 
Posts: 17 | Location: Jericho, NY | Registered: February 18, 2014Report This Post
Platinum Member
posted Hide Post
Hey McCarey, thanks for your response again.

I've been trying to dissect the API and get a better handle on that stuff. You mean the GRAPH_JS_FINAL portion of code, right?

Do you have any resources that you could point me to to get a handle on this? I've tried identifying portions such as "SERIES" and "Matrix" and attributing "Position" = bottom but that didn't seem to do the trick for me.


WebFOCUS 8204
 
Posts: 152 | Registered: July 10, 2018Report This Post
Member
posted Hide Post
Hi Brandon,

I used the documentation earlier this year when 'wrestling' with some charts, https://webfocusinfocenter.inf...js/tech-library.html.

I believe I used a combination of the JSON attributes and the API type calls (e.g. setO1AxisSide(1)) to achieve what I wanted.


WebFOCUS 8202, 8203, Windows 2012 R2
SQL Server 2016, App Studio 8202, 8203
 
Posts: 17 | Location: Jericho, NY | Registered: February 18, 2014Report This Post
Platinum Member
posted Hide Post
hey thanks a lot Mcarey. I really appreciate all your input here. Closing this out. Happy Wednesday


WebFOCUS 8204
 
Posts: 152 | Registered: July 10, 2018Report 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     [CLOSED] Need BUCKET=column Labels on bottom in JSCHART

Copyright © 1996-2020 Information Builders