Hi Ferry,

Ferry Toth escribió:
Question is: are these ways exposed to the basic script, so the end user
can store data in the object? If not, what would it take to get that
done?

there is the whole (old) chart and (brand new / unpublished) chart2 API

http://api.openoffice.org/docs/common/ref/com/sun/star/chart/module-ix.html
http://api.openoffice.org/docs/common/ref/com/sun/star/chart2/module-ix.html

you can run a test (C++ code with SDK makefile and executables for Win
and Linux)
http://www.ArielConstenlaHaile.com.ar/ooo/temp/TextTableChart_cpp.zip

or the OOoBasic version
http://www.ArielConstenlaHaile.com.ar/ooo/temp/TextTableChart.odt


As you'll see, you can query a database and show the results in a chart.
Putting all the result set in the chart data is not a good idea (test a
chart based on a huge spreadsheet and you'll see the lack of
performance). So better use aggregates.


Regards
Ariel.




--
Ariel Constenla-Haile
La Plata, Argentina

[EMAIL PROTECTED]
[EMAIL PROTECTED]

http://www.ArielConstenlaHaile.com.ar/ooo/



"Aus der Kriegsschule des Lebens
                - Was mich nicht umbringt,
        macht mich härter."
                Nietzsche Götzendämmerung, Sprüche und Pfeile, 8.


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

Reply via email to