Chart: Y-axis automatic logarithmic scale
chris.sherlock79 at gmail.com
Sun Jan 3 20:01:04 PST 2016
We have a class called “ScaleAutomism”?!?
Nice catch though.
> On 3 Jan 2016, at 11:46 PM, Laurent BP <jumbo4444 at yahoo.fr> wrote:
> In ScaleAutomatism::calculateExplicitIncrementAndScaleForLogarithmic
> function , Y-axis automatic logarithmic scale is expand to B^0 (i.e. 1)
> in almost all cases.
> In step 2, it is said 
> /* If minimum is less than 5 (i.e. original source values less than
> B^5, B being the base of the scaling), or if minimum and maximum
> are in different increment intervals (means, if minimum and maximum
> are not both in the range [B^n,B^(n+1)] for a whole number n), set
> minimum to 0, which results in B^0=1 on the axis. */
> I do not agree with this comment because on a log scale, "1" has no special
> meaning: it is not the origin, like "0" is on a linear scale. I would
> propose a patch to suppress this part, but there are may be some good
> reasons to expand to 1?
> I opened bug 96871  about this.
> Thanks in advance for your help.
> Best regards,
> Laurent BP
>  https://bugs.documentfoundation.org/show_bug.cgi?id=96871
> LibreOffice 18.104.22.168
> View this message in context: http://nabble.documentfoundation.org/Chart-Y-axis-automatic-logarithmic-scale-tp4170678.html
> Sent from the Dev mailing list archive at Nabble.com.
> LibreOffice mailing list
> LibreOffice at lists.freedesktop.org
More information about the LibreOffice