Class StripLine
Inherited Members
Namespace: Syncfusion.JavaScript.DataVisualization.Models
Assembly: Syncfusion.EJ.dll
Syntax
public class StripLine : EJTagHelper
Constructors
StripLine()
Declaration
public StripLine()
Properties
BorderColor
Gets or sets the value for BorderColor, which is used to specify border color for axis strip lines.
Declaration
[JsonProperty("borderColor")]
public string BorderColor { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Border color of the strip line.
BorderWidth
Gets or sets the value for BorderWidth, which provides options to specify border width for the axis strip line.
Declaration
[JsonProperty("borderWidth")]
public double BorderWidth { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Remarks
Border width of the strip line.
Color
Gets or sets the value for Color, which is used to specify background color of an axis strip lines.
Declaration
[JsonProperty("color")]
public string Color { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Background color of the strip line.
End
Gets or sets the value for End, which provides option to specify axis strip line end value.
Declaration
[EJDate]
[JsonProperty("end")]
public object End { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
Remarks
End value of the strip line.
Font
Gets or sets the value for font, which is used to customize the strip line text font size, color, weight, family and opacity.
Declaration
[JsonProperty("font")]
public ChartFont Font { get; set; }
Property Value
Type | Description |
---|---|
ChartFont |
Remarks
Options for customizing the font of the text.
Opacity
Gets or sets the value for Opacity, which is used to customize the opacity of strip line whose value ranges from 0 to 1.
Declaration
[JsonProperty("opacity")]
public double Opacity { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Remarks
Opacity of the strip line.
Start
Gets or sets the value for Start, which provides option to specify axis strip line start value.
Declaration
[JsonProperty("start")]
[EJDate]
public object Start { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
Remarks
Start value of the strip line.
StartFromAxis
Gets or sets the value for StartFromAxis, which specifies start value of axis to render axis strip line.
Declaration
[JsonProperty("startFromAxis")]
public bool StartFromAxis { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
Indicates whether to render the strip line from the minimum/start value of the axis. This property does not work when start property is set.
Text
Gets or sets the value for Text, which provides options to render text for axis strip line.
Declaration
[JsonProperty("text")]
public string Text { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Specifies text to be displayed inside the strip line.
TextAlignment
Gets or sets the value for TextAlignment, which aligns strip line text either center, near or far position.
Declaration
[JsonConverter(typeof(StringEnumConverter))]
[JsonProperty("textAlignment")]
public StriplineTextAlignment TextAlignment { get; set; }
Property Value
Type | Description |
---|---|
StriplineTextAlignment |
Remarks
Specifies the alignment of the text inside the strip line.
Visible
Gets or sets the value for Visible, which enables or disables the visbility of axis strip lines.
Declaration
[JsonProperty("visible")]
public bool Visible { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
Show/hides the strip line.
ZIndex
Gets or sets the value for ZIndex, which renders strip line and series either behine or over based on provided zOrder.
Declaration
[JsonProperty("zIndex")]
[JsonConverter(typeof(StringEnumConverter))]
public ChartZIndex ZIndex { get; set; }
Property Value
Type | Description |
---|---|
ChartZIndex |
Remarks
Specifies the order where the strip line and the series have to be rendered. When zOrder is “behind”, strip line is rendered under the series and when it is “over”, it is rendered above the series.
Methods
ShouldSerializeFont()
Declaration
public bool ShouldSerializeFont()
Returns
Type | Description |
---|---|
System.Boolean |