> From: "Hahn, Harvey" <[EMAIL PROTECTED]> > > Oleg Kobchenko > |As in existing error bar and high-low types, I believe the > |ticks should be drawn geometrically rather than placed as glyphs. > > That makes far more sense for the general case with resizability. What > prompted my post was to indicate the 8 or 9 different graphical > situations that had to be accounted for (and the fact that Ric's code > had included what I assumed were Unicode characters without my tracking > down documentation). Since this thread interests me greatly, do you > have any suggestions about how one goes about drawing these things > geometrically? (Obviously, stock market charting software must do it > this way.) Thanks!
See my earlier message: > From: Oleg Kobchenko <[EMAIL PROTECTED]> > > It should probably be a new plot type, or a single type > as combination of hi-lo, error bar, high-low-open-close, > and box plot depending on number of items (2, 3, 4, 5). > Also the polygon is not necessary as part of this plot type, > and could be superimposed later. > > Also, the ticks could be like this > > | > -+ > | > +- > | > > There is also filled/hollow candlesticks charts. > > http://stockcharts.com/school/doku.php?id=chart_school:chart_analysis:what_are_charts This brings an interesting aspect of extensibility: well-defined interfaces and procedures to add new features to existing components, such as plot types, grid cell types, etc. As a starting point you can use Class Browser, and after load 'plot', go to jzplot, plot_hilo, plot_errorbar verbs. Class Browser is 'gui/util' addon, which can bound to FKey Cobrowse - Locale Browser load'gui/util/cobrowse' ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
