Check out gtkdatabox:

http://www.eudoxos.net/gtk/gtkdatabox/


----- Original Message ----
From: Matias Torres <[EMAIL PROTECTED]>
To: gtk-app-devel-list@gnome.org
Sent: Tuesday, September 12, 2006 3:25:58 PM
Subject: GTK Curves

hello,

i'm trying to make a curve based on some values passing a float array to 
a GtkCurve:
    gtk_curve_set_vector ( GTK_CURVE (income_curve), length, array)

This results in well.. not a curve, but a number of straight lines like 
this:

4                     ____________
3
2               ____
1        ____

(hope you understand, i just don't know how to explain it let's say i'm 
looking for a continuous curve)

Changing the curve type does not help at all (segmentation fault).

Do you know how to make it work? or.. Do you know some other library 
that let's me draw a curve based on a limited number of floats?

Thanks in advance. Matias

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list




_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to