libgoffice help

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 ) );

but nothing seems to work :-( This is with 0.7.4, if that's important.
Do I need to create a custom theme?


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]