[Chicago-talk] financial charting

Sean Blanton sean at blanton.com
Mon Nov 21 12:06:42 PST 2011


I started out wanting to use Google or Yahoo, and as mentioned in the last
meeting, I ended up using a JQuery-based library, Flot. I use Perl for the
website and to generate the JSON data for the plot. I find the dynamic
highlighting, resizable and interactive web-based plots very attractive. I
use this as a complement to the DataTables plugin (http://datatables.net)
for displaying the data in tables, as the name suggests.

http://people.iola.dk/olau/flot/examples/

Beware of the JqPlot library, which is also very nice, but does not support
error bars last I checked.

Regards,
Sean




On Sat, Nov 19, 2011 at 9:20 AM, Jay Strauss <me at heyjay.com> wrote:

> Hi David,
>
> I'll check it out.  Thanks
>
> Jay
>
>
> On Fri, Nov 18, 2011 at 10:55 AM, David Mertens <dcmertens.perl at gmail.com>wrote:
>
>> I don't know how to get Google or Yahoo to do what you want. However,
>> making the chart on your own machine should be straight-forward using Perl.
>> A recent post for this can be found here:
>>
>> http://www.preshweb.co.uk/2011/11/graphing-time-based-data-in-perl/
>>
>> I know that doesn't answer your original question, but if you can't find
>> a way to do what you want, maybe this will work as Plan B.
>>
>> David
>>
>> On Fri, Nov 18, 2011 at 10:43 AM, Jay Strauss <me at heyjay.com> wrote:
>>
>>> Hi,
>>>
>>> not a Perl question exactly (although I'd probably implement using Perl).
>>>
>>> I have some price series data.  (i.e. date and price).  I'd like to
>>> chart it against various indices (like the sp500 or Russell, or an
>>> individual stock...)
>>>
>>> What I'd like to do is use yahoo chart or google, but pass them MY data
>>> and marry it with their data and produce a graph using their graphing
>>> utilities.
>>>
>>> Can anyone suggest simple ways to do this?
>>>
>>> I know I can pass ALL the data to google charts api, but it seems crazy
>>> to download the data from google, then build all the stuff with my data
>>> plus the data I downloaded, just to send it back to the place I got the
>>> data from originally.
>>>
>>> Thanks
>>> Jay
>>>
>>>
>>>
>>> _______________________________________________
>>> Chicago-talk mailing list
>>> Chicago-talk at pm.org
>>> http://mail.pm.org/mailman/listinfo/chicago-talk
>>>
>>
>>
>>
>> --
>> Sent via my carrier pigeon.
>>
>> _______________________________________________
>> Chicago-talk mailing list
>> Chicago-talk at pm.org
>> http://mail.pm.org/mailman/listinfo/chicago-talk
>>
>
>
> _______________________________________________
> Chicago-talk mailing list
> Chicago-talk at pm.org
> http://mail.pm.org/mailman/listinfo/chicago-talk
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/chicago-talk/attachments/20111121/f04cd920/attachment.html>


More information about the Chicago-talk mailing list