473,545 Members | 1,932 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

python module for interactive web charts

Is there anything that is made to generate web pages which have charts
similar to the yahoo finance stock charts? Not looking to graph stocks
specifically, but anything. I like how you can zoom on each axis, and maybe
click to see numerical values and such.

If there isn't anything in Python, what do people typically use for that
kind of stuff, or is it all hand-rolled?

thanks,
MB
Jul 18 '05 #1
3 3518
>>>>> "Moosebumps " == Moosebumps <mo********@moo sebumps.com> writes:

Moosebumps> Is there anything that is made to generate web pages
Moosebumps> which have charts similar to the yahoo finance stock
Moosebumps> charts? Not looking to graph stocks specifically, but
Moosebumps> anything. I like how you can zoom on each axis, and
Moosebumps> maybe click to see numerical values and such.

Moosebumps> If there isn't anything in Python, what do people
Moosebumps> typically use for that kind of stuff, or is it all
Moosebumps> hand-rolled?

matplotlib is a 2D plotting library that supports a number of plot
types - http://matplotlib.sourceforge.net/screenshots.html. The
library can generate plots either to GUIs or just generate images if
you want to use it in a web application server. See this link
http://matplotlib.sourceforge.net/faq.html#APPSERVER for more
information about using matplotlib in a web server. There are
interactive navigation tools for panning and zooming, etc.

The next release 0.53 due out early next week will have a lot of
support for making date plots, using python datetimes, mx.Datetime, or
other, with a hodge podge of minor and major date tick locators and
formatters. There is also a financial module in the works which will
be finished soon for candlestick plots and the like.

If you're interested in getting announcements when these features are
ready, you may want to join the mailing list
http://lists.sourceforge.net/mailman...tplotlib-users.

Cheers,
John Hunter
Jul 18 '05 #2
Thanks, that looks great -- just what I'm looking for! As a note, it's nice
that all the figures are anti-aliased -- even a lot of commercial packages
that I looked at don't have that.

MB

"John Hunter" <jd******@ace.b sd.uchicago.edu > wrote in message
news:ma******** *************** *************** @python.org...
>> "Moosebumps " == Moosebumps <mo********@moo sebumps.com> writes:


Moosebumps> Is there anything that is made to generate web pages
Moosebumps> which have charts similar to the yahoo finance stock
Moosebumps> charts? Not looking to graph stocks specifically, but
Moosebumps> anything. I like how you can zoom on each axis, and
Moosebumps> maybe click to see numerical values and such.

Moosebumps> If there isn't anything in Python, what do people
Moosebumps> typically use for that kind of stuff, or is it all
Moosebumps> hand-rolled?

matplotlib is a 2D plotting library that supports a number of plot
types - http://matplotlib.sourceforge.net/screenshots.html. The
library can generate plots either to GUIs or just generate images if
you want to use it in a web application server. See this link
http://matplotlib.sourceforge.net/faq.html#APPSERVER for more
information about using matplotlib in a web server. There are
interactive navigation tools for panning and zooming, etc.

The next release 0.53 due out early next week will have a lot of
support for making date plots, using python datetimes, mx.Datetime, or
other, with a hodge podge of minor and major date tick locators and
formatters. There is also a financial module in the works which will
be finished soon for candlestick plots and the like.

If you're interested in getting announcements when these features are
ready, you may want to join the mailing list
http://lists.sourceforge.net/mailman...tplotlib-users.

Cheers,
John Hunter

Jul 18 '05 #3
gsm
goto

http://www.advsofteng.com/

you can do everythign with this library and it is HTTP server optimised ...
i.e small footprint

"Moosebumps " <mo********@moo sebumps.com> wrote in message
news:ha******** **********@news svr27.news.prod igy.com...
Is there anything that is made to generate web pages which have charts
similar to the yahoo finance stock charts? Not looking to graph stocks
specifically, but anything. I like how you can zoom on each axis, and maybe click to see numerical values and such.

If there isn't anything in Python, what do people typically use for that
kind of stuff, or is it all hand-rolled?

thanks,
MB

Jul 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
10569
by: Paul Gardella | last post by:
Folks, Does anyone know of a Python module for building organization charts? I've looked at gdchart and JPGraph, but neither of them do org charts, as far as I can tell. Seems it can be done with wxOGL in wxPython, but that's the brute force approach. Any other options? Thanks. Paul Gardella
3
2597
by: John Hunter | last post by:
matplotlib is a 2D plotting library for python. You can use matplotlib interactively from a python shell or IDE, or embed it in GUI applications (WX, GTK, and Tkinter). matplotlib supports many plot types: line plots, bar charts, log plots, images, pseudocolor plots, legends, date plots, finance charts and more. What's new since...
13
4622
by: Tim Henderson | last post by:
Hi I want to dynamically generate a graph in python that would be displayable on a web page. What would be the best way to do this? The reason I want to do this, is because I am making a program to convert data from scientic probes into web pages. I have been able to do every thing except the graph generation. Your help would be much...
20
2425
by: Joe | last post by:
When you run "python -i scriptname.py" after the script completes you left at the interactive command prompt. Is there a way to have this occur from a running program? In other words can I just run scriptname.py (NOT python -i scriptname.py) and inside of scriptname.py I decide that I want to fall back to the interactive prompt? I've...
13
3335
by: dmh2000 | last post by:
I am experimenting with the interactive interpreter environments of Python and Ruby and I ran into what seems to be a fundamental difference. However I may be doing something wrong in Python. Please comment and correct me if I am wrong In both languages, you can start up the interactive interpreter ('python' and 'irb'), load source files...
0
1967
by: Kurt B. Kaiser | last post by:
Patch / Bug Summary ___________________ Patches : 385 open (+21) / 3790 closed (+21) / 4175 total (+42) Bugs : 1029 open (+43) / 6744 closed (+43) / 7773 total (+86) RFE : 262 open ( +4) / 291 closed ( +4) / 553 total ( +8) New / Reopened Patches ______________________
0
7479
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7411
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7669
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7926
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7439
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
4962
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3450
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1028
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
722
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.