WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ChartStripLine - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ChartStripLine

    This class specifies information on rendering a strip line. A strip line is a horizontal or vertical band rendered on the background of a chart to indicate some areas of interest.

    Inheritance
    System.Object
    ChartStripLine
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.Windows.Forms.Chart
    Assembly: Syncfusion.Chart.Base.dll
    Syntax
    public sealed class ChartStripLine

    Constructors

    ChartStripLine()

    Initializes a new instance of the ChartStripLine class.

    Declaration
    public ChartStripLine()

    Properties

    BackImage

    Gets or sets the background image associated with this strip line.

    Declaration
    public Image BackImage { get; set; }
    Property Value
    Type Description
    System.Drawing.Image

    DateOffset

    Gets or sets the offset of the strip line if the chart's Primary X axis is of type DateTime and StartAtAxisPosition is True.

    Declaration
    public TimeSpan DateOffset { get; set; }
    Property Value
    Type Description
    System.TimeSpan

    Enabled

    Indicates whether the strip line is enabled.

    Declaration
    public bool Enabled { get; set; }
    Property Value
    Type Description
    System.Boolean

    End

    Gets or sets the end range of this strip line.

    Declaration
    public double End { get; set; }
    Property Value
    Type Description
    System.Double

    EndDate

    Gets or sets the date after which the strip line should not be displayed.

    Declaration
    public DateTime EndDate { get; set; }
    Property Value
    Type Description
    System.DateTime

    FixedWidth

    Gets or sets the fixed width of each strip line. This property value represents real value not range between two Chart Points.

    Declaration
    public double FixedWidth { get; set; }
    Property Value
    Type Description
    System.Double

    Font

    Gets or sets the font with which text associated with this strip line is to be rendered.

    Declaration
    public Font Font { get; set; }
    Property Value
    Type Description
    System.Drawing.Font

    Interior

    Gets or sets the interior brush information for this strip line.

    Declaration
    public BrushInfo Interior { get; set; }
    Property Value
    Type Description
    BrushInfo

    Offset

    Gets or sets the offset of the strip line if the chart's Primary X axis is of type double and StartAtAxisPosition is True.

    Declaration
    public double Offset { get; set; }
    Property Value
    Type Description
    System.Double

    Period

    Gets or sets the period over which this strip line appears.

    Declaration
    public double Period { get; set; }
    Property Value
    Type Description
    System.Double

    PeriodDate

    Gets or sets the period over which this strip line appears when the value is DateTime.

    Declaration
    public TimeSpan PeriodDate { get; set; }
    Property Value
    Type Description
    System.TimeSpan

    Start

    Gets or sets the start of this strip line.

    Declaration
    public double Start { get; set; }
    Property Value
    Type Description
    System.Double

    StartAtAxisPosition

    Indicates whether the strip line will start at the start of the axis range.

    Declaration
    public bool StartAtAxisPosition { get; set; }
    Property Value
    Type Description
    System.Boolean

    StartDate

    Gets or sets the date from which the strip line is to start.

    Declaration
    public DateTime StartDate { get; set; }
    Property Value
    Type Description
    System.DateTime

    Text

    Gets or sets the text associated with this strip line.

    Declaration
    public string Text { get; set; }
    Property Value
    Type Description
    System.String

    TextAlignment

    Gets or sets the alignment of text that is to be rendered within a strip line.

    Declaration
    public ContentAlignment TextAlignment { get; set; }
    Property Value
    Type Description
    System.Drawing.ContentAlignment

    TextColor

    Gets or sets the color of the text rendered with this strip line.

    Declaration
    public Color TextColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    Vertical

    Indicates whether the text of strip line will be drawn vertical.

    Declaration
    public bool Vertical { get; set; }
    Property Value
    Type Description
    System.Boolean

    Width

    Gets or sets the width of each strip line.

    Declaration
    public double Width { get; set; }
    Property Value
    Type Description
    System.Double

    WidthDate

    Gets or sets the width of each strip line as a TimeSpan.

    Declaration
    public TimeSpan WidthDate { get; set; }
    Property Value
    Type Description
    System.TimeSpan

    ZOrder

    Indicates the depth order of StripLine.

    Declaration
    public ChartStripLineZorder ZOrder { get; set; }
    Property Value
    Type Description
    ChartStripLineZorder

    Methods

    Dispose()

    Method to dispose strip line.

    Declaration
    public void Dispose()

    Events

    Changed

    Occurs when the properties was changed.

    Declaration
    public event EventHandler Changed
    Event Type
    Type Description
    System.EventHandler
    Back to top Generated by DocFX
    Copyright © 2001 - 2022 Syncfusion Inc. All Rights Reserved