menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SparklineDataLabelSettings - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class SparklineDataLabelSettings

    Sets and gets the options for customizing the data label settings of the sparkline component.

    Inheritance
    System.Object
    SfBaseComponent
    SparklineDataLabelSettings
    Inherited Members
    SfBaseComponent.Dispose()
    SfBaseComponent.Dispose(Boolean)
    SfBaseComponent.OnAfterRenderAsync(Boolean)
    SfBaseComponent.OnObservableChange(String, Object, Boolean, NotifyCollectionChangedEventArgs)
    Namespace: Syncfusion.Blazor.Charts
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class SparklineDataLabelSettings : SfBaseComponent

    Constructors

    SparklineDataLabelSettings()

    Declaration
    public SparklineDataLabelSettings()

    Properties

    ChildContent

    Sets and gets the content of the UI element.

    Declaration
    public RenderFragment ChildContent { get; set; }
    Property Value
    Type
    Microsoft.AspNetCore.Components.RenderFragment

    EdgeLabelMode

    Sets and gets the edge placement of the data label.

    Declaration
    public EdgeLabelMode EdgeLabelMode { get; set; }
    Property Value
    Type
    EdgeLabelMode

    Fill

    Sets and gets the dataLabel fill color.

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

    Format

    Sets and gets to configure the data label format.

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

    Opacity

    Sets and gets the data label opacity.

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

    Visible

    Sets and gets the data label visibility type.

    Declaration
    public List<VisibleType> Visible { get; set; }
    Property Value
    Type
    System.Collections.Generic.List<VisibleType>

    Methods

    BuildRenderTree(RenderTreeBuilder)

    Declaration
    protected override void BuildRenderTree(RenderTreeBuilder __builder)
    Parameters
    Type Name Description
    Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder

    OnInitializedAsync()

    Method invoked when the component is ready to start.

    Declaration
    protected override Task OnInitializedAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task

    A System.Threading.Tasks.Task representing the asynchronous operation.

    Overrides
    SfBaseComponent.OnInitializedAsync()

    OnParametersSetAsync()

    Method invoked when the component has received parameters from its parent in the render tree and the incoming values have been assigned to properties.

    Declaration
    protected override Task OnParametersSetAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task

    A System.Threading.Tasks.Task representing the asynchronous operation.

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