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

QHXYModelMapper does not set proper default for columnCount

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.7.0
    • Charts
    • None

    Description

      Documentation implies that QHXYModelMapper default for columnCount is -1, which will limit the columnCount to the value from the model. In practice, columnCount needs to be set explicitly, or QHXYModelMapper will try and map data from invalid columns above the number in the model. Either the documentation or the implementation should be changed so they are in agreement.

      Relevant forum thread:
      https://forum.qt.io/topic/72832/crash-when-assigning-proxy-model-to-chartview-but-not-tableview/4

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            e0348803 Miikka Heikkinen
            yosemite Sean Phillips
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes