Class EllipseOptions
Defines the complete set of options for rendering an SVG ellipse element in chart components,
including center coordinates, radii, stroke, fill, opacity, and accessibility attributes.
Inherited Members
Namespace: Syncfusion.Blazor.DataVizCommon
Assembly: Syncfusion.Blazor.dll
Syntax
public class EllipseOptions
Constructors
EllipseOptions()
Initializes a new default instance of EllipseOptions with all properties at their default values.
Declaration
public EllipseOptions()
EllipseOptions(string, string, string, string, string, string, double, string, double, string, string, string, string)
Initializes a new instance of EllipseOptions with all required SVG ellipse attributes.
Declaration
public EllipseOptions(string id, string rx, string ry, string cx, string cy, string strokeDasharray, double strokeWidth, string stroke, double opacity = 1, string fill = "none", string datapoint = "", string accessText = "", string title = "Ellipse Element")
Parameters
| Type | Name | Description |
|---|---|---|
| string | id | The unique element identifier. |
| string | rx | The horizontal radius. |
| string | ry | The vertical radius. |
| string | cx | The x-coordinate of the center. |
| string | cy | The y-coordinate of the center. |
| 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 |
| string | fill | Optional fill color. Defaults to |
| string | datapoint | Optional data-point attribute value. Defaults to an empty string. |
| string | accessText | Optional ARIA label text. Defaults to an empty string. |
| string | title | Optional title text. Defaults to |
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 ellipse.
Declaration
public string Cx { get; set; }
Property Value
| Type |
|---|
| string |
Cy
Gets or sets the y-coordinate of the center (cy) of the ellipse.
Declaration
public string Cy { get; set; }
Property Value
| Type |
|---|
| string |
DataPoint
Gets or sets the data-point custom attribute value used to associate the ellipse with chart data point information.
Declaration
public string DataPoint { get; set; }
Property Value
| Type |
|---|
| string |
Fill
Gets or sets the fill color of the ellipse. 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 ellipse element.
Declaration
public string Id { get; set; }
Property Value
| Type |
|---|
| string |
Opacity
Gets or sets the opacity of the ellipse element. Range: 0 (transparent) to 1 (opaque).
Declaration
public double Opacity { get; set; }
Property Value
| Type |
|---|
| double |
Rx
Gets or sets the horizontal radius (rx) of the ellipse.
Declaration
public string Rx { get; set; }
Property Value
| Type |
|---|
| string |
Ry
Gets or sets the vertical radius (ry) of the ellipse.
Declaration
public string Ry { get; set; }
Property Value
| Type |
|---|
| string |
Stroke
Gets or sets the stroke color of the ellipse. 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 ellipse stroke.
Declaration
public string StrokeDashArray { get; set; }
Property Value
| Type |
|---|
| string |
StrokeWidth
Gets or sets the stroke width of the ellipse border in pixels. Defaults to 1.
Declaration
public double StrokeWidth { get; set; }
Property Value
| Type |
|---|
| double |
Title
Gets or sets the title attribute text providing a tooltip and accessible name. Defaults to "Ellipse Element".
Declaration
public string Title { get; set; }
Property Value
| Type |
|---|
| string |
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 |