Dundas Chart for Windows Forms
StripLine Class
Members  See Also  Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl Namespace : StripLine Class


Represents the strip lines of a ChartArea object.


StripLine class contains properties which define visual appearance of the stripe or line, its position according to the axis and optionally may contain the repeat interval. Text maybe associated with a strip or line.It also contains methods of drawing and hit testing.

Syntax

Visual Basic (Declaration)  
Public Class StripLine 
Visual Basic (Usage) Copy Code
Dim instance As StripLine
C#  
public class StripLine 

Remarks

StripLine objects allows for the display of horizontal and vertical lines or strips, and are useful for highlighting specific areas within a chart area. Users can quickly and easily identify data that falls within a given range when strip lines are implemented.

Strip lines are always associated with an Axis object, and can be added at both design-time and run-time.

A StripWidth property setting of 0.0 will result in a line being drawn, and this line will use the BorderColor, BorderStyle and BorderWidth property settings for its color, width and style. None of the BackgroundXXX properties are utilized when StripWidth is equal to 0.0.

Setting StripWidth to a value greater than 0.0 will create a strip. The BorderColor, BorderStyle and BorderWidth properties only apply to the strip's border, and all of the BackgroundXXX properties are then used for the strip's background properties.

Setting the Interval property to zero will result in one strip/line being displayed. Setting the Interval property to a value other than zero will result in multiple strip lines displayed with the given width and interval.

Inheritance Hierarchy

System.Object
   Dundas.Charting.WinControl.StripLine

Requirements

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

See Also

© 2009 All Rights Reserved.