Focal Point
[SOLVED]Only 1 ACROSS is supported in WF8 graphs - work around?

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/9907005186

March 28, 2016, 05:14 PM
Tomsweb
[SOLVED]Only 1 ACROSS is supported in WF8 graphs - work around?
Hello fellow WebFOCUS nail bangers!

I am trying to create a graph with a date field, YRMN /YYM (displays like ‘201411’) in a graph, but I want it to display like ‘Nov-2014’ in the graph along the X-Axis. To do so I created a field MYDATE (displays like ‘Nov-2014’).

I get the desired result in a table request when I code:
 
TABLE FILE CAR
SUM CNT.MPIID AS 'Total, Encounters'
ACROSS YRMN NOPRINT
ACROSS MYDATE AS 'MONTH'
BY ENCOUNTERTYPE AS ' T'
END
 


However, if I code it in a graph,

 
TABLE FILE CAR
SUM CNT.MPIID AS ' Total, Encounters '
ACROSS YRMN NOPRINT
ACROSS MYDATE AS 'MONTH'
BY ENCOUNTERTYPE AS ' '
END


In the graph the MYDATE is displayed for every axis label.
Yuk!

Now I understand that just one ACROSS is supported in WF8 graphs.

Dreck!

Does anyone have a suggestion that could solve this?

I am working with WebFOCUS 8.1.05 InfoAssist.

Thank you!

This message has been edited. Last edited by: <Emily McAllister>,


Tomsweb
WebFOCUS 8.1.05M, 8.2.x
APP Studio, Developer Studio, InfoAssist, Dashboards, charts & reports
Apache Tomcat/8.0.36
March 28, 2016, 05:34 PM
Waz
Is there an option to merge the graphs ?

GRMERGE ON


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

March 28, 2016, 05:51 PM
Tomsweb
Grmerge is ON


Tomsweb
WebFOCUS 8.1.05M, 8.2.x
APP Studio, Developer Studio, InfoAssist, Dashboards, charts & reports
Apache Tomcat/8.0.36
March 28, 2016, 05:57 PM
Waz
Frustrating.....


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

March 28, 2016, 06:07 PM
Tomsweb
quote:
Originally posted by Tomsweb:
I want dates like 01-2012, 02-2012 to display along the X-axis in a graph of car sales across date by dealer_cost. How's that sound for a car file prototype?


Right now dates look like 201201, 201202.


Tomsweb
WebFOCUS 8.1.05M, 8.2.x
APP Studio, Developer Studio, InfoAssist, Dashboards, charts & reports
Apache Tomcat/8.0.36
March 28, 2016, 06:18 PM
Waz
Can you change the format from YYM to MtYY ?


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

March 29, 2016, 10:44 AM
Tewy
I am not familiar with InfoAssist as we're using 7.6.11 here. In that using BY instead of ACROSS yields your desired result.

Is that an option for you?


WF 7.6.11
Output: HTML, PDF, Excel
March 29, 2016, 05:18 PM
Tomsweb
quote:
MtYY ?


I created a new field in the MtYY format. That means I can use that in a single ACROSS in my graph, so it worked.

Thanks to all for your help.


Tomsweb
WebFOCUS 8.1.05M, 8.2.x
APP Studio, Developer Studio, InfoAssist, Dashboards, charts & reports
Apache Tomcat/8.0.36