September 30, 2004, 09:35 PM
<NIVAS>How to set specific intervals in a graph request
GRAPH FILE GGORDER
HEADING CENTER
"Sample Graph"
SUM QUANTITY
BY PRODUCT_DESC AS 'Coffee Types'
WHERE PRODUCT_DESC EQ 'French Roast' OR 'Hazelnut' OR 'Kona'
END
This is sample graph,By default it taking 40k as an inteval.I would like to set it up as 20 k.Please let me know if you have any ideas
Thanks in advance
October 01, 2004, 10:07 AM
TewyYou need to put the following in your graphstyle area of your code.
setGridStep(getY1MajorGrid(),n);
setGridStepAuto(getY1MajorGrid(),false);
where n is the value you want focus to use for the gridstep on the Y1 axis.
Regards Tewy