ASP.NET Core - EJ2

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ChartMarkerSettingsBuilder - ASP.NETCore-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ChartMarkerSettingsBuilder

    Inheritance
    System.Object
    ControlBuilder
    ChartMarkerSettingsBuilder
    Inherited Members
    ControlBuilder.Output
    ControlBuilder.Context
    Namespace: Syncfusion.EJ2.Charts
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class ChartMarkerSettingsBuilder : ControlBuilder

    Constructors

    ChartMarkerSettingsBuilder()

    Declaration
    public ChartMarkerSettingsBuilder()

    ChartMarkerSettingsBuilder(ChartMarkerSettings)

    Declaration
    public ChartMarkerSettingsBuilder(ChartMarkerSettings model)
    Parameters
    Type Name Description
    ChartMarkerSettings model

    Methods

    Border(ChartTrendLineMarkerBorder)

    Options for customizing the border of a marker.

    Declaration
    public ChartMarkerSettingsBuilder Border(ChartTrendLineMarkerBorder value)
    Parameters
    Type Name Description
    ChartTrendLineMarkerBorder value
    Returns
    Type Description
    ChartMarkerSettingsBuilder

    Border(Action<ChartBorderBuilder>)

    Declaration
    public ChartMarkerSettingsBuilder Border(Action<ChartBorderBuilder> border)
    Parameters
    Type Name Description
    System.Action<ChartBorderBuilder> border
    Returns
    Type Description
    ChartMarkerSettingsBuilder

    DataLabel(ChartDataLabelSettings)

    The data label for the series.

    Declaration
    public ChartMarkerSettingsBuilder DataLabel(ChartDataLabelSettings value)
    Parameters
    Type Name Description
    ChartDataLabelSettings value
    Returns
    Type Description
    ChartMarkerSettingsBuilder

    DataLabel(Action<ChartDataLabelSettingsBuilder>)

    Declaration
    public ChartMarkerSettingsBuilder DataLabel(Action<ChartDataLabelSettingsBuilder> dataLabel)
    Parameters
    Type Name Description
    System.Action<ChartDataLabelSettingsBuilder> dataLabel
    Returns
    Type Description
    ChartMarkerSettingsBuilder

    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
    Type Description
    ChartMarkerSettingsBuilder

    Height(Double)

    The height of the marker in pixels.

    Declaration
    public ChartMarkerSettingsBuilder Height(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type Description
    ChartMarkerSettingsBuilder

    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
    Type Description
    ChartMarkerSettingsBuilder

    Offset(Object)

    Options for customizing the marker position.

    Declaration
    public ChartMarkerSettingsBuilder Offset(object value)
    Parameters
    Type Name Description
    System.Object value
    Returns
    Type Description
    ChartMarkerSettingsBuilder

    Opacity(Double)

    The opacity of the marker.

    Declaration
    public ChartMarkerSettingsBuilder Opacity(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type Description
    ChartMarkerSettingsBuilder

    Shape(ChartShape)

    The different shape of a marker: Circle Rectangle Triangle Diamond HorizontalLine VerticalLine Pentagon InvertedTriangle Image

    Declaration
    public ChartMarkerSettingsBuilder Shape(ChartShape value)
    Parameters
    Type Name Description
    ChartShape value
    Returns
    Type Description
    ChartMarkerSettingsBuilder

    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
    Type Description
    ChartMarkerSettingsBuilder

    Width(Double)

    The width of the marker in pixels.

    Declaration
    public ChartMarkerSettingsBuilder Width(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type Description
    ChartMarkerSettingsBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved