Hi Regina,
Hello,

I have written a calc-dokument which visualizes the Riemann sums of a definite integral, see http://www.rhenschel.homepage.t-online.de/oberuntersumme.ods It uses macros, which draw rectangles into a diagram. It works fine in OOo2.2, but with the new chart I get a runtime error, if I press "Rechtecke neu zeichnen" which calls TreppenAktalisieren. I guess that the amount of default objects (like title or legend) in a diagram has changed.
There might be something else in addition.
Nice Document/Chart!

First of all, the "Model" of the new chart no longer is derived from a draw model, that is it contains no shapes at all. (The shapes are contained in the view). So, when you add your own shapes, these are the only ones. In short:

change "Const MIN_INDEX% = 2" to "Const MIN_INDEX% = 0"

I noticed also that the chart is not automatically updated. I haven't investigated, but maybe adding/removing of "additional" shapes does not trigger a modified state that refreshes the view. Only way to get the correct chart seems to be double click (unprotected) chart. The chart also behaves a bit weird, changes to the series or legend, etc. seem to have no effect.

I will investigate this when back at work (where I also have a more recent build).

-Bjoern

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to