Indicates that data points are only marked as empty when filtering, otherwise they are removed from the series.
Visual Basic (Declaration) | |
---|---|
Public Property FilterSetEmptyPoints As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public bool FilterSetEmptyPoints {get; set;} |
Return Value
If true filtered points are marked as empty, otherwise they are removed. Defaults to false.
The following sample adds multiple data points that have unique date/time X-values and randomly set Y-values. Then the series (named "Series1") is filtered so that all Saturdays and Sundays are displayed as empty points.
Visual Basic | Copy Code |
---|---|
Dim currentDate As DateTime<CRLF>Dim randomValues As New Random()<CRLF>Dim i As Int32<CRLF><CRLF>'display filtered points as empty points instead of removing them from the source data series<CRLF>Chart1.DataManipulator.FilterSetEmptyPoints = True<CRLF><CRLF>'initialize variables<CRLF>currentDate = DateTime.Now.Date<CRLF><CRLF>'add randomly-sized data points to Series1<CRLF>For i = 0 To 20<CRLF> Chart1.Series("Series1").Points.AddXY(currentDate.AddDays(i), randomValues.Next(0, 100))<CRLF>Next<CRLF><CRLF>'filter out Saturdays and Sundays<CRLF>Chart1.DataManipulator.Filter(Dundas.Charting.WinControl.ElementType.DayOfWeek, "0 |
If this property is set to true then all points that are filtered using the Filter or FilterTopN methods are marked as empty, otherwise they are removed from the Series object that stores the filtered data.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family