Results 1 to 4 of 4

Thread: Cannot find QwtPlotHistogram class

  1. #1
    Join Date
    Feb 2011
    Posts
    3
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11

    Default Cannot find QwtPlotHistogram class

    I have been looking through all of the documentation for Qwt and cannot figure out where the histogram class is. At one point I found a post from 2008 that suggested the files were part of the 5.2 trunk but they seem to have been moved. Does anyone know how to create a histogram chart with Qwt 5.2.1?

    Thanks for the help.

  2. #2
    Join Date
    Oct 2010
    Location
    Berlin, Germany
    Posts
    358
    Thanks
    18
    Thanked 68 Times in 66 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Cannot find QwtPlotHistogram class

    have a look into the examples. there you can find something like histogram.

    In the current version in svn might be a "real" histogram class, but i'm not sure - still working with 5.2.

  3. #3
    Join Date
    Feb 2011
    Posts
    3
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11

    Default Re: Cannot find QwtPlotHistogram class

    Hmm... ok thank you. This seems like something that would/should be included as it seems less complicated to implement than other qwt included objects such as the spectrogram plot. Thanks for the help, I'll look through the examples.

    If anyone has cut down histogram example that would be great.

    Correction:

    I just looked through the most recent RC files for QWT and it looks as though with V6.0 they have included a histogram class.

  4. #4
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,230
    Thanks
    302
    Thanked 864 Times in 851 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: Cannot find QwtPlotHistogram class

    Please note that if you are looking for something that draws Microsoft Chart-style bar charts, the new QwtPlotHistogram is not going to do what you want. It draws histograms, where the x, y values represent the x-axis position and y-axis height of the histogram stick. This is not the same as a bar chart, where the x-axis is a category axis, not a numeric axis.

Similar Threads

  1. QwtPlotHistogram
    By yers in forum Qwt
    Replies: 4
    Last Post: 5th January 2011, 07:23
  2. Replies: 4
    Last Post: 4th January 2011, 09:47
  3. Replies: 8
    Last Post: 5th August 2010, 05:51
  4. Replies: 2
    Last Post: 4th December 2008, 17:50
  5. Replies: 2
    Last Post: 22nd May 2006, 22:08

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.