The direction to clear, X or Y
The index to remove after (inclusive)
RemoveElementsAfter Method (GridLinesPanel)
Removes all System.Windows.Shapes.Line instances after the specified index. This method is used when re-drawing the SciChart.Charting.Visuals.SciChartSurface when the number of lines has reduced from one redraw to the next.
Syntax
public void RemoveElementsAfter( 
   XyDirection xyDirection,
   int index
)

Parameters

xyDirection
The direction to clear, X or Y
index
The index to remove after (inclusive)
Requirements

Target Platforms: 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