Class ChartMarkerSettings
Inheritance
Inherited Members
Namespace: Syncfusion.EJ2.Charts
Assembly: Syncfusion.EJ2.dll
Syntax
public class ChartMarkerSettings : EJTagHelper
Constructors
ChartMarkerSettings()
Declaration
public ChartMarkerSettings()
Properties
AllowHighlight
Trackball is enabled by default when the mouse moves, but it can be disabled by setting "false" to the marker's "allowHighlight" property.
Declaration
[HtmlAttributeName("allowHighlight")]
public bool AllowHighlight { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is true |
Border
Options for customizing the border of a marker.
Declaration
[HtmlAttributeName("border")]
public ChartTrendLineMarkerBorder Border { get; set; }
Property Value
Type | Description |
---|---|
ChartTrendLineMarkerBorder | The default value is null |
ContentTemplate
To get or set value for ContentTemplate.
Declaration
public MvcTemplate<object> ContentTemplate { get; set; }
Property Value
Type | Description |
---|---|
MvcTemplate<System.Object> |
DataLabel
The data label for the series.
Declaration
[HtmlAttributeName("dataLabel")]
public ChartDataLabelSettings DataLabel { get; set; }
Property Value
Type | Description |
---|---|
ChartDataLabelSettings | The default value is null |
Fill
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
[HtmlAttributeName("fill")]
public string Fill { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
Height
The height of the marker in pixels.
Declaration
[HtmlAttributeName("height")]
public double Height { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 5 |
ImageUrl
The URL for the Image that is to be displayed as a marker. It requires marker shape
value to be an Image
.
Declaration
[HtmlAttributeName("imageUrl")]
public string ImageUrl { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "" |
IsFilled
If set true , marker get filled with series color.
Declaration
[HtmlAttributeName("isFilled")]
public bool IsFilled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is false |
Offset
Options for customizing the marker position.
Declaration
[HtmlAttributeName("offset")]
public object Offset { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The default value is null |
Opacity
The opacity of the marker.
Declaration
[HtmlAttributeName("opacity")]
public double Opacity { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 1 |
Shape
The different shape of a marker: Circle Rectangle Triangle Diamond HorizontalLine VerticalLine Pentagon InvertedTriangle Image
Declaration
[HtmlAttributeName("shape")]
public ChartShape Shape { get; set; }
Property Value
Type | Description |
---|---|
ChartShape | The default value is null |
Visible
If set to true the marker for series is rendered. This is applicable only for line and area type series.
Declaration
[HtmlAttributeName("visible")]
public bool Visible { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is false |
Width
The width of the marker in pixels.
Declaration
[HtmlAttributeName("width")]
public double Width { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 5 |