Class ChartMarkerSettingsBuilder
Inheritance
System.Object
ChartMarkerSettingsBuilder
Assembly: Syncfusion.EJ2.dll
Syntax
public class ChartMarkerSettingsBuilder : ControlBuilder
Constructors
ChartMarkerSettingsBuilder()
Declaration
public ChartMarkerSettingsBuilder()
ChartMarkerSettingsBuilder(ChartMarkerSettings)
Declaration
public ChartMarkerSettingsBuilder(ChartMarkerSettings model)
Parameters
Methods
AllowHighlight(Boolean)
Trackball is enabled by default when the mouse moves, but it can be disabled by setting "false" to the marker's "allowHighlight" property.
Declaration
public ChartMarkerSettingsBuilder AllowHighlight(bool value)
Parameters
Type |
Name |
Description |
System.Boolean |
value |
|
Returns
Border(ChartTrendLineMarkerBorder)
Options for customizing the border of a marker.
Declaration
public ChartMarkerSettingsBuilder Border(ChartTrendLineMarkerBorder value)
Parameters
Returns
Border(Action<ChartBorderBuilder>)
Declaration
public ChartMarkerSettingsBuilder Border(Action<ChartBorderBuilder> border)
Parameters
Returns
DataLabel(ChartDataLabelSettings)
The data label for the series.
Declaration
public ChartMarkerSettingsBuilder DataLabel(ChartDataLabelSettings value)
Parameters
Returns
DataLabel(Action<ChartDataLabelSettingsBuilder>)
Declaration
public ChartMarkerSettingsBuilder DataLabel(Action<ChartDataLabelSettingsBuilder> dataLabel)
Parameters
Returns
Fill(String)
The fill color of the marker that accepts value in hex and rgba as a valid CSS color string. By default, it will take series' color.
Declaration
public ChartMarkerSettingsBuilder Fill(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
Height(Double)
The height of the marker in pixels.
Declaration
public ChartMarkerSettingsBuilder Height(double value)
Parameters
Type |
Name |
Description |
System.Double |
value |
|
Returns
ImageUrl(String)
The URL for the Image that is to be displayed as a marker. It requires marker shape
value to be an Image
.
Declaration
public ChartMarkerSettingsBuilder ImageUrl(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
IsFilled(Boolean)
If set true , marker get filled with series color.
Declaration
public ChartMarkerSettingsBuilder IsFilled(bool value)
Parameters
Type |
Name |
Description |
System.Boolean |
value |
|
Returns
Offset(Object)
Options for customizing the marker position.
Declaration
public ChartMarkerSettingsBuilder Offset(object value)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
Returns
Opacity(Double)
The opacity of the marker.
Declaration
public ChartMarkerSettingsBuilder Opacity(double value)
Parameters
Type |
Name |
Description |
System.Double |
value |
|
Returns
Shape(ChartShape)
The different shape of a marker:
Circle
Rectangle
Triangle
Diamond
HorizontalLine
VerticalLine
Pentagon
InvertedTriangle
Image
Declaration
public ChartMarkerSettingsBuilder Shape(ChartShape value)
Parameters
Returns
Visible(Boolean)
If set to true the marker for series is rendered. This is applicable only for line and area type series.
Declaration
public ChartMarkerSettingsBuilder Visible(bool value)
Parameters
Type |
Name |
Description |
System.Boolean |
value |
|
Returns
Width(Double)
The width of the marker in pixels.
Declaration
public ChartMarkerSettingsBuilder Width(double value)
Parameters
Type |
Name |
Description |
System.Double |
value |
|
Returns