Class ChartStripLine
Inheritance
Namespace: Syncfusion.EJ2.Charts
Assembly: Syncfusion.EJ2.dll
Syntax
public class ChartStripLine : EJTagHelper
Constructors
ChartStripLine()
Declaration
public ChartStripLine()
Properties
Border
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 ChartBorder Border { get; set; }
Property Value
Type | Description |
---|---|
ChartBorder | The default value is null |
Color
The color
property specifies the color of the strip line.
Declaration
public string Color { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "#808080" |
DashArray
Specifies the pattern of dashes and gaps used to render the strip line.
Declaration
public string DashArray { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
End
Specifies the ending value of the strip line.
Declaration
public object End { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The default value is null |
HorizontalAlignment
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 Anchor HorizontalAlignment { get; set; }
Property Value
Type | Description |
---|---|
Anchor | The default value is Anchor.Middle |
ImageUrl
Specifies the URL of the background image for the strip line. The image will be displayed as the background.
Declaration
public string ImageUrl { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "" |
IsRepeat
Specifies whether the strip line is repeated at regular intervals along the axis.
Declaration
public bool IsRepeat { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is false |
IsSegmented
Specifies whether the strip line is segmented.
Declaration
public bool IsSegmented { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is false |
Opacity
Specifies the opacity for the strip line.
Declaration
public double Opacity { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 1 |
RepeatEvery
Specifies the interval at which the strip line is repeated.
Declaration
public object RepeatEvery { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The default value is null |
RepeatUntil
Specifies the maximum value of the interval at which the strip line is repeated.
Declaration
public object RepeatUntil { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The default value is null |
Rotation
Defines the degree of rotation applied to the text on the strip line.
Declaration
public double Rotation { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is Double.NaN |
SegmentAxisName
The name of the axis where the strip line segment is applied.
Declaration
public string SegmentAxisName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
SegmentEnd
Specifies where a new segment of the strip line on the axis ends.
Declaration
public object SegmentEnd { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The default value is null |
SegmentStart
Specifies where a new segment of the strip line on the axis begins.
Declaration
public object SegmentStart { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The default value is null |
Size
Specifies the size of the strip line when starting from the origin.
Declaration
public double Size { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is Double.NaN |
SizeType
The sizeType
property specifies how the size of the strip line is determined.
Declaration
public SizeType SizeType { get; set; }
Property Value
Type | Description |
---|---|
SizeType | The default value is SizeType.Auto |
Start
Specifies the starting value of the strip line.
Declaration
public object Start { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The default value is null |
StartFromAxis
If set to true, the strip line is rendered from the axis origin.
Declaration
public bool StartFromAxis { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is false |
Text
Defines the text to be displayed on the strip line.
Declaration
public string Text { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "" |
TextStyle
The textStyle
property enables customization of the text appearance on the strip line.
Declaration
public ChartFont TextStyle { get; set; }
Property Value
Type | Description |
---|---|
ChartFont | The default value is null |
VerticalAlignment
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 Anchor VerticalAlignment { get; set; }
Property Value
Type | Description |
---|---|
Anchor | The default value is Anchor.Middle |
Visible
If set to true, the strip line on the axis will render.
Declaration
public bool Visible { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is true |
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 ZIndex ZIndex { get; set; }
Property Value
Type | Description |
---|---|
ZIndex | The default value is ZIndex.Behind |