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

Linechart points are clipped on the border of the chart

    XMLWordPrintable

Details

    • a692d9a826d864e91b668415aea266228c2ae323

    Description

      When you set the points visible in the linechart the points in the border of the chart are clipped and only half of the circle is shown. See the attached image.

      This happens because the clipArea in the LineChartItem::paint() is too small to fit the points. Probably the best way to fix this is to draw the line and the points separately (currently they are drawn in the same painter path) and increase the clipArea when drawing the points.

      This can be reproduced with Qt Charts Linechart example by setting the points visible.

      Attachments

        For Gerrit Dashboard: QTBUG-62839
        # Subject Branch Project Status CR V

        Activity

          People

            mabadri Mahmoud Badri
            qtcomsupport Qt Support
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes