How to plots points using mouse click in a web application?

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
rboreddy
Posts: 9
Joined: Wed Sep 21, 2011 3:14 pm
antibot: No, of course not.

How to plots points using mouse click in a web application?

Post by rboreddy » Sat Oct 15, 2011 4:56 am

Hi All,

I have a requirement in a web application(servlet orJSP) as below.

I have a line chart where I need to plot the points.

I don't want my java code to plot the points when I pass some values to it.

I want to plot the points with my mouse pointer.I mean to say that wherever I click on the graph with my mouse pointer,at that point, the point should plotted on the graph.

Note:Each time, before I click with my mouse pointer, I will select a symbol from a list box on the UI,that symbol should plotted as a point on the graph when I click on the graph with mouse pointer.

Could you please provide If you have any solution/example to meet this requirement.

Thanks in advance.

Thanks & Regards,
Ravi Boreddy

Locked