alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class ChartMarkerBorder

    Provides the options to customize the border of a chart marker.

    Inheritance
    object
    ComponentBase
    OwningComponentBase
    SfOwningComponentBase
    ChartSubComponent
    ChartDefaultBorder
    ChartMarkerBorder
    Implements
    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    Inherited Members
    ChartDefaultBorder.Color
    ComponentBase.Assets
    ComponentBase.AssignedRenderMode
    ComponentBase.BuildRenderTree(RenderTreeBuilder)
    ComponentBase.DispatchExceptionAsync(Exception)
    ComponentBase.InvokeAsync(Action)
    ComponentBase.InvokeAsync(Func<Task>)
    ComponentBase.OnAfterRender(bool)
    ComponentBase.OnAfterRenderAsync(bool)
    ComponentBase.OnInitialized()
    ComponentBase.OnInitializedAsync()
    ComponentBase.OnParametersSet()
    ComponentBase.OnParametersSetAsync()
    ComponentBase.RendererInfo
    ComponentBase.SetParametersAsync(ParameterView)
    ComponentBase.ShouldRender()
    ComponentBase.StateHasChanged()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    OwningComponentBase.Dispose(bool)
    OwningComponentBase.IsDisposed
    OwningComponentBase.ScopedServices
    Namespace: Syncfusion.Blazor.Charts
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class ChartMarkerBorder : ChartDefaultBorder, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

    Constructors

    ChartMarkerBorder()

    Declaration
    public ChartMarkerBorder()

    Properties

    Width

    Gets or sets the width of the marker border.

    Declaration
    [Parameter]
    public override double Width { get; set; }
    Property Value
    Type Description
    double

    A double representing the width of the border surrounding the chart marker. The default value is 2.

    Overrides
    ChartDefaultBorder.Width
    Remarks

    This property allows you to specify the thickness of the border around a chart marker, influencing the marker's visual appearance in the chart.

    Examples
    // This example demonstrates how to add a border width to a marker in a chart series.
    <SfChart>
        <ChartSeriesCollection>
            <ChartSeries DataSource="@Data" Name="England" XName="XValue" YName="YValue">
                <ChartMarker Visible="true">
                    <ChartMarkerBorder Color="red" Width="2"></ChartMarkerBorder>
                </ChartMarker>
            </ChartSeries>
        </ChartSeriesCollection>
    </SfChart>

    Implements

    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved