Issue 83319 - XY-Chart DataPoint&Lines:Sub changes only the Chart 1
Summary: XY-Chart DataPoint&Lines:Sub changes only the Chart 1
Status: CLOSED NOT_AN_OOO_ISSUE
Alias: None
Product: General
Classification: Code
Component: chart (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: IngridvdM
QA Contact: issues@graphics
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-05 10:33 UTC by wsp
Modified: 2013-02-24 21:20 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
incl. Basic macro (38.14 KB, application/vnd.oasis.opendocument.spreadsheet)
2007-11-05 10:37 UTC, wsp
no flags Details
corrected script (42.32 KB, application/vnd.oasis.opendocument.spreadsheet)
2008-02-28 14:41 UTC, IngridvdM
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description wsp 2007-11-05 10:33:28 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)
Comment 1 wsp 2007-11-05 10:37:16 UTC
Created attachment 49418 [details]
incl. Basic macro
Comment 2 frank 2007-11-05 10:38:56 UTC
wrong component, changed to Chart and re-assigned
Comment 3 IngridvdM 2007-11-19 16:51:53 UTC
[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).
Comment 4 IngridvdM 2007-11-19 16:56:33 UTC
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.
Comment 5 wsp 2007-12-26 15:25:10 UTC
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...
Comment 6 IngridvdM 2008-02-28 14:34:33 UTC
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.
Comment 7 IngridvdM 2008-02-28 14:41:30 UTC
Created attachment 51788 [details]
corrected script
Comment 8 IngridvdM 2008-02-28 14:43:19 UTC
I close this issue as invalid now as the "My ONLY *Request is [2]*" was caused
by an error in usage.
Comment 9 IngridvdM 2008-02-28 14:44:14 UTC
closed