Class StockChartMarkerSettingsBuilder
Inheritance
System.Object
StockChartMarkerSettingsBuilder
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Syncfusion.EJ2.dll
Syntax
public class StockChartMarkerSettingsBuilder : ControlBuilder
Constructors
StockChartMarkerSettingsBuilder()
Declaration
public StockChartMarkerSettingsBuilder()
StockChartMarkerSettingsBuilder(StockChartMarkerSettings)
Declaration
public StockChartMarkerSettingsBuilder(StockChartMarkerSettings 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 StockChartMarkerSettingsBuilder AllowHighlight(bool value)
Parameters
Type |
Name |
Description |
System.Boolean |
value |
|
Returns
Border(StockChartBorder)
Options for customizing the border of a marker.
Declaration
public StockChartMarkerSettingsBuilder Border(StockChartBorder value)
Parameters
Returns
Border(Action<StockChartBorderBuilder>)
Declaration
public StockChartMarkerSettingsBuilder Border(Action<StockChartBorderBuilder> border)
Parameters
Returns
DataLabel(StockChartDataLabelSettings)
The data label for the series.
Declaration
public StockChartMarkerSettingsBuilder DataLabel(StockChartDataLabelSettings value)
Parameters
Returns
DataLabel(Action<StockChartDataLabelSettingsBuilder>)
Declaration
public StockChartMarkerSettingsBuilder DataLabel(Action<StockChartDataLabelSettingsBuilder> 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 StockChartMarkerSettingsBuilder Fill(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
Height(Double)
The height of the marker in pixels.
Declaration
public StockChartMarkerSettingsBuilder 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 StockChartMarkerSettingsBuilder ImageUrl(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
IsFilled(Boolean)
If set true , marker get filled with series color.
Declaration
public StockChartMarkerSettingsBuilder IsFilled(bool value)
Parameters
Type |
Name |
Description |
System.Boolean |
value |
|
Returns
Offset(Object)
Options for customizing the marker position.
Declaration
public StockChartMarkerSettingsBuilder Offset(object value)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
Returns
Opacity(Double)
The opacity of the marker.
Declaration
public StockChartMarkerSettingsBuilder 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 StockChartMarkerSettingsBuilder 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 StockChartMarkerSettingsBuilder Visible(bool value)
Parameters
Type |
Name |
Description |
System.Boolean |
value |
|
Returns
Width(Double)
The width of the marker in pixels.
Declaration
public StockChartMarkerSettingsBuilder Width(double value)
Parameters
Type |
Name |
Description |
System.Double |
value |
|
Returns