Version

SetHighlightDataPoint Method

Turn on the highlighting of a chart element by its underlying row and column.
Syntax
'Declaration
 
Public Sub SetHighlightDataPoint( _
   ByVal row As Integer, _
   ByVal column As Integer _
) 
public void SetHighlightDataPoint( 
   int row,
   int column
)

Parameters

row
The data row of the chart element.
column
The data column of the chart element.
Remarks

This turns on highlighting of chart elements by rendering a slightly smaller version of an identical chart element on top of the existing chart element. If the underlying chart element has texturing or shading that should show through, then consider setting the HighlightFillColor to a partially transparent color (one with an alpha component of less than 255).

Highlighting added by this method can be removed by just calling SetHighlightClearAll. If the supplied row and column is not valid (or it does not correspond to a chart element being displayed) then no chart element will be highlighted.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also