Class ChartStripLineBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
ChartStripLineBuilder
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
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
Returns
Border(Action<ChartBorderBuilder>)
Declaration
public ChartStripLineBuilder Border(Action<ChartBorderBuilder> border)
Parameters
Returns
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
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
End(Double)
Specifies the ending value of the strip line.
Declaration
public ChartStripLineBuilder End(double end)
Parameters
| Type |
Name |
Description |
| System.Double |
end |
|
Returns
End(Object)
Specifies the ending value of the strip line.
Declaration
public ChartStripLineBuilder End(object end)
Parameters
| Type |
Name |
Description |
| System.Object |
end |
|
Returns
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
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
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
IsSegmented(Boolean)
Specifies whether the strip line is segmented.
Declaration
public ChartStripLineBuilder IsSegmented(bool isSegmented)
Parameters
| Type |
Name |
Description |
| System.Boolean |
isSegmented |
|
Returns
Opacity(Double)
Specifies the opacity for the strip line.
Declaration
public ChartStripLineBuilder Opacity(double opacity)
Parameters
| Type |
Name |
Description |
| System.Double |
opacity |
|
Returns
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
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
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
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
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
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
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
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
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
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
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
SizeType(SizeType)
The sizeType property specifies how the size of the strip line is determined.
Declaration
public ChartStripLineBuilder SizeType(SizeType sizeType)
Parameters
Returns
Start(Double)
Specifies the starting value of the strip line.
Declaration
public ChartStripLineBuilder Start(double start)
Parameters
| Type |
Name |
Description |
| System.Double |
start |
|
Returns
Start(Object)
Specifies the starting value of the strip line.
Declaration
public ChartStripLineBuilder Start(object start)
Parameters
| Type |
Name |
Description |
| System.Object |
start |
|
Returns
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
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
TextStyle(ChartFont)
The textStyle property enables customization of the text appearance on the strip line.
Declaration
public ChartStripLineBuilder TextStyle(ChartFont textStyle)
Parameters
Returns
TextStyle(Action<ChartFontBuilder>)
Declaration
public ChartStripLineBuilder TextStyle(Action<ChartFontBuilder> textStyle)
Parameters
Returns
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
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
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