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

QHXYModelMapper does not set proper default for columnCount

XMLWordPrintable

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

      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

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

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

              Created:
              Updated:

                There are no open Gerrit changes