Re: libgoffice help
- From: Jean Bréfort <jean brefort normalesup org>
- To: jcupitt gmail com
- Cc: gnumeric-list gnome org
- Subject: Re: libgoffice help
- Date: Thu, 30 Apr 2009 14:42:58 +0200
Le jeudi 30 avril 2009 à 13:05 +0100, jcupitt gmail com a écrit :
Hi all,
I'm trying to use libgoffice to draw charts for my image processing
package, replacing GtkExtra.
I've got it mostly working, except I just can't figure out how to set
line colours. I've tried various things along the lines of:
series = gog_plot_new_series( plotview->gplot );
........
style = gog_styled_object_get_style( GOG_STYLED_OBJECT( series ) );
style->line.color = RGB_RED;
gog_styled_object_style_changed( GOG_STYLED_OBJECT( series ) );
You should call gog_object_request_update instead of
gog_styled_object_style_changed.
When you upgrade to goffice-0.7.5 or later, you need to change to
style = go_styled_object_get_style( GO_STYLED_OBJECT( series ) );
but nothing seems to work :-( This is with 0.7.4, if that's important.
Do I need to create a custom theme?
John
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]