Focal Point
[SOLVED] Issues displaying graph: VERTICAL AXIS IS NOT NUMERIC..CAN'T GRAPH

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

November 04, 2008, 02:50 PM
Mayor
[SOLVED] Issues displaying graph: VERTICAL AXIS IS NOT NUMERIC..CAN'T GRAPH
I can not display the graph, problems with the formatting.

This is one of the code for the graph:


-******************
TABLE FILE USER_DATA

PRINT OS_USERNAME
LOGIN_DAY
-*

BY LOGIN_YEAR
BY LOGIN_MONTH

ON TABLE HOLD AS USR_COUNTS FORMAT ALPHA
END

GRAPH FILE USR_COUNTS
SUM OS_USERNAME AS 'User'
BY USERNAME AS 'User Names'
ACROSS LOGIN_DAY
ON GRAPH SET STYLE *
SQUEEZE=ON,
TYPE=REPORT, FONT=BOLD, JUSTIFY=CENTER,
$
ENDSTYLE
END
-******************

I get the following output for all the ouput graphs any thoughts?

0 NUMBER OF RECORDS IN TABLE= 246463 LINES= 5061
(BEFORE DISTINCT TESTS)
0 NUMBER OF RECORDS IN TABLE= 288 LINES= 288
0 NUMBER OF RECORDS IN GRAPH= 288 PLOT POINTS= 12
VERTICAL AXIS IS NOT NUMERIC..CAN'T GRAPH

This message has been edited. Last edited by: Kerry,



Production & Development: WebFocus 7.6.4
November 04, 2008, 03:06 PM
GinnyJakes
Do you want to do a COUNT instead of a SUM?


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
November 04, 2008, 04:29 PM
<JG>
As Ginny suggests the Y axis must always be numeric

So SUM OS_USERNAME AS 'User' is not valid
but SUM CNT.OS_USERNAME AS 'User' is
November 05, 2008, 08:38 AM
Mayor
Yes!! Thanks!! The SUM CNT.USERNAME works....Now, when I select a given month rather than the "All" option....it does not display. Could it be the same issue?



Production & Development: WebFocus 7.6.4
November 05, 2008, 01:18 PM
Mayor
I also fixed the Month issue, needed to have the LOGIN_DAY added into the first table hold....Thanks Again! Smiler



Production & Development: WebFocus 7.6.4