[Working With Ideas] FML POST to file and create line graph
I have an FML Report that posts some of its lines to the file below. TAG and CLBxx are field names. File name is PCT038H1.ftm and I have the .mas to go with it. I can TABLE FILE PCT038H1 PRINT * END nicely.
I'd like to create a line graph from this data with 4 lines. The R30 row would be one of the lines with graph points for 5436 then 3935 then 4852 etc.
I can't come up with a graph type that will work.
Any ideas.This message has been edited. Last edited by: bbollmann,
Brian Bollmann Spartan Light Metal Products WebFocus 7.6.4 / iSeries / WebSphere
August 26, 2008, 12:28 PM
Darin Lee
Usually a line graph contains a series such as date or other numeric sequence. Instead of putting each of the plot points in its own field, put them all in the same field with an additional field that numbers them, thus creating a series (CLB01=1, CLB02=2, etc.)
Then each row would have its own line and be plotted across the numeric sequence.
If you have no control over the output file, you could use the MacGuyver technique (search the forum for numerous posts) to create the ten records for each row and you're off to the races.
Regards,
Darin
In FOCUS since 1991 WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex WF Client: 77 on Linux w/Tomcat
August 27, 2008, 10:16 AM
<JG>
Brian It would be much less hassle to create a multi segment master using an occurs segment.