Re: Goffice Graph Bounds Change

2009-09-10 Thread David Brigada
in gchemutils (gchemutils.nongnu.org) file libs/gcu/spectrumdoc.cc. Le vendredi 04 septembre 2009 à 13:06 -0400, David Brigada a écrit : Jean, The relevant part on new data looks something like this (simplified a bit): void new_data(GogSeries *series, gdouble *x, gdouble *y) { GOData

Goffice Graph Bounds Change

2009-09-04 Thread David Brigada
of the graph, so data is lost off the sides (especially the top and bottom). Am I missing some way to tell it to update the bounds when it gets new data? The same behavior appears in goffice 0.7.8 and 0.7.11. Screenshot: http://www.rpi.edu/~brigad/truncated.png Thanks, David Brigada

Re: Goffice Graph Bounds Change

2009-09-04 Thread David Brigada
); dat = go_data_vector_val_new(y, 501, NULL); gog_series_set_dim(series, 1, dat, error); } Thanks, Dave Jean Brefort wrote: What's your code? Do you call gog_series_set_dim when you change the data? or anything else? Regards, Jean Le vendredi 04 septembre 2009 à 12:47 -0400, David