shivinder Posted May 2, 2007 Report Share Posted May 2, 2007 Hey, I have a control on my graph which are labels for multiple series. Through a Mouse Hover eventargs through other classes i am able to get the Series Number. Now I want to highlight the indivdual series but only until the mouse hovers over the particular Label. in version 6.2 the code was MyChart.Highlight.HighlightItem(this, new SoftwareFX.ChartFX.Base.HighlightEventArgs(SoftwareFX.ChartFX.Base.HighlightModes.Series, index, 0)); this, new SoftwareFX.ChartFX.Base.HighlightEventArgs(SoftwareFX.ChartFX.Base.HighlightModes.Series, index, 0));anyone help me how to do this in 7.0 Thank you shiv Link to comment Share on other sites More sharing options...
Frank Posted May 2, 2007 Report Share Posted May 2, 2007 This should do it: chart.Highlight.HighlightItem(chart.Series[index]); Link to comment Share on other sites More sharing options...
shivinder Posted May 2, 2007 Author Report Share Posted May 2, 2007 Hey, I tried that but the problem is that when the mouse goes away fromt the control The particular Series stays highlighted. With the old code i would move the mouse away from the control and the series highlight would be cleared. Since the event is mouse hover when i cant call the Highlight.clear Link to comment Share on other sites More sharing options...
Frank Posted May 2, 2007 Report Share Posted May 2, 2007 This is working as designed. You need to cal Clear when you no longer want the series highlighted. Link to comment Share on other sites More sharing options...
shivinder Posted May 2, 2007 Author Report Share Posted May 2, 2007 Since i am calling this in an event args from another class i cant call clear. Thats why in the old code when we passed an event to the highlight Item instead of a series. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.