menu

ASP.NET MVC

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class Marker

    Show / Hide Table of Contents

    Class Marker

    Inheritance
    System.Object
    EJTagHelper
    Marker
    Inherited Members
    EJTagHelper.GetControlDetails()
    EJTagHelper.GetControlDetails(String)
    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()
    Namespace: Syncfusion.JavaScript.DataVisualization.Models
    Assembly: Syncfusion.EJ.dll
    Syntax
    public class Marker : EJTagHelper

    Constructors

    Marker()

    Declaration
    public Marker()

    Properties

    Border

    Gets or sets the Border of marker, which provides an option to customize the marker shape of the border.

    Declaration
    [JsonProperty("border")]
    public ChartBorder Border { get; set; }
    Property Value
    Type Description
    ChartBorder
    Remarks

    Options for customizing the border of the marker shape.

    DataLabel

    Gets or sets the DataLabel, which provides an option to customize the data label displayed for chart series data points.

    Declaration
    [HtmlAttributeName("datalabel")]
    [JsonProperty("dataLabel")]
    public DataLabel DataLabel { get; set; }
    Property Value
    Type Description
    DataLabel
    Remarks

    Options for displaying and customizing data labels.

    Fill

    Gets or sets the Fill color of marker, which renders the marker shape with specified color for series point marker.

    Declaration
    [JsonProperty("fill")]
    public string Fill { get; set; }
    Property Value
    Type Description
    System.String
    Remarks

    Color of the marker shape.

    ImageUrl

    Gets or sets the ImageUrl for marker, which specifies the URL path to render marker as image for series data points.

    Declaration
    [JsonProperty("imageUrl")]
    public string ImageUrl { get; set; }
    Property Value
    Type Description
    System.String
    Remarks

    The URL for the Image that is to be displayed as marker. In order to display image as marker, set Series.Marker.Shape as �Image�.

    Opacity

    Gets or sets the Opacity of marker, which provides an option to customize the opacity of marker to be displayed.

    Declaration
    [JsonProperty("opacity")]
    public double Opacity { get; set; }
    Property Value
    Type Description
    System.Double
    Remarks

    Opacity of the marker.

    Shape

    Gets or sets the Shape of the marker, which renders the series point marker in specified shape for marker property.

    Declaration
    [JsonConverter(typeof(StringEnumConverter))]
    [JsonProperty("shape")]
    public ChartShape Shape { get; set; }
    Property Value
    Type Description
    ChartShape
    Remarks

    Specifies the shape of the marker.

    Size

    Gets or sets the Size of the marker, which provides an option for customizing the height and width of marker shape.

    Declaration
    [JsonProperty("size")]
    public ChartSize Size { get; set; }
    Property Value
    Type Description
    ChartSize
    Remarks

    Options for customizing the size of the marker shape.

    Visible

    Gets or sets the value for Visible property of marker, which shows or hides the marker shape based on provided visible value.

    Declaration
    [JsonProperty("visible")]
    public bool Visible { get; set; }
    Property Value
    Type Description
    System.Boolean
    Remarks

    Controls the visibility of the marker shape.

    Methods

    ShouldSerializeBorder()

    Declaration
    public bool ShouldSerializeBorder()
    Returns
    Type Description
    System.Boolean

    ShouldSerializeDataLabel()

    Declaration
    public bool ShouldSerializeDataLabel()
    Returns
    Type Description
    System.Boolean

    ShouldSerializeSize()

    Declaration
    public bool ShouldSerializeSize()
    Returns
    Type Description
    System.Boolean
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved