Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     How to set specific intervals in a graph request
Go
New
Search
Notify
Tools
Reply
  
How to set specific intervals in a graph request
 Login/Join
 
<NIVAS>
posted
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
 
Reply With QuoteReport This Post
Platinum Member
posted Hide Post
You 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
 
Posts: 123 | Location: UK | Registered: October 09, 2003Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     How to set specific intervals in a graph request

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.