Skip to content
  • How to layout CChartViews in a table

    Unsolved General and Desktop qchartview qtablewidget qchart
    2
    0 Votes
    2 Posts
    609 Views
    mrjjM
    Hi Well it could work but you will have the issue that a row can only be one height so if one big and the rest small, it will look odd. [image: g235IL.png] But if all chart will be ca same size yes it should work ok. Alternatively, you could tweak this https://doc.qt.io/qt-5/qtwidgets-layouts-flowlayout-example.html and put it into a QScrollArea. Add this to it https://wiki.qt.io/Widget-moveable-and-resizeable Tweak it a bit and it should allow for a group of chars in various sizes and scrollable.
  • Clipping QGraphicsItems in a QChart

    Unsolved General and Desktop qchart qgraphicsitem clipping
    3
    0 Votes
    3 Posts
    981 Views
    W
    For sure it can be measured, and I do agree with the approach "if it works fine, just use it". But I am still curious, why clipping is expensive in the first place, so that the warning exists in the docs? Has anyone experienced performance impact while actively using clipping for real-time chart?
  • 0 Votes
    11 Posts
    2k Views
    M
    @Christian-Ehrlicher mark@mark:/opt/Qt5.9.1/5.9.1/gcc_64/lib$ objdump -T -t libQt5Core.so.5 | grep -i qt_version_tag 000000000035aa9d g DO .rodata 0000000000000001 Qt_5 qt_version_tag_5_0 000000000035aa9c g DO .rodata 0000000000000001 Qt_5 qt_version_tag_5_1 000000000035aa9b g DO .rodata 0000000000000001 Qt_5 qt_version_tag_5_2 000000000035aa9a g DO .rodata 0000000000000001 Qt_5 qt_version_tag_5_3 000000000035aa99 g DO .rodata 0000000000000001 Qt_5 qt_version_tag_5_4 000000000035aa98 g DO .rodata 0000000000000001 Qt_5 qt_version_tag_5_5 000000000035aa97 g DO .rodata 0000000000000001 Qt_5 qt_version_tag_5_6 000000000035aa96 g DO .rodata 0000000000000001 Qt_5 qt_version_tag_5_7 000000000035aa95 g DO .rodata 0000000000000001 Qt_5 qt_version_tag_5_8 000000000035aa94 g DO .rodata 0000000000000001 Qt_5 qt_version_tag_5_9 000000000035aa97 g DO .rodata 0000000000000001 (Qt_5.6) qt_version_tag 000000000035aa94 g DO .rodata 0000000000000001 Qt_5.9 qt_version_tag 000000000035aa9c g DO .rodata 0000000000000001 (Qt_5.1) qt_version_tag 000000000035aa95 g DO .rodata 0000000000000001 (Qt_5.8) qt_version_tag 000000000035aa9d g DO .rodata 0000000000000001 (Qt_5.0) qt_version_tag 000000000035aa9a g DO .rodata 0000000000000001 (Qt_5.3) qt_version_tag 000000000035aa9b g DO .rodata 0000000000000001 (Qt_5.2) qt_version_tag 000000000035aa98 g DO .rodata 0000000000000001 (Qt_5.5) qt_version_tag 000000000035aa99 g DO .rodata 0000000000000001 (Qt_5.4) qt_version_tag 000000000035aa96 g DO .rodata 0000000000000001 (Qt_5.7) qt_version_tag mark@mark:/opt/Qt5.9.1/5.9.1/gcc_64/lib$ objdump -T -t libQt5Widgets.so.5 | grep -i qt_version_tag 0000000000000000 DO *UND* 0000000000000000 Qt_5.9 qt_version_tag mark@mark:/opt/Qt5.9.1/5.9.1/gcc_64/lib$ objdump -T -t libQt5Gui.so.5 | grep -i qt_version_tag 0000000000000000 DO *UND* 0000000000000000 Qt_5.9 qt_version_tag mark@mark:/opt/Qt5.9.1/5.9.1/gcc_64/lib$ objdump -T -t libQt5Charts.so.5 | grep -i qt_version_tag 0000000000000000 DO *UND* 0000000000000000 Qt_5.9 qt_version_tag mark@mark:/opt/Qt5.9.1/5.9.1/gcc_64/lib$
  • QChart Yaxis quits adjusting with small numbers

    Unsolved General and Desktop qchart yaxis scaling
    4
    0 Votes
    4 Posts
    993 Views
    S
    As a workaround, it seems you can setRange(0,1) then add the axis to the chart, then call setRange(realMin,realMax) and the chart is drawn properly.
  • Draw basic Axes on QPixmap ?

    Unsolved General and Desktop qpixmap qchart qlabel axis plot
    29
    0 Votes
    29 Posts
    12k Views
    R
    Thanks for the support guys. I tried making a transparent QPixmap image using Qt::transparent fill for the axis and overlaying it onto my other QPixmap, however it didn't work properly. So I ended up just drawing directly onto the image itself. Not the most efficient method but it seems to work...
  • 0 Votes
    5 Posts
    2k Views
    Z
    Hello, I tried the library qwt and saw that the slowdown effect did not occur. Update all my code to adapt it to the qwt library and once integrated, no type of slowdown occurs even after a couple of days. Also this library allowed me to insert better visual effects. Thanks for the help.
  • How do I get crowded QLegend items to wrap?

    Unsolved General and Desktop qchart qlegend wrap
    5
    0 Votes
    5 Posts
    2k Views
    S
    hi @mmikeinsantarosa .could you resolve this issue?how did u make all the legends visible ?thank you.
  • 0 Votes
    1 Posts
    2k Views
    No one has replied
  • 0 Votes
    6 Posts
    2k Views
    A
    @6thC cool story, thanks for the detailed reply! I've realized that QLegend isn't the best solution for me, so I ended up doing something similar to what you did. I'm using labels with a monospaced font and splitting the whole and fractional parts, so it's a lot nicer now
  • Center background image in QChart

    Unsolved General and Desktop charts qchart qchartview
    6
    0 Votes
    6 Posts
    4k Views
    F
    I found a solution and post it here: link
  • How to set QValueAxis to a fixed width?

    Unsolved General and Desktop qchart qvalueaxis
    1
    0 Votes
    1 Posts
    787 Views
    No one has replied
  • 0 Votes
    3 Posts
    2k Views
    pauleddP
    Works, thank you.
  • "Ruler" style for QChart axis

    Unsolved General and Desktop qchart axis qcategoryaxis
    2
    0 Votes
    2 Posts
    1k Views
    No one has replied
  • How to make QChart widget thinner than 180px

    Unsolved General and Desktop qchart qt5.7
    1
    0 Votes
    1 Posts
    576 Views
    No one has replied
  • Cannot use QChart with Visual Studio 2015

    Unsolved General and Desktop vs2015 qchart
    2
    0 Votes
    2 Posts
    1k Views
    raven-worxR
    @esope this is an unofficial extension. So you need to contact the developer directly. But manually - in the project properties - you would need to add the .lib file to projects dependencies and add the modules include path.
  • Insert Qt Charts in QTextEdit

    Solved General and Desktop qchart qtextedit input
    6
    0 Votes
    6 Posts
    3k Views
    SGaistS
    Hi, It might be not possible to insert a QChart object directly but a possible alternative might be to generate your chart, render it on a QImage and then put that QImage your QTextDocument. Hope it helps