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     [CASE OPEN] Graph Y-axis label format for HHIS (time)

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CASE OPEN] Graph Y-axis label format for HHIS (time)
 Login/Join
 
Expert
posted
How do I get the Y-axis label to display the HHIS time properly? In the example below, the report displays the column correctly, HH:MM:SS, but the graph tacks on AM/PM, which I do not want.

TABLE FILE EMPLOYEE
SUM
COMPUTE HIRE_DATE_YYMD/YYMD = HIRE_DATE; NOPRINT
COMPUTE MEASURE1/HYYMDS = HDTTM(HIRE_DATE_YYMD, 8, 'HYYMDS'); NOPRINT
COMPUTE MEASURE2/HHIS = HADD(MEASURE1 , 'SECOND', CURR_SAL, 12, 'HYYMDS');
BY FIRST_NAME
ON TABLE HOLD AS H001
END
TABLE FILE H001
SUM
MEASURE2
BY FIRST_NAME
END
GRAPH FILE H001
SUM
MEASURE2
BY FIRST_NAME
ON GRAPH SET HAXIS 800
ON GRAPH SET VAXIS 360
ON GRAPH SET LOOKGRAPH VLINE
ON GRAPH SET UNITS PIXELS
ON GRAPH SET GRMERGE ON
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET GRAPHDEFAULT OFF

END

This message has been edited. Last edited by: Francis Mariani,


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Master
posted Hide Post
Just an idea. Convert to decimal format instead of date time representing 2:08:00 PM to 14.08

Thanks,
Ram
 
Posts: 542 | Location: Dearborn, MI | Registered: June 03, 2009Report This Post
Expert
posted Hide Post
That would eliminate the seconds in hh:mm:ss.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Virtuoso
posted Hide Post
Perhaps the regional settings on the reporting server specify to use AM/PM?


WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010
: Member of User Group Benelux :
 
Posts: 1669 | Location: Enschede, Netherlands | Registered: August 12, 2010Report This Post
Expert
posted Hide Post
Since the regional settings are not affecting the report but are affecting the graph, my bet is that the regional settings are not the answer to my problem. So I would like to keep this open, or I might as well open a Tech Support case.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Expert
posted Hide Post
And which regional setting affects this? I have no knowledge of a setting in the WebFOCUS reporting server that affects how time is displyed...


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Virtuoso
posted Hide Post
Those would be the regional settings of your server's OS.

AFAIK, the graphs are created using (an adapted version of perspective for) Java. Java might be reading those settings directly from the OS, bypassing what WF specified for itself.

It's just a guess.


WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010
: Member of User Group Benelux :
 
Posts: 1669 | Location: Enschede, Netherlands | Registered: August 12, 2010Report This Post
Expert
posted Hide Post
On my PC, I changed the Windows Region and Language settings for Short time and Long time to display without AM/PM. I then ran my test code and the graph labels still contain AM/PM, so it appears it's not the server settings. In my experience, the Perspective for Java graph labels are terribly inconsistent.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Expert
posted Hide Post
Hi Francis,

I agree with you in that it's nothing to do with regional settings.

Have a look at this link which may give some insight, or trigger a thought? Smiler

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report 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     [CASE OPEN] Graph Y-axis label format for HHIS (time)

Copyright © 1996-2020 Information Builders