[Libreoffice-bugs] [Bug 113233] New: Add an attribute with reference value for grid and ticks.

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Oct 18 18:17:16 UTC 2017


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

            Bug ID: 113233
           Summary: Add an attribute with reference value for grid and
                    ticks.
           Product: LibreOffice
           Version: 6.0.0.0.alpha0+ Master
          Hardware: x86 (IA32)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: medium
         Component: Chart
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: rb.henschel at t-online.de

Currently the position of ticks and thereby of the grid lines are calculated
starting from the minimum of the axis. For example, if you set
chart:minimum="-2.5" and chart:interval-major="2" you get ticks at -2.5, -0.5,
1.5, 3.5.
But you likely want to get ticks at -2, 0, 2, 4.

The situation is worth, when you use logarithmic scaling. Here you need a lot
of mathematic for to get e.g. the ticks at 100, 200, 400, 800, 1600 and an axis
start somewhere between 50 and 100.

Gnumeric has no special setting, but uses 0 as position for linear axes and 1
as position for logarithmic axes. That does not mean, that these values need to
be included in the actual interval of the axis.

Excel has no special setting, but starts at minimum too.

I propose to introduce an attribute chart:tick-marks-ref-value, with values
"start", "end" or any double value. The major ticks are then positioned in a
way, that one major tick is on this position. The given double value need not
be inside the chart:minimum - chart:maximum range, but determines the entire
grid.

The values "start" and "end" are needed to get the current behavior, especially
when auto-scaling is on.

Having such attribute would ease the use of Calc for scientific and educational
use cases.

-- 
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/20171018/79030e68/attachment.html>


More information about the Libreoffice-bugs mailing list