Re: clickedx
- From: Roland Bock <box2OO6 eudoxos de>
- To: gtkdatabox-list gnome org
- Subject: Re: clickedx
- Date: Tue, 13 Feb 2007 09:23:20 +0100
Hi Naveen,
I hope I understand the problem right :-)
You can determine pixel coordinates from x/y values and vice versa using
the following functions:
gtk_databox_value_from_coord
gtk_databox_coord_from_value
Regards,
Roland
naveen wrote:
> Hi all,
>
> I am using gtkdatabox-0.7.0.0 for plotting my graph..
>
> 1) In signals example i am able to get the value of clickedX on the
> graph
> using show_button_press_cb() function.
>
> 2) I am plotting around 5000 points. what i need know which point on
> the
> graph the user is clicked.
>
> for example :
> the user clicked at value (23.56,45.64) on the graph.
> ie X[x]=23.56;
> Y[y]=45.64;
>
> is there any way to find x and y values please help me out...
>
> Regards,
> Naveen.
>
> _______________________________________________
> gtkdatabox-list mailing list
> gtkdatabox-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkdatabox-list
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]