Issue 66865 - New chart: Load and update charts if their data changes while they are not loaded
Summary: New chart: Load and update charts if their data changes while they are not lo...
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: chart (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: kla
QA Contact: issues@graphics
URL:
Keywords: new_implementation, oooqa
Depends on:
Blocks:
 
Reported: 2006-06-29 17:10 UTC by bjoern.milcke
Modified: 2013-02-24 21:22 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description bjoern.milcke 2006-06-29 17:10:13 UTC
If you load a Calc document that contains charts, the charts are usually not
loaded immediately. Even charts that are visible are nowadays only shown with a
replacement image.

Thus when data of visible charts changes or the address of a ranges changes of a
chart that is not yet loaded, there must be a listener that does the following
on a change:

1. Load the corresponding chart (set the OLE-object's embed state to ACTIVE).
This should result in querying the data and therefore adding as listener to all
relevant data.
2. Perform the action that is scheduled to be done. This should notify the
change to the now loaded chart via the usual mechanisms.

To be able to know which ranges a chart uses, the XML-attribute
"draw:notify-on-update-of-ranges" containing the used ranges is stored. To
correctly fill this attribute, the chart's XModel, which is also an
XDataReceiver offers this information via the method
getUsedRangeRepresentations(), which returns a sequence of strings.
Comment 1 IngridvdM 2006-08-02 10:29:22 UTC
added keyword new_implementation
Comment 2 niklas.nebel 2006-12-04 16:45:30 UTC
Already implemented on the chart2mst3 CWS.
Comment 3 niklas.nebel 2006-12-13 12:00:45 UTC
Fixed in CWS chart2mst3 milestone10, please verify.
Comment 4 IngridvdM 2007-01-18 11:49:32 UTC
changed target to 2.3
Comment 5 kla 2007-02-27 11:53:15 UTC
verified
Comment 6 ace_dent 2008-05-16 03:33:21 UTC
This Issue is 'Verified' and not updated in 1yr+, so Closing.
A Closed Issue is a Happy Issue (TM).

Regards,
Andrew
 
Cleaning-up and Closing old Issues as part of:
~ The Grand Bug Squash, pre v3 ~