Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-138110

Mismatch Between Bar Values and Y-Axis in QtCharts

    XMLWordPrintable

Details

    • Linux/Wayland

    Description

      When using QtCharts to display bar data, the visual height of the bars (specifically the blue ones) does not align correctly with the values on the right-side Y-axis. This creates a misleading visual representation where the bars do not appear to match their expected values according to the axis scale.

      Steps to Reproduce:

      1. Open the provided example project.
      1. Build and run the application.
      1. Observe the bar chart with the Y-axis positioned on the right side.
      1. Compare the height of the bars to the corresponding Y-axis values.

      Expected Behavior:
      Bar heights should correspond accurately to their associated values on the right-side Y-axis.

      Actual Behavior:
      Bar heights appear inconsistent with the values shown on the right-side Y-axis, indicating a possible rendering or alignment issue.

      Attachments

        1. bar_integer_only.png
          bar_integer_only.png
          38 kB
        2. bars.png
          bars.png
          11 kB
        3. QTBUG-138110.zip
          3 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            e0348803 Miikka Heikkinen
            chakib Chakib Boutaghane
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes