HELP: how to select a datapoint in mschart with a single-click 
Author Message
 HELP: how to select a datapoint in mschart with a single-click

Hi

I want to invoke custom action code in response to a single click on a graph
area in MSChart. I have tried using TwipsToChartPart to detect and respond
to a single click in a series for a datapoint, but I am having no luck
getting anywhere with it. I have tried using the SelectedPoint event as well
but that only really works with two clicks - one for the entire series and
the second on the datapoint. The same for PointActivated.

Any help, ideas or suggestions would be greatly appreciated

Regards
Adrian



Sat, 11 Jan 2003 03:00:00 GMT  
 HELP: how to select a datapoint in mschart with a single-click

Hi Adrian,

I did not get the TwipsToChartPart working. However by selecting the
property AllowSeriesSelection and setting it to false, it allows the double
click of the DataPoint of interest.

Rob


Quote:
> Hi

> I want to invoke custom action code in response to a single click on a
graph
> area in MSChart. I have tried using TwipsToChartPart to detect and respond
> to a single click in a series for a datapoint, but I am having no luck
> getting anywhere with it. I have tried using the SelectedPoint event as
well
> but that only really works with two clicks - one for the entire series and
> the second on the datapoint. The same for PointActivated.

> Any help, ideas or suggestions would be greatly appreciated

> Regards
> Adrian



Sun, 12 Jan 2003 03:00:00 GMT  
 HELP: how to select a datapoint in mschart with a single-click
Thanks Rob.


Quote:
> Hi Adrian,

> I did not get the TwipsToChartPart working. However by selecting the
> property AllowSeriesSelection and setting it to false, it allows the
double
> click of the DataPoint of interest.

> Rob



> > Hi

> > I want to invoke custom action code in response to a single click on a
> graph
> > area in MSChart. I have tried using TwipsToChartPart to detect and
respond
> > to a single click in a series for a datapoint, but I am having no luck
> > getting anywhere with it. I have tried using the SelectedPoint event as
> well
> > but that only really works with two clicks - one for the entire series
and
> > the second on the datapoint. The same for PointActivated.

> > Any help, ideas or suggestions would be greatly appreciated

> > Regards
> > Adrian



Sun, 12 Jan 2003 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. mschart: manage single datapoints

2. DataPoints(-1).Marker properties ignored in MSChart

3. Changing a single datapoint on a chart

4. MSChart get datapoint

5. How to set DataPoint label Text in MSChart ????

6. mschart datapoint.offset

7. datapoints in MSCHART

8. Problems MSChart DataPoints Collection

9. MSChart Control DataPoint problem???

10. RichTextBox - single click to select line

11. Select an item ListBox in single click

12. DataGrid: Selecting a row by single/double clicking

 

 
Powered by phpBB® Forum Software