Results 1 to 3 of 3

Thread: Need space between bars in QwtPlotMultiBarChart

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Oct 2020
    Posts
    2
    Qt products
    Qt4 Qt5 Qt/Embedded PyQt3 PyQt4
    Platforms
    Unix/X11 Windows Android

    Default Need space between bars in QwtPlotMultiBarChart

    Hi everyone, I'm using QWT 6.2.0 and trying to draw bar chart using QwtPlotMultiBarChart. I took the reference of distrowatch example. I added a dummy (zero) values for the middle bar to increase the space between light blue bar and dark blue bar. But this is impacting the space between dark blue bar and the next light blue bar. I got the output but it is not up to the mark (as expected). I need three things to do.

    1) As shown in the output.jpg, I want to increase the space between dark blue bar and the next light blue bar.

    2) I'm calling QwtPlotRenderer.render(...) method to print this chart to PDF. But it is scaling the canvas only and not the X-Axis labels, Y-Axis values and chart title.

    3) I want to append units to the Y-Axis values. Right now it is just showing values only.

    Please help.
    Attached Images Attached Images

Similar Threads

  1. Replies: 2
    Last Post: 17th May 2017, 06:31
  2. QwtPlotMultiBarChart not equal width
    By nanthiran_2005 in forum Qwt
    Replies: 6
    Last Post: 27th June 2014, 13:39
  3. QwtPlotMultiBarChart with raw data
    By Momergil in forum Qwt
    Replies: 2
    Last Post: 14th May 2014, 18:27
  4. Stacked Curves - QwtPlotMultiBarChart
    By GG2013 in forum Qwt
    Replies: 2
    Last Post: 13th August 2013, 03:58
  5. Replies: 1
    Last Post: 26th July 2009, 16:08

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.