<div dir="ltr">Replied on the bug tracker. Would be good to have a UX keyword to not only get pinged by component=ux-advice.</div><div class="gmail_extra"><br><div class="gmail_quote">2016-01-08 22:34 GMT+01:00 Laurent BP <span dir="ltr"><<a href="mailto:jumbo4444@yahoo.fr" target="_blank">jumbo4444@yahoo.fr</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
If your trendline equation is too long (for instance with a high degree<br>
polynomial trendline) then :<br>
- end of equation is not visible [1]<br>
- chart is squeezed when exiting chart [2]<br>
See bug 94004 [3]<br>
To fix this bug there could be (at least) two ways:<br>
(a) if General format is used for equation, number of decimal digits should<br>
be adapted to fit equation in chart width<br>
(b) we should alert user that equation is too long and let him make a<br>
decision: change number format, change font size, increase chart width<br>
<br>
I proposed a commit [4] for solution (a), but Moggi have some concerns about<br>
it and would prefer solution (b).<br>
<br>
moggi wrote<br>
> I'm not sure if that is really a good approach. In general I think instead<br>
> of trying to change the equation we should make it clear to the user that<br>
> we could not layout his chart correctly and that he should look into<br>
> fixing the layout. So a more make the user aware of the problems than<br>
> trying to work around problems.<br>
> I suggest that you contact the UX team and tell them about your idea and<br>
> my concerns.<br>
> [...]<br>
> If they have more questions they can contact me.<br>
<br>
IMHO, if General number format is used, it should automatically adapt its<br>
length to chart width like it does in a cell with column width. With General<br>
format, user does not bother about specific notation (normal or scientific)<br>
nor precision (as many as digits as it could). For instance, if intercept is<br>
forced to 1 (you can set its value through trendline dialog), there is no<br>
need for a large number of significant digits for intercept value; but other<br>
values of polynomial equation may display much more digits. Only General<br>
format can deal with different precision for each value of polynomial<br>
equation. So user could not fix the problem by means of a specific number<br>
format: all values of polynomial equation will have the same format.<br>
<br>
However, solution (a) does not fix the bug if user chose a specific number<br>
format that creates a too long equation. In this case, user is already aware<br>
of the problem when chart is opened (as it can be seen on screenshot [1]).<br>
And when chart is closed, I propose that trendline equation should be cut to<br>
chart width and ended with a red triangle (like when text length exceeds<br>
column width within a cell). So that chart is not shrink like in screenshot<br>
[2], and "make the user aware of the problems" with solution (b).<br>
<br>
So now we are expecting your advices about these two solutions.<br>
<br>
Many thanks in advance for your comments.<br>
<br>
Best regards,<br>
<br>
Laurent BP<br>
<br>
[1] <a href="https://bugs.documentfoundation.org/attachment.cgi?id=121807" rel="noreferrer" target="_blank">https://bugs.documentfoundation.org/attachment.cgi?id=121807</a><br>
[2] <a href="https://bugs.documentfoundation.org/attachment.cgi?id=121808" rel="noreferrer" target="_blank">https://bugs.documentfoundation.org/attachment.cgi?id=121808</a><br>
[3] <a href="https://bugs.documentfoundation.org/show_bug.cgi?id=94004" rel="noreferrer" target="_blank">https://bugs.documentfoundation.org/show_bug.cgi?id=94004</a><br>
[4] <a href="https://gerrit.libreoffice.org/18397/" rel="noreferrer" target="_blank">https://gerrit.libreoffice.org/18397/</a><br>
<br>
<br>
<br>
-----<br>
LibreOffice 5.0.4.2<br>
--<br>
View this message in context: <a href="http://nabble.documentfoundation.org/Chart-what-to-do-when-trendline-regression-equation-is-too-long-tdf-94004-tp4171208.html" rel="noreferrer" target="_blank">http://nabble.documentfoundation.org/Chart-what-to-do-when-trendline-regression-equation-is-too-long-tdf-94004-tp4171208.html</a><br>
Sent from the UX-Advise mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Libreoffice-ux-advise mailing list<br>
<a href="mailto:Libreoffice-ux-advise@lists.freedesktop.org">Libreoffice-ux-advise@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/libreoffice-ux-advise" rel="noreferrer" target="_blank">http://lists.freedesktop.org/mailman/listinfo/libreoffice-ux-advise</a><br>
</blockquote></div><br></div>