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.
I kinda wonder if at this point it would be easier to just use google charts to build it...
quote:
D3 Charts are IBI approved and are actually easily added in 8.2..
Thanks Tim and Gavin!
The Google Timeline chart is exactly the type of visualization I am searching for: display entities/relationships across a time scale.
Here is a prototype I've got going...
-* File timeline.fex
-*
-* Create test data.
-*
APP FI BASEBALL DISK BASEBALL.MAS (LRECL 80
-RUN
-WRITE BASEBALL
-WRITE BASEBALL FILE=BASEBALL,SUFFIX=FOC
-WRITE BASEBALL SEGNAME=SEG1
-WRITE BASEBALL FIELD=TEAM,,A20,A20,$
-WRITE BASEBALL FIELD=PLAYER,,A20,A20,$
-WRITE BASEBALL FIELD=BEGDATE,,A10,A10,$
-WRITE BASEBALL FIELD=ENDDATE,,A10,A10,$
-RUN
CREATE FILE BASEBALL
MODIFY FILE BASEBALL
FIXFORM TEAM/A20 PLAYER/A20 BEGDATE/A10 ENDDATE/A10
DATA
CHICAGO WHITE SOX Bill Melton 2015-01-012015-02-01
CHICAGO CUBS Ron Santo 2015-04-012015-05-25
MILWAUKEE BREWERS Cecil Cooper 2015-01-012015-04-01
MINNESOTA TWINS Herman Killebrew 2014-11-192015-11-19
MINNESOTA TWINS Rod Carew 2014-11-192015-06-19
MINNESOTA TWINS Rod Carew 2015-07-042015-07-04
MINNESOTA TWINS Rod Carew 2015-09-042015-09-10
MINNESOTA TWINS Rod Carew 2015-11-012015-11-30
END
-RUN
-*
-* Create JSON for Google Timeline Chart Data Table.
-*
TABLE FILE BASEBALL
PRINT TEAM NOPRINT
COMPUTE OUTPUT/A511 = '[''' | TEAM || ''',''' ||
PLAYER || ''',' ||
'new Date(''' || BEGDATE || '''),' ||
'new Date(''' || ENDDATE || ''')],';
ON TABLE SET HOLDLIST PRINTONLY
ON TABLE HOLD AS HLDDATA FORMAT ALPHA
END
-RUN
-*
-* Create Google Timeline chart and present to user.
-*
-HTMLFORM BEGIN
<html>
<head>
<title>Star Players and Time Active</title>
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
<script type="text/javascript">
google.charts.load("current", { packages: ["timeline"] });
google.charts.setOnLoadCallback(drawChart);
function drawChart() {
var container = document.getElementById('mytimeline');
var chart = new google.visualization.Timeline(container);
var dataTable = new google.visualization.DataTable();
dataTable.addColumn({ type: 'string', id: 'Position' });
dataTable.addColumn({ type: 'string', id: 'Name' });
dataTable.addColumn({ type: 'date', id: 'Start' });
dataTable.addColumn({ type: 'date', id: 'End' });
dataTable.addRows([
!IBI.FIL.HLDDATA;
]);
chart.draw(dataTable);
}
</script>
</head>
<body>
<div id="mytimeline" style="height: 400px;"></div>
</body>
</html>
-HTMLFORM END
I've researched FocalPoint, IB Tech Support Site, opened a case, and checked with my IB Tech Rep, and couldn't seem to find/obtain any example of spreading begin/end date (duration) across a time scale (easily/visually in WF 8.0.7), by a key field. Unless I missed something. :-)
In the meantime, I'm working with a WF/Google Timeline Chart mashup.
(This topic is entitled Gantt Chart, a type of timeline that also displays things like dependencies, critical path... I am OK with WF not having a Gantt Chart, but I did tell my Tech Rep, that a Timeline Chart in WF would be fantastic.)
Unfortunately, I could not get David's example to work (posted Tue May 10 2016 22:48). All the F1 says in DevStudio is:
SET LOOKGRAPH=GANTT
Provides a visual representation of project oriented time critical events.
Gantt charts require six display fields and one sort field, in that order.
Conditional styling and drill-down are not supported for GANTT charts.
In FOCUS Since 1983 ~ from FOCUS to WebFOCUS. Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005
I've given up on PDF output for extensive reports via WebFOCUS.. I wrote a C# app that can be turned into a service, that will take a URL, load it into a browser control, resize the control for the size of page, then save the screen of the browser control to a PNG, then convert the PNG to a PDF using free third party lib PdfSharp. Guess what, it's look identical to the report. Doesn't care what language is used.
It's a great day being a developer. Who has limits, not I...
- FOCUS Man, just FOCUS! ----------------------------- Product: WebFOCUS Version: 8.1.04 Server: Windows 2008 Server