--- Hahn, Harvey wrote: > Ric Sherlock wrote: > |It might also be an improvement to add the Year labels as > |column headers using HDRCOL and HDRCOLMERGE instead of > |including them in the data grid. > > The way I coded it is the traditional "it's always been done that way" > approach (that is, for at least the past 45-50 years, if not more). > Thus, it's the user expectation.
Fine, just thought it would help you fit more on the screen and look a bit better. These guys separate their labels from their data <http://stockcharts.com/help/doku.php?id=support:using_sharp> Did you try this? (('GRIDMARGIN';0 0 0 0),:'GRIDZOOM';0.5) grid <"0 pfchart '' On my screen I get 27 columns in the same space that I can fit 11 just using GRIDZOOM and 10 rows in the same space I can fit 8. Chris is right that if you want to move beyond simple grids then it would be best to code a new verb rather than just use the grid verb. However if you want to end up adding trend lines etc, then I'm not sure if that will be possible using the Grid class. ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
