alexa
menu

Blazor

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

    Show / Hide Table of Contents

    Class SvgPath

    Represents a Blazor component that renders an SVG path element used for series lines, areas, and markers in chart rendering.

    Inheritance
    object
    ComponentBase
    SvgClass
    SvgPath
    Implements
    IComponent
    IHandleEvent
    IHandleAfterRender
    Inherited Members
    ComponentBase.Assets
    ComponentBase.AssignedRenderMode
    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()
    SvgClass.Class
    Namespace: Syncfusion.Blazor.DataVizCommon
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class SvgPath : SvgClass, IComponent, IHandleEvent, IHandleAfterRender

    Constructors

    SvgPath()

    Declaration
    public SvgPath()

    Properties

    AccessibilityText

    Gets or sets the accessibility text used as an ARIA label for screen readers.

    Declaration
    [Parameter]
    public string AccessibilityText { get; set; }
    Property Value
    Type
    string

    ClipPath

    Gets or sets the clip-path attribute to restrict the rendering area of the path.

    Declaration
    [Parameter]
    public string ClipPath { get; set; }
    Property Value
    Type
    string

    DataPoint

    Gets or sets a serialized data point value associated with the path element.

    Declaration
    [Parameter]
    public string DataPoint { get; set; }
    Property Value
    Type
    string

    Direction

    Gets or sets the SVG path data (d attribute) defining the shape of the path.

    Declaration
    [Parameter]
    public string Direction { get; set; }
    Property Value
    Type
    string

    Fill

    Gets or sets the fill color of the path.

    Declaration
    [Parameter]
    public string Fill { get; set; }
    Property Value
    Type
    string

    Id

    Gets or sets the unique identifier for the SVG path element.

    Declaration
    [Parameter]
    public override string Id { get; set; }
    Property Value
    Type
    string
    Overrides
    SvgClass.Id

    Opacity

    Gets or sets the opacity of the path, ranging from 0 (transparent) to 1 (opaque).

    Declaration
    [Parameter]
    public double Opacity { get; set; }
    Property Value
    Type
    double

    Stroke

    Gets or sets the stroke color of the path.

    Declaration
    [Parameter]
    public string Stroke { get; set; }
    Property Value
    Type
    string

    StrokeDashArray

    Gets or sets the stroke dash array pattern applied to the path border.

    Declaration
    [Parameter]
    public string StrokeDashArray { get; set; }
    Property Value
    Type
    string

    StrokeMiterLimit

    Gets or sets the stroke-miterlimit attribute controlling how sharp corners are rendered.

    Declaration
    [Parameter]
    public string StrokeMiterLimit { get; set; }
    Property Value
    Type
    string

    StrokeWidth

    Gets or sets the stroke width of the path border.

    Declaration
    [Parameter]
    public double StrokeWidth { get; set; }
    Property Value
    Type
    double

    Style

    Gets or sets the inline CSS style applied to the path element.

    Declaration
    [Parameter]
    public string Style { get; set; }
    Property Value
    Type
    string

    TabIndex

    Gets or sets the tab index for keyboard navigation accessibility.

    Declaration
    [Parameter]
    public string TabIndex { get; set; }
    Property Value
    Type
    string

    Title

    Gets or sets the title attribute providing a tooltip or accessible name for the path element.

    Declaration
    [Parameter]
    public string Title { get; set; }
    Property Value
    Type
    string

    Transform

    Gets or sets the SVG transform attribute applied to the path element.

    Declaration
    [Parameter]
    public string Transform { get; set; }
    Property Value
    Type
    string

    Visibility

    Gets or sets the visibility of the path element (e.g., "visible" or "hidden").

    Declaration
    [Parameter]
    public string Visibility { get; set; }
    Property Value
    Type
    string

    Methods

    BuildRenderTree(RenderTreeBuilder)

    Declaration
    protected override void BuildRenderTree(RenderTreeBuilder __builder)
    Parameters
    Type Name Description
    RenderTreeBuilder __builder
    Overrides
    ComponentBase.BuildRenderTree(RenderTreeBuilder)

    Implements

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