alexa
menu

Blazor

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

    Show / Hide Table of Contents

    Class CircleOptions

    Defines the complete set of options for rendering an SVG circle element in chart components, including center coordinates, radius, stroke, fill, opacity, visibility, and accessibility attributes.

    Inheritance
    object
    CircleOptions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.Blazor.DataVizCommon
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class CircleOptions

    Constructors

    CircleOptions()

    Initializes a new default instance of CircleOptions with all properties at their default values.

    Declaration
    public CircleOptions()

    CircleOptions(string, string, string, string, string, double, string, double, string, string, string)

    Initializes a new instance of CircleOptions with all required SVG circle attributes.

    Declaration
    public CircleOptions(string id, string cx, string cy, string r, string strokeDasharray, double strokeWidth, string stroke, double opacity = 1, string fill = "none", string visibility = "", string accessText = "")
    Parameters
    Type Name Description
    string id

    The unique element identifier.

    string cx

    The x-coordinate of the center.

    string cy

    The y-coordinate of the center.

    string r

    The radius of the circle.

    string strokeDasharray

    The stroke dash array pattern.

    double strokeWidth

    The stroke width in pixels.

    string stroke

    The stroke color.

    double opacity

    Optional opacity (0–1). Defaults to 1.

    string fill

    Optional fill color. Defaults to "none".

    string visibility

    Optional SVG visibility value. Defaults to an empty string.

    string accessText

    Optional ARIA label text. Defaults to an empty string.

    Properties

    AccessibilityText

    Gets or sets the ARIA label text used as the aria-label attribute value for screen-reader accessibility.

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

    Cx

    Gets or sets the x-coordinate of the center (cx) of the circle.

    Declaration
    public string Cx { get; set; }
    Property Value
    Type
    string

    Cy

    Gets or sets the y-coordinate of the center (cy) of the circle.

    Declaration
    public string Cy { get; set; }
    Property Value
    Type
    string

    Fill

    Gets or sets the fill color of the circle. Accepts a valid CSS color string. Defaults to "none".

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

    Id

    Gets or sets the unique identifier of the circle element.

    Declaration
    public string Id { get; set; }
    Property Value
    Type
    string

    Opacity

    Gets or sets the opacity of the circle element. Range: 0 (transparent) to 1 (opaque). Defaults to 1.

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

    R

    Gets or sets the radius (r) of the circle.

    Declaration
    public string R { get; set; }
    Property Value
    Type
    string

    Stroke

    Gets or sets the stroke color of the circle. Accepts a valid CSS color string.

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

    StrokeDashArray

    Gets or sets the SVG stroke-dasharray value defining the dash pattern of the circle stroke.

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

    StrokeWidth

    Gets or sets the stroke width of the circle border in pixels. Defaults to 1.

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

    Visibility

    Gets or sets the SVG visibility attribute value (e.g., "visible", "hidden"). Defaults to an empty string.

    Declaration
    public string Visibility { get; set; }
    Property Value
    Type
    string
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved