May 03, 2004, 03:57 PM
Leo LGraphs
Hello all,
I was trying to create a basic line graph, nothing complicated just to get started. The issue I seem to be receiving is my Across variable.
I am trying to view a report in terms of sales by month where
sales = D10
month = I6YYMT
I tried using the graph assistant as well as coding it in and I always get the horizontal line display 0 and 1 without showing the actual months.
Is there an issue when using this as the Across variable?
my code would look like:
GRAPH FILE TEMP1
PRINT SALES
ACROSS MONTH
ON GRAPH SET LOOKGRAPH LINE
ON GRAPH SET 3D OFF
END
I just want it to display each month on the horizontal axis with the corresponding sales value for that month.
thanks,
Leo
May 03, 2004, 04:49 PM
mgrackinTry converting the I6 date field to a Smart Date fielde via a DEFINE and then use the Smart Date field in the ACROSS statement.
May 03, 2004, 06:20 PM
Leo LThanks!
that did the trick... I had no idea about smart dates and it worked like a charm
Leo