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 |
ChildContent
Gets and sets the content of the UI element.
Declaration
public RenderFragment ChildContent { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.RenderFragment |
ElementSpacing
Use to set space between elements.
Declaration
public double ElementSpacing { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Height
Gets and sets the height of the smith chart.
Declaration
public string Height { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ID
Gets and sets the ID for smith chart.
Declaration
public string ID { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Radius
Gets and sets the radius of the smith chart.
Declaration
public double Radius { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
RenderType
Gets and sets the render type of the smith chart.
Declaration
public RenderType RenderType { get; set; }
Property Value
Type | Description |
---|---|
RenderType |
Theme
Gets and sets the theme for the smith chart.
Declaration
public Theme Theme { get; set; }
Property Value
Type | Description |
---|---|
Theme |
Width
Gets and sets the width of the smith chart.
Declaration
public string Width { get; set; }
Property Value
Type | Description |
---|---|
System.String |
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. |
OnAfterRenderAsync(Boolean)
Method invoked after each time the component has been rendered.
Declaration
protected override Task OnAfterRenderAsync(bool firstRender)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | firstRender | Specifies the first render of the component. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | A System.Threading.Tasks.Task representing the asynchronous operation. |
Overrides
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
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. |
Overrides
PrintAsync()
The method is used to perform the print functionality in smith chart.
Declaration
public Task PrintAsync()
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. |