[R-SIG-Finance] displaying a traditional stock chart

Armstrong, Whit whit.armstrong at hcmny.com
Tue Feb 13 17:36:53 CET 2007


That sounds interesting.

I guess it depends on how far we choose to take the interaction.

The in house system that I used had drop down menus for applying
functions to the series in the plot.  Also, another really nice feature
was that you could click in the upper left hand corner and type any
expression which would then be added to the chart.  The expression could
be as simple as a variable name, or it could be a function applied to a
variable.

It sounds like something like that would be out of the question with the
SVG device, but for simple operations like zooming in and out, or
highlighting date ranges SVG could be the way to go.

Let me know if you would like to pursue this.

One other solution I have thought about is using Trolltech's Qt 4.2,
which has nice plotting facilities.  Now that it is available on Windows
as well as Linux/Unix it is a viable option. (this pdf has a simple
graphics view in it, page 2)
http://www.trolltech.com/pdf/Qt_42_DS_A4_Web.pdf

Thanks,
Whit


> -----Original Message-----
> From: Tony Plate [mailto:tplate at acm.org] 
> Sent: Tuesday, February 13, 2007 11:13 AM
> To: Armstrong, Whit
> Cc: R-sig-finance
> Subject: Re: [R-SIG-Finance] displaying a traditional stock chart
> 
> The SVG format supports "tooltip style" annotations.  I have 
> a modified version of the SVG device for R that can add these 
> -- if there's interest, I could package it up.  I suspect 
> that SVG could also support zooming and mouse tracking, but I 
> haven't looked into that.
> 
> -- Tony Plate
> 
> Armstrong, Whit wrote:
> > looks like a nice chart, but one of the key features 
> missing from R is 
> > interactive charts.
> > 
> > simple things like mouse tracking, zoom, line annotations, etc.
> > 
> > This would be huge to have in R.
> > 
> > Anyone have an idea how hard this would be?
> > 
> > 
> > 
> > 
> >>-----Original Message-----
> >>From: r-sig-finance-bounces at stat.math.ethz.ch
> >>[mailto:r-sig-finance-bounces at stat.math.ethz.ch] On Behalf Of BBands
> >>Sent: Friday, February 09, 2007 4:14 PM
> >>To: R-sig-finance
> >>Subject: Re: [R-SIG-Finance] displaying a traditional stock chart
> >>
> >>On 2/9/07, stephenc <mail at xesoftware.com.au> wrote:
> >>
> >>>Hi
> >>>
> >>>Can anyone point me to the code for a traditional 
> bar-chart display 
> >>>with high. low. open, close and volume all shown on the same chart?
> >>
> >>Dirk and I worked on something that might be of interest...
> >>
> >>http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=65
> >>
> >>     jab
> >>--
> >>John Bollinger, CFA, CMT
> >>www.BollingerBands.com
> >>
> >>If you advance far enough, you arrive at the beginning.
> >>
> >>_______________________________________________
> >>R-SIG-Finance at stat.math.ethz.ch mailing list 
> >>https://stat.ethz.ch/mailman/listinfo/r-sig-finance
> >>
> > 
> > 
> > 
> > 
> > 
> > This e-mail message is intended only for the named 
> recipient(s) above. It may contain confidential information. 
> If you are not the intended recipient you are hereby notified 
> that any dissemination, distribution or copying of this 
> e-mail and any attachment(s) is strictly prohibited. If you 
> have received this e-mail in error, please immediately notify 
> the sender by replying to this e-mail and delete the message 
> and any attachment(s) from your system. Thank you.
> > 
> > 
> > 
> > 
> ----------------------------------------------------------------------
> > --
> > 
> > _______________________________________________
> > R-SIG-Finance at stat.math.ethz.ch mailing list 
> > https://stat.ethz.ch/mailman/listinfo/r-sig-finance
> 




This e-mail message is intended only for the named recipient(s) above. It may contain confidential information. If you are not the intended recipient you are hereby notified that any dissemination, distribution or copying of this e-mail and any attachment(s) is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender by replying to this e-mail and delete the message and any attachment(s) from your system. Thank you.



More information about the R-SIG-Finance mailing list