User (Legacy) Posted April 18, 2004 Author Report Share Posted April 18, 2004 Hi! I'm using ChartFX Lite. I need to get the legend text by clicking on a chart (with e.Series I only get the series information) For example chart1.Legend[0] = "Jan"; chart1.Legend[1] = "Feb"; chart1.Legend[2] = "Mar"; chart1.Legend[3] = "Apr"; by clicking on the chart of Jan I want to retrieve the string "Jan". Is this possible? Thanks Link to comment Share on other sites More sharing options...
User (Legacy) Posted April 18, 2004 Report Share Posted April 18, 2004 Hi! I'm using ChartFX Lite. I need to get the legend text by clicking on a chart (with e.Series I only get the series information) For example chart1.Legend[0] = "Jan"; chart1.Legend[1] = "Feb"; chart1.Legend[2] = "Mar"; chart1.Legend[3] = "Apr"; by clicking on the chart of Jan I want to retrieve the string "Jan". Is this possible? Thanks Link to comment Share on other sites More sharing options...
Software FX Posted April 19, 2004 Report Share Posted April 19, 2004 MouseEventArgsX contains Series and Point. Point indicates the index of the point that was right-clicked. You can do: string s = chart.Legend[e.Point]; -- FP Software FX Link to comment Share on other sites More sharing options...
Software FX Posted April 19, 2004 Report Share Posted April 19, 2004 MouseEventArgsX contains Series and Point. Point indicates the index of the point that was right-clicked. You can do: string s = chart.Legend[e.Point]; -- FP Software FX Link to comment Share on other sites More sharing options...
User (Legacy) Posted April 19, 2004 Author Report Share Posted April 19, 2004 great! Thanks a lot. > MouseEventArgsX contains Series and Point. Point indicates the index of the > point that was right-clicked. > > You can do: > > string s = chart.Legend[e.Point]; Link to comment Share on other sites More sharing options...
User (Legacy) Posted April 19, 2004 Author Report Share Posted April 19, 2004 great! Thanks a lot. > MouseEventArgsX contains Series and Point. Point indicates the index of the > point that was right-clicked. > > You can do: > > string s = chart.Legend[e.Point]; Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.