[Libreoffice-bugs] [Bug 135366] New: implementation errors for border of data labels in charts

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Aug 1 16:49:42 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=135366

            Bug ID: 135366
           Summary: implementation errors for border of data labels in
                    charts
           Product: LibreOffice
           Version: 7.1.0.0.alpha0+ Master
          Hardware: x86-64 (AMD64)
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Chart
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: rb.henschel at t-online.de

Created attachment 163846
  --> https://bugs.documentfoundation.org/attachment.cgi?id=163846&action=edit
Reproduce problems with dash of data label borders

Open attached document. It contains a chart. The data labels and the legend
have a thick yellow border. That makes the problem better visible.

Activate the chart.
Select the legend and set the line style to "Dot" on tab "Border" of its
properties. That works as intended.
Select the data labels and set the line style to "Dash" on tab "Border" of its
properties. The line style is not correctly applied.
For to see all problems use different styles for legend and data labels.

Save the document with a new name. Unzip this document. Open folder "Object 1",
which contains the chart. Open file "content.xml". Open tree
office:automatic-styles.

Find style with style name "ch2". That belongs to the legend. You will find in
the element stype:graphic-properties the attributes
    draw:stroke="dash"      That says, that it is not solid.
    draw:stroke-dash="Dot"  The name of the dash-definition.
    svg:stroke-width="0.2cm"    The width of the border
    svg:stroke-color="#ffff00"   The color of the border

Now open the style which belongs to the data labels. It should be "ch7", if you
have styled all data labels and not only a single one.
Open element style:chart-properties. You will find attributes
    loext:label-stroke-color
    loext:label-stroke
    loext:label-stroke-width
They shouldn't exists. Border properties are graphic properties, not chart
properties.
Open element style:graphic-properties. You will find attribute
    draw:stroke="none"     That is false, value should be "dash"
Notice, that there is no reference to the dash-definition.

Open file styles-xml and look for the dash definitions. There is only one
draw:stroke-dash element, and that has draw:name="Dot". It belongs to the
legend. The definition for the style "Dash" of the data label border is
missing.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200801/2727448e/attachment.htm>


More information about the Libreoffice-bugs mailing list