Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Hi all,

I have got a prototype implementation of the new symbols now, that works for me. But it contains a decision for which I want to know your opinion before I work further on it.

The current standard symbols are all based on a square. Changing of width or height in the data series or data point property dialog scales this square to an rectangle in the given size.

In my prototype for the horizontal-bar and the vertical-bar the width and the height in that dialog is still a square, but the bars are drawn as rectangle with 1/5 height or width respectively. In the chart itself the snap rectangle is not a square but corresponds to the drawn rectangle. This has the advantage, that the size remains the same, when the user switches between the symbols, and the disadvantage, that the drawn height or width is only a 1/5 of the size in the underlying graphic in the model. I have seen such behavior in Excel and Gnumeric too, perhaps because they do not allow to set width and height independently.

I have not tried the way, to implement a bar as scaled square. That seemed more difficult to me. It would lead to the situation, that you need a case distinction on the symbol type every time when calling the shape factory and the needed size has to be maintained in different places.

See also http://wiki.documentfoundation.org/User:Regina/DraftAdditionalSymbolsInCharts

Do you agree with my decision?

Kind regards
Regina



Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.