Apache OpenOffice (AOO) Bugzilla – Issue 83319
XY-Chart DataPoint&Lines:Sub changes only the Chart 1
Last modified: 2013-02-24 21:20:23 UTC
[1]Since 2.3 the XY-Chart has strange Defaults: A too big square as Datapoint & a invisible line between =>needs programming in Basic... [2]The example has a Basic-Sub, called twice: The first chart produced has the desired appearance (3 different symbols and red lines between), the second does show the default square in red and red lines (a new programing feature?). [3]dataPointProp.lineColor and dataPointProp.fillColor seems not to be independent [4]is __slow__ (on Display: first shown as line chart, then the chart with defaults, then about 10 changed datapoints, then after thinking, the rest... and all what I want was using the nice BITMAPs from the gallery (no doc or help found)
Created attachment 49418 [details] incl. Basic macro
wrong component, changed to Chart and re-assigned
[1] The default symbol size was enlarged for OOo 2.3 as it was considered to be to small [2] It is not possible so far to have a symbol color different from the line color at the series properties. [3] Yes, they are the same for this chart type. [4] Changes at the chart are notified and the view is recreated then. If you do want to make several changes without change notifications in between you need to use the the methods lockControllers() and unlockControllers() at the interface com::sun::star::frame::XModel at the chart. Calll lockControllers() at the chart, do your changes at the chart, call unlockControllers() at the chart (see issue 81857 for an example).
As it is not possible to handle multiple requests in one issue I need to close this one as invalid (see basic issue tracker rules here: http://qa.openoffice.org/issue_handling/basic_rules.html#one_per_issue). Please submit issues with a single request only. Thank you for your understanding.
Sorry, NO =>*ReOPEN* Comments: [1] The default symbol size was enlarged for OOo 2.3 as it was considered to be to small Yes, each user like symbols measured in square feet und invisible lines between =>You have NOT made a example using defaults. [2] You have NOT used the attached example und NOT startet the script! your answer has nothing to do with my item 2 You dont explain how to produce 2 different charts with one script, a miracle! [4] lockControllers()? => a old gag, removed to make things visible. My last 'all what I want was using the nice BITMAPs from the gallery' was in hope to get a Tip, better a example from a expert. Sorry, such results I know from MS help desk => I have worked long to prepare a running demo to save the time of a developer and have added all known info: You count the items... My ONLY *Request is [2]* because my busines application is since ooo 2.3 not longer usable (Defaults) and trying to avoid it with my script fails! A developer at work will also correct the defaults and check other things...
You used a wrong index for the first parameter in getDataPointProperties. I'll attach a corrected script. I also added lockControllers and unlockControllers to prevent a view notification and recreation for each change. You will see that it works faster now.
Created attachment 51788 [details] corrected script
I close this issue as invalid now as the "My ONLY *Request is [2]*" was caused by an error in usage.
closed