Drawing charts in Qt - Python

This is a discussion on Drawing charts in Qt - Python ; I would like to display some charts in a Qt application. But all the docs I find online are rather dusty and talk about Qt3. My application uses Qt4 however. I ran into PyQwt and matplotlib. But the docs of ...

+ Reply to Thread
Results 1 to 2 of 2

Drawing charts in Qt

  1. Default Drawing charts in Qt

    I would like to display some charts in a Qt application. But all the
    docs I find online are rather dusty and talk about Qt3. My application
    uses Qt4 however. I ran into PyQwt and matplotlib. But the docs of
    matplotlib are horrid and the example in their wiki covers Qt3, and
    things look quite cryptic to me.

    PyQwt looks much more interesting, but I have trouble installing it.
    On my machine it complains that sipconfig "has no attribute
    '_pkg_config'".

    In the end the application should also run on Windows boxes. And I
    suppose as long as I use the right versions and use the precompiled
    binaries, I should get it at least installed. But the thing with the
    version numbers looks like some major lottery game to me. If one of
    the elements in the chain (be it Qt, or Qwt) release new versions and
    the available binary distributions get "out of sync", future support
    for the written application becomes foggy.

    Has anyone ever successfully used these graphing libraries with PyQt?
    Or are there other graphing libraries available? In fact, my needs are
    modest. A Line- and Bar-Chart would solve the majority of problems.


  2. Default Re: Drawing charts in Qt

    Michel Albert wrote:

    > Has anyone ever successfully used these graphing libraries with PyQt?
    > Or are there other graphing libraries available? In fact, my needs are
    > modest. A Line- and Bar-Chart would solve the majority of problems.


    Veusz does line charts, and stepped charts (which are almost like bar
    charts...). It is implemented with PyQt4.

    You can use the windows.PlotWindow widget in your PyQt4 app, but
    unfortunately I haven't got round to documenting this properly... If you're
    interested I can give instructions.

    Jeremy

    --
    Jeremy Sanders
    http://www.jeremysanders.net/

+ Reply to Thread

Similar Threads

  1. Re: Drawing charts in Qt
    By Application Development in forum Python
    Replies: 1
    Last Post: 11-07-2007, 03:30 AM
  2. the best strategy for drawing charts
    By Application Development in forum Graphics
    Replies: 0
    Last Post: 12-03-2006, 04:55 PM
  3. Drawing Charts with GDI+
    By Application Development in forum DOTNET
    Replies: 5
    Last Post: 11-22-2006, 03:39 PM
  4. RE: Drawing charts with perl
    By Application Development in forum Perl
    Replies: 0
    Last Post: 10-06-2005, 01:31 PM
  5. Drawing charts with perl
    By Application Development in forum Perl
    Replies: 4
    Last Post: 10-06-2005, 12:24 PM