Chart titles

Jan <[email protected]>
Newsgroups gmane.comp.openoffice.devel.general
Message-ID <1300296058.2827.415.camel@jan-laptop>
Hi,

I successfully inserted a Chart into a Text Document, set an XYDiagram
and set the data values (via the API).

However, I am at a total loss on how to add a Title to the diagram and
to the X- and Y-Axis. Can anyone give me a pointer?

Also, setting the line color of the diagram with

xyProps->setPropertyValue(OU("LineColor"), makeAny(sal_uInt32(0)));

works fine, but 

xyProps->setPropertyValue(OU("SplineType"), makeAny(sal_uInt32(1)));

crashes with

com::sun::star::beans::UnknownPropertyException

Why? The property is mentioned in the exact same place:

http://api.openoffice.org/docs/common/ref/com/sun/star/chart/LineDiagram.html

Thanks!
	Jan


--
-----------------------------------------------------------------
To unsubscribe send email to [email protected]
For additional commands send email to [email protected]
with Subject: help
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.