ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  select points
Posted by M_Jay on Feb-14-2011 12:45
It is possible to  select one or more point in a scatter chart ?

  Re: select points
Posted by Peter Kwan on Feb-15-2011 09:46
Hi M_Jay,

From your previous message, I assume you have already set up an image map for the scatter points. When the user clicks on a point, you can handle the onclick event, and remember the point clicked. In this way, you can know how many points the user has clicked.

If you want to provide your user with some feedback, you may use any method you like. For example, you may put a rectangle to enclose the selected point. (In HTML, the rectangle can be created with an empty <DIV> block with a border, so you just need to put a rectangle on the point in your onclick event handler.) You may also choose the redraw the chart with the selected point using a different color, etc.

Hope this can help.

Regards
Peter Kwan