Please nominate your Qt Champions for 2021! https://forum.qt.io/topic/132134/looking-for-the-2021-qt-champions

How to set QValueAxis to a fixed width?



  • hi,everyone,
    I need to be able to set a fixed width for the labels of the Value Axis.
    I have a problem caused by the re-scaling of the plotting area based on the number of digits in the valueAxis labels.
    I need some way to keep the actual chart area (compared to the value axis) to stay the same width.

    anyone has idea?


Log in to reply