Congratulations to our 2022 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