menu

ASP.NET MVC - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ChartStripLineBuilder - ASP.NETMVC-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ChartStripLineBuilder

    Inheritance
    System.Object
    Syncfusion.EJ2.ControlBuilder
    ChartStripLineBuilder
    Namespace: Syncfusion.EJ2.Charts
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class ChartStripLineBuilder : ControlBuilder

    Constructors

    ChartStripLineBuilder()

    Declaration
    public ChartStripLineBuilder()

    ChartStripLineBuilder(List<ChartStripLine>)

    Declaration
    public ChartStripLineBuilder(List<ChartStripLine> collection)
    Parameters
    Type Name Description
    System.Collections.Generic.List<ChartStripLine> collection

    Methods

    Add()

    Declaration
    public void Add()

    Border(ChartBorder)

    The border property allows customization of the border for the strip line. It includes options to set the color and width of the border.

    Declaration
    public ChartStripLineBuilder Border(ChartBorder border)
    Parameters
    Type Name Description
    ChartBorder border
    Returns
    Type
    ChartStripLineBuilder

    Border(Action<ChartBorderBuilder>)

    Declaration
    public ChartStripLineBuilder Border(Action<ChartBorderBuilder> border)
    Parameters
    Type Name Description
    System.Action<ChartBorderBuilder> border
    Returns
    Type
    ChartStripLineBuilder

    Color(String)

    The color property specifies the color of the strip line.

    Declaration
    public ChartStripLineBuilder Color(string color)
    Parameters
    Type Name Description
    System.String color
    Returns
    Type
    ChartStripLineBuilder

    DashArray(String)

    Specifies the pattern of dashes and gaps used to render the strip line.

    Declaration
    public ChartStripLineBuilder DashArray(string dashArray)
    Parameters
    Type Name Description
    System.String dashArray
    Returns
    Type
    ChartStripLineBuilder

    End(Double)

    Specifies the ending value of the strip line.

    Declaration
    public ChartStripLineBuilder End(double end)
    Parameters
    Type Name Description
    System.Double end
    Returns
    Type
    ChartStripLineBuilder

    End(Object)

    Specifies the ending value of the strip line.

    Declaration
    public ChartStripLineBuilder End(object end)
    Parameters
    Type Name Description
    System.Object end
    Returns
    Type
    ChartStripLineBuilder

    HorizontalAlignment(Anchor)

    Defines the position of the strip line text horizontally. Available options are: Start: Places the strip line text at the start. Middle: Places the strip line text in the middle. End: Places the strip line text at the end.

    Declaration
    public ChartStripLineBuilder HorizontalAlignment(Anchor horizontalAlignment)
    Parameters
    Type Name Description
    Anchor horizontalAlignment
    Returns
    Type
    ChartStripLineBuilder

    ImageUrl(String)

    Specifies the URL of the background image for the strip line. The image will be displayed as the background.

    Declaration
    public ChartStripLineBuilder ImageUrl(string imageUrl)
    Parameters
    Type Name Description
    System.String imageUrl
    Returns
    Type
    ChartStripLineBuilder

    IsRepeat(Boolean)

    Specifies whether the strip line is repeated at regular intervals along the axis.

    Declaration
    public ChartStripLineBuilder IsRepeat(bool isRepeat)
    Parameters
    Type Name Description
    System.Boolean isRepeat
    Returns
    Type
    ChartStripLineBuilder

    IsSegmented(Boolean)

    Specifies whether the strip line is segmented.

    Declaration
    public ChartStripLineBuilder IsSegmented(bool isSegmented)
    Parameters
    Type Name Description
    System.Boolean isSegmented
    Returns
    Type
    ChartStripLineBuilder

    Opacity(Double)

    Specifies the opacity for the strip line.

    Declaration
    public ChartStripLineBuilder Opacity(double opacity)
    Parameters
    Type Name Description
    System.Double opacity
    Returns
    Type
    ChartStripLineBuilder

    RepeatEvery(Double)

    Specifies the interval at which the strip line is repeated.

    Declaration
    public ChartStripLineBuilder RepeatEvery(double repeatEvery)
    Parameters
    Type Name Description
    System.Double repeatEvery
    Returns
    Type
    ChartStripLineBuilder

    RepeatEvery(Object)

    Specifies the interval at which the strip line is repeated.

    Declaration
    public ChartStripLineBuilder RepeatEvery(object repeatEvery)
    Parameters
    Type Name Description
    System.Object repeatEvery
    Returns
    Type
    ChartStripLineBuilder

    RepeatUntil(Double)

    Specifies the maximum value of the interval at which the strip line is repeated.

    Declaration
    public ChartStripLineBuilder RepeatUntil(double repeatUntil)
    Parameters
    Type Name Description
    System.Double repeatUntil
    Returns
    Type
    ChartStripLineBuilder

    RepeatUntil(Object)

    Specifies the maximum value of the interval at which the strip line is repeated.

    Declaration
    public ChartStripLineBuilder RepeatUntil(object repeatUntil)
    Parameters
    Type Name Description
    System.Object repeatUntil
    Returns
    Type
    ChartStripLineBuilder

    Rotation(Double)

    Defines the degree of rotation applied to the text on the strip line.

    Declaration
    public ChartStripLineBuilder Rotation(double rotation)
    Parameters
    Type Name Description
    System.Double rotation
    Returns
    Type
    ChartStripLineBuilder

    SegmentAxisName(String)

    The name of the axis where the strip line segment is applied.

    Declaration
    public ChartStripLineBuilder SegmentAxisName(string segmentAxisName)
    Parameters
    Type Name Description
    System.String segmentAxisName
    Returns
    Type
    ChartStripLineBuilder

    SegmentEnd(Double)

    Specifies where a new segment of the strip line on the axis ends.

    Declaration
    public ChartStripLineBuilder SegmentEnd(double segmentEnd)
    Parameters
    Type Name Description
    System.Double segmentEnd
    Returns
    Type
    ChartStripLineBuilder

    SegmentEnd(Object)

    Specifies where a new segment of the strip line on the axis ends.

    Declaration
    public ChartStripLineBuilder SegmentEnd(object segmentEnd)
    Parameters
    Type Name Description
    System.Object segmentEnd
    Returns
    Type
    ChartStripLineBuilder

    SegmentStart(Double)

    Specifies where a new segment of the strip line on the axis begins.

    Declaration
    public ChartStripLineBuilder SegmentStart(double segmentStart)
    Parameters
    Type Name Description
    System.Double segmentStart
    Returns
    Type
    ChartStripLineBuilder

    SegmentStart(Object)

    Specifies where a new segment of the strip line on the axis begins.

    Declaration
    public ChartStripLineBuilder SegmentStart(object segmentStart)
    Parameters
    Type Name Description
    System.Object segmentStart
    Returns
    Type
    ChartStripLineBuilder

    Size(Double)

    Specifies the size of the strip line when starting from the origin.

    Declaration
    public ChartStripLineBuilder Size(double size)
    Parameters
    Type Name Description
    System.Double size
    Returns
    Type
    ChartStripLineBuilder

    SizeType(SizeType)

    The sizeType property specifies how the size of the strip line is determined.

    Declaration
    public ChartStripLineBuilder SizeType(SizeType sizeType)
    Parameters
    Type Name Description
    SizeType sizeType
    Returns
    Type
    ChartStripLineBuilder

    Start(Double)

    Specifies the starting value of the strip line.

    Declaration
    public ChartStripLineBuilder Start(double start)
    Parameters
    Type Name Description
    System.Double start
    Returns
    Type
    ChartStripLineBuilder

    Start(Object)

    Specifies the starting value of the strip line.

    Declaration
    public ChartStripLineBuilder Start(object start)
    Parameters
    Type Name Description
    System.Object start
    Returns
    Type
    ChartStripLineBuilder

    StartFromAxis(Boolean)

    If set to true, the strip line is rendered from the axis origin.

    Declaration
    public ChartStripLineBuilder StartFromAxis(bool startFromAxis)
    Parameters
    Type Name Description
    System.Boolean startFromAxis
    Returns
    Type
    ChartStripLineBuilder

    Text(String)

    Defines the text to be displayed on the strip line.

    Declaration
    public ChartStripLineBuilder Text(string text)
    Parameters
    Type Name Description
    System.String text
    Returns
    Type
    ChartStripLineBuilder

    TextStyle(ChartFont)

    The textStyle property enables customization of the text appearance on the strip line.

    Declaration
    public ChartStripLineBuilder TextStyle(ChartFont textStyle)
    Parameters
    Type Name Description
    ChartFont textStyle
    Returns
    Type
    ChartStripLineBuilder

    TextStyle(Action<ChartFontBuilder>)

    Declaration
    public ChartStripLineBuilder TextStyle(Action<ChartFontBuilder> textStyle)
    Parameters
    Type Name Description
    System.Action<ChartFontBuilder> textStyle
    Returns
    Type
    ChartStripLineBuilder

    VerticalAlignment(Anchor)

    Defines the position of the strip line text vertically. Available options are: Start: Places the strip line text at the start. Middle: Places the strip line text in the middle. End: Places the strip line text at the end.

    Declaration
    public ChartStripLineBuilder VerticalAlignment(Anchor verticalAlignment)
    Parameters
    Type Name Description
    Anchor verticalAlignment
    Returns
    Type
    ChartStripLineBuilder

    Visible(Boolean)

    If set to true, the strip line on the axis will render.

    Declaration
    public ChartStripLineBuilder Visible(bool visible)
    Parameters
    Type Name Description
    System.Boolean visible
    Returns
    Type
    ChartStripLineBuilder

    ZIndex(ZIndex)

    Specifies the order of the strip line. The options are: Behind: Places the strip line behind the series elements. Over: Places the strip line over the series elements.

    Declaration
    public ChartStripLineBuilder ZIndex(ZIndex zIndex)
    Parameters
    Type Name Description
    ZIndex zIndex
    Returns
    Type
    ChartStripLineBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved