Articles in this section
Category / Section

How to highlight a series while doing MouseMove on the chart?

1 min read


Points on the chart can be optionally highlighted when the mouse hovers over them. This can be accomplished by enabling the AutoHighlight property of the ChartControl class.The Auto Highlight color for any series can be changed by setting the color at the HighlightInterior property of ChartStyleInfo class.


// Highlighting the chart series

this.chartControl1.AutoHighlight = true;

// Specifies the color for the Highlight interior color for the series

this.chartControl1.Series[0].Style.HighlightInterior = new BrushInfo(GradientStyle.BackwardDiagonal, Color.LightBlue, Color.AntiqueWhite);


' Highlighting the chart series

Me.chartControl1.AutoHighlight = True

Me.chartControl1.Series(0).Style.HighlightInterior = New BrushInfo(GradientStyle.BackwardDiagonal, Color.LightBlue, Color.AntiqueWhite)

Did you find this information helpful?
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment