alexa
menu

Blazor Toolkit

    Show / Hide Table of Contents

    Class ChartCommonMarker

    Specifies the marker configuration of the chart.

    Inheritance
    System.Object
    SfBaseComponent
    ChartSubComponent
    ChartCommonMarker
    ChartMarker
    ChartTrendlineMarker
    Implements
    System.IAsyncDisposable
    Inherited Members
    SfBaseComponent.DisposeAsync()
    Namespace: Syncfusion.Blazor.Toolkit.Charts
    Assembly: Syncfusion.Blazor.Toolkit.dll
    Syntax
    public class ChartCommonMarker : ChartSubComponent, IAsyncDisposable, ISubcomponentTracker, IChartElement
    Remarks

    Use this component to customize markers for data points within a series: shape, size, fill, opacity, image source, and additional nested configurations like border, offset, and data labels.

    Examples
    <SfChart>
        <ChartSeries DataSource="@Data" XName="XValue" YName="YValue" Name="Series A">
            <ChartMarker Visible="true"
                         Shape="ChartShape.Circle"
                         Height="8"
                         Width="8"
                         Fill="#3B82F6"
                         Opacity="0.9">
                <ChartMarkerBorder Color="#1E40AF" Width="2"></ChartMarkerBorder>
                <ChartMarkerOffset X="2" Y="-2" />
                <ChartDataLabel Visible="true" />
            </ChartMarker>
        </ChartSeries>
    </SfChart>

    Constructors

    ChartCommonMarker()

    Declaration
    public ChartCommonMarker()

    Properties

    AllowHighlight

    Gets or sets a value that allows or disallows marker highlight for the chart tooltip.

    Declaration
    public bool AllowHighlight { get; set; }
    Property Value
    Type Description
    System.Boolean

    true to permit marker highlight on tooltip; otherwise false. Default is true.

    Remarks

    Controls whether the marker receives highlight styling when a tooltip is shown.

    Examples
    <ChartMarker Visible="true" AllowHighlight="false" />

    Border

    Declaration
    public ChartMarkerBorder Border { get; set; }
    Property Value
    Type
    ChartMarkerBorder

    DataLabel

    Declaration
    public ChartDataLabel DataLabel { get; set; }
    Property Value
    Type
    ChartDataLabel

    Fill

    Declaration
    public string Fill { get; set; }
    Property Value
    Type
    System.String

    Height

    Declaration
    public double Height { get; set; }
    Property Value
    Type
    System.Double

    ImageUrl

    Declaration
    public Uri ImageUrl { get; set; }
    Property Value
    Type
    System.Uri

    IsFilled

    Declaration
    public bool IsFilled { get; set; }
    Property Value
    Type
    System.Boolean

    Offset

    Declaration
    public ChartMarkerOffset Offset { get; set; }
    Property Value
    Type
    ChartMarkerOffset

    Opacity

    Declaration
    public double Opacity { get; set; }
    Property Value
    Type
    System.Double

    Shape

    Declaration
    public ChartShape Shape { get; set; }
    Property Value
    Type
    ChartShape

    Visible

    Declaration
    public bool Visible { get; set; }
    Property Value
    Type
    System.Boolean

    Width

    Declaration
    public double Width { get; set; }
    Property Value
    Type
    System.Double

    Implements

    System.IAsyncDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved