https://bugs.kde.org/show_bug.cgi?id=383758

            Bug ID: 383758
           Summary: Report unreadable because element outlines are to
                    thick
           Product: skrooge
           Version: Trunk from git
          Platform: Neon Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: guillaume.deb...@gmail.com
          Reporter: bernhard+...@scheirle.de
                CC: steph...@mankowski.fr
  Target Milestone: ---

Created attachment 107409
  --> https://bugs.kde.org/attachment.cgi?id=107409&action=edit
Screenshot

If you have many items in a report sometimes the outline of these items are
incredibly thick (see the attached screenshot).
If it happens, all chart types except line and pie charts are affected.
For a point chart the first 5 items are displayed with a normal outline but all
other items have a thick outline.


I only did a quick check but it looks like the problem is in
skgtablewithgraph.cpp in SKGTableWithGraph::drawPoint and
SKGTableWithGraph::redrawGraph:

QPen(m_outlineColor) seems to create a pen with a really thick outline.
Setting the width of such a pen manually seems to fix this issue.

E.g. the first 5 modes in ::drawPoint set the width manually and the first 5
items in a point chart are displayed correctly.
Also if I set .setWidthF(iRadius/4) for the other modes the point char looks
fine again.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to