Class SfSmithChart
The Blazor Smith Chart is a component for showing the parameters of transmission lines in high-frequency circuit applications.
Inherited Members
Namespace: Syncfusion.Blazor.Charts
Assembly: Syncfusion.Blazor.dll
Syntax
public class SfSmithChart : SfDataBoundComponent
Constructors
SfSmithChart()
Declaration
public SfSmithChart()
Properties
Background
Gets and sets the background color of the smith chart.
Declaration
public string Background { get; set; }
Property Value
Type | Description |
---|---|
System.String | Accepts the string value that specifies the background color of the smith chart. |
ElementSpacing
Use to set space between elements.
Declaration
public double ElementSpacing { get; set; }
Property Value
Type | Description |
---|---|
System.Double | Accepts a double value that specifies the space between elements in the smith chart. The default value is |
Height
Gets and sets the height of the smith chart.
Declaration
public string Height { get; set; }
Property Value
Type | Description |
---|---|
System.String | Accepts the string value. The default value is |
ID
Gets and sets the ID for smith chart.
Declaration
public string ID { get; set; }
Property Value
Type | Description |
---|---|
System.String | Accepts the string value. |
Radius
Gets and sets the radius of the smith chart.
Declaration
public double Radius { get; set; }
Property Value
Type | Description |
---|---|
System.Double | Accepts the double value that specifies the radius of smith chart. The default value is |
RenderType
Gets and sets the render type of the smith chart.
Declaration
public RenderType RenderType { get; set; }
Property Value
Type | Description |
---|---|
RenderType | One of the RenderType enumeration that specifies the type of smith chart. The default value is Impedance. |
Theme
Gets and sets the theme for the smith chart.
Declaration
public Theme Theme { get; set; }
Property Value
Type | Description |
---|---|
Theme | Accepts a value from the Theme enum. The default value is Bootstrap4. |
Width
Gets and sets the width of the smith chart.
Declaration
public string Width { get; set; }
Property Value
Type | Description |
---|---|
System.String | Accepts the string value. The default value is |
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder | __builder |
ExportAsync(ExportType, String, Nullable<PdfPageOrientation>)
The method is used to perform the export functionality for the rendered smith chart.
Declaration
public Task ExportAsync(ExportType type, string fileName, Nullable<PdfPageOrientation> orientation = null)
Parameters
Type | Name | Description |
---|---|---|
ExportType | type | Specifies the export type for the rendered smith chart. |
System.String | fileName | Specifies the filename. |
System.Nullable<Syncfusion.PdfExport.PdfPageOrientation> | orientation | Specifies the portrait or landscape orientation of the page. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | A System.Threading.Tasks.Task representing the asynchronous operation. |
PrintAsync(ElementReference)
The method is used to perform the print functionality in smith chart.
Declaration
public Task PrintAsync(ElementReference elementRef = null)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.Components.ElementReference | elementRef |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | A System.Threading.Tasks.Task representing the asynchronous operation. |
RefreshAsync(Boolean)
The method is used to render the smith chart again.
Declaration
public Task RefreshAsync(bool isUpdateData = true)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | isUpdateData | Specifies to update the smith chart data. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | A System.Threading.Tasks.Task representing the asynchronous operation. |