Class SpreadsheetMarkerSettingsBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
SpreadsheetMarkerSettingsBuilder
Namespace: Syncfusion.EJ2.Spreadsheet
Assembly: Syncfusion.EJ2.dll
Syntax
public class SpreadsheetMarkerSettingsBuilder : ControlBuilder
Constructors
SpreadsheetMarkerSettingsBuilder()
Declaration
public SpreadsheetMarkerSettingsBuilder()
SpreadsheetMarkerSettingsBuilder(SpreadsheetMarkerSettings)
Declaration
public SpreadsheetMarkerSettingsBuilder(SpreadsheetMarkerSettings model)
Parameters
Type | Name | Description |
---|---|---|
SpreadsheetMarkerSettings | model |
Methods
Border(SpreadsheetBorder)
Options for customizing the border of a marker.
Declaration
public SpreadsheetMarkerSettingsBuilder Border(SpreadsheetBorder value)
Parameters
Type | Name | Description |
---|---|---|
SpreadsheetBorder | value |
Returns
Border(Action<SpreadsheetBorderBuilder>)
Declaration
public SpreadsheetMarkerSettingsBuilder Border(Action<SpreadsheetBorderBuilder> border)
Parameters
Type | Name | Description |
---|---|---|
System.Action<SpreadsheetBorderBuilder> | border |
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.
This property will work only if the isFilled
property is set to true.
Declaration
public SpreadsheetMarkerSettingsBuilder Fill(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |
Returns
IsFilled(Boolean)
By default, the marker gets filled with the fill color. If set to false, the marker background will be transparent.
Declaration
public SpreadsheetMarkerSettingsBuilder IsFilled(bool value)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | value |
Returns
Shape(ChartShape)
The different shape of a marker: Circle Triangle Diamond Plus None
Declaration
public SpreadsheetMarkerSettingsBuilder Shape(ChartShape value)
Parameters
Type | Name | Description |
---|---|---|
ChartShape | value |
Returns
Size(Double)
The size of the marker in pixels.
Declaration
public SpreadsheetMarkerSettingsBuilder Size(double value)
Parameters
Type | Name | Description |
---|---|---|
System.Double | value |
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 SpreadsheetMarkerSettingsBuilder Visible(bool value)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | value |