Re: Goffice: Axis labels and other text elements
- From: Jon Nordby <jonn openismus com>
- To: gnumeric-list gnome org
- Subject: Re: Goffice: Axis labels and other text elements
- Date: Wed, 15 Sep 2010 11:47:39 +0200
On Thu, 2010-09-02 at 15:17 +0200, Jean Brefort wrote:
Le jeudi 02 septembre 2010 à 12:58 +0200, Jon Nordby a écrit :
I want to add labels to the x and y axis of an AreaPlot. I suspect this
folllows the same idiom as for adding a title (which is show in
tests/pie-demo.c), but what is the name(s) to add as?
GogObject *label = gog_object_add_by_name (GOG_OBJECT (axis), "Label", NULL);
More generally, you can look at the 'static GogObjectRole const roles[]'
in the *_class_init() function for the appropriate class.
This is essentially a part of the API, so shouldn't this be part of the
API documentation? Is anything major preventing that?
--
Regards Jon Nordby - www.jonnor.com
Openismus GmbH - www.openismus.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]