Need to draw curve line dynamically using mouse

82 views
Skip to first unread message

Velkumar Santhanaraj

unread,
Jun 28, 2013, 2:24:59 AM6/28/13
to google-visua...@googlegroups.com

Hi,

I have a requirement, where i need to plot a curve (string) line dynamically with the help of mouse. Also i need to capture X-Axis & Y-Axis measurement once a curve line drawn, how to do that?

i have attached the sample output image 



Sergey Grabkovsky

unread,
Jun 28, 2013, 9:59:53 AM6/28/13
to google-visua...@googlegroups.com
Hi, the Google Visualization API isn't very well suited for this task, but you can still do it with some hackery. Here's a jsfiddle example using the undocumented ChartLayoutInterface to draw on a scatterplot - http://jsfiddle.net/8RY2J/

- Sergey




--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualizati...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Velkumar Santhanaraj

unread,
Jun 28, 2013, 10:07:05 AM6/28/13
to google-visua...@googlegroups.com
Hi Sergey, 

I need to use in winforms or WPF, can you help me on this?


--
You received this message because you are subscribed to a topic in the Google Groups "Google Visualization API" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-visualization-api/Q1tIhHRPHE8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-visualizati...@googlegroups.com.

Sergey Grabkovsky

unread,
Jun 28, 2013, 10:08:13 AM6/28/13
to google-visua...@googlegroups.com
Neither of those things are supported by the Google Visualization API.

- Sergey

Velkumar Santhanaraj

unread,
Jun 28, 2013, 10:10:26 AM6/28/13
to google-visua...@googlegroups.com
oops, do you know is there any other API will do that

Sergey Grabkovsky

unread,
Jun 28, 2013, 10:11:07 AM6/28/13
to google-visua...@googlegroups.com
Sorry, I am not a .NET programmer, and don't know very much in that realm.

- Sergey

Velkumar Santhanaraj

unread,
Jun 28, 2013, 10:12:38 AM6/28/13
to google-visua...@googlegroups.com
okay Thanks Sergey for your time

asgallant

unread,
Jun 28, 2013, 1:18:36 PM6/28/13
to google-visua...@googlegroups.com
Hey Sergey, I'm interested in studying this, but I don't think the jsfiddle link you posted is the one you intended to.  Could you either post the real link or some pointers on the ChartLayoutInterface?


On Friday, June 28, 2013 9:59:53 AM UTC-4, Sergey wrote:
Hi, the Google Visualization API isn't very well suited for this task, but you can still do it with some hackery. Here's a jsfiddle example using the undocumented ChartLayoutInterface to draw on a scatterplot - http://jsfiddle.net/8RY2J/

- Sergey


On Fri, Jun 28, 2013 at 2:24 AM, Velkumar Santhanaraj <velku...@gmail.com> wrote:

Hi,

I have a requirement, where i need to plot a curve (string) line dynamically with the help of mouse. Also i need to capture X-Axis & Y-Axis measurement once a curve line drawn, how to do that?

i have attached the sample output image 



--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualization-api+unsub...@googlegroups.com.

Sergey Grabkovsky

unread,
Jun 28, 2013, 1:27:32 PM6/28/13
to google-visua...@googlegroups.com
You're absolutely right! I forgot to fork. Sorry about that, here's the correct link: http://jsfiddle.net/8Fsf4/

- Sergey


To unsubscribe from this group and stop receiving emails from it, send an email to google-visualizati...@googlegroups.com.

asgallant

unread,
Jun 28, 2013, 1:39:32 PM6/28/13
to google-visua...@googlegroups.com
Thanks!


On Friday, June 28, 2013 1:27:32 PM UTC-4, Sergey wrote:
You're absolutely right! I forgot to fork. Sorry about that, here's the correct link: http://jsfiddle.net/8Fsf4/

- Sergey


On Fri, Jun 28, 2013 at 1:18 PM, asgallant <drew_g...@abtassoc.com> wrote:
Hey Sergey, I'm interested in studying this, but I don't think the jsfiddle link you posted is the one you intended to.  Could you either post the real link or some pointers on the ChartLayoutInterface?


On Friday, June 28, 2013 9:59:53 AM UTC-4, Sergey wrote:
Hi, the Google Visualization API isn't very well suited for this task, but you can still do it with some hackery. Here's a jsfiddle example using the undocumented ChartLayoutInterface to draw on a scatterplot - http://jsfiddle.net/8RY2J/

- Sergey


On Fri, Jun 28, 2013 at 2:24 AM, Velkumar Santhanaraj <velku...@gmail.com> wrote:

Hi,

I have a requirement, where i need to plot a curve (string) line dynamically with the help of mouse. Also i need to capture X-Axis & Y-Axis measurement once a curve line drawn, how to do that?

i have attached the sample output image 



--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages