Class SfSmithChart
The Blazor Smith Chart is a component for showing the parameters of transmission lines in high-frequency circuit applications.
Inheritance
Inherited Members
Namespace: Syncfusion.Blazor.Charts
Assembly: Syncfusion.Blazor.dll
Syntax
public class SfSmithChart : SfDataBoundComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Constructors
SfSmithChart()
Declaration
public SfSmithChart()
Properties
Background
Gets and sets the background color of the smith chart.
Declaration
[Parameter]
public string Background { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Accepts the string value that specifies the background color of the smith chart. |
ElementSpacing
Use to set space between elements.
Declaration
[Parameter]
public double ElementSpacing { get; set; }
Property Value
| Type | Description |
|---|---|
| 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
[Parameter]
public string Height { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Accepts the string value. The default value is |
ID
Gets and sets the ID for smith chart.
Declaration
[Parameter]
public string ID { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Accepts the string value. |
Radius
Gets and sets the radius of the smith chart.
Declaration
[Parameter]
public double Radius { get; set; }
Property Value
| Type | Description |
|---|---|
| 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
[Parameter]
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
[Parameter]
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
[Parameter]
public string Width { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Accepts the string value. The default value is |
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
| Type | Name | Description |
|---|---|---|
| RenderTreeBuilder | __builder |
Overrides
ExportAsync(ExportType, string, PdfPageOrientation?)
The method is used to perform the export functionality for the rendered smith chart.
Declaration
public Task ExportAsync(ExportType type, string fileName, PdfPageOrientation? orientation = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ExportType | type | Specifies the export type for the rendered smith chart. |
| string | fileName | Specifies the filename. |
| PdfPageOrientation? | orientation | Specifies the portrait or landscape orientation of the page. |
Returns
| Type | Description |
|---|---|
| Task | A 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 = default)
Parameters
| Type | Name | Description |
|---|---|---|
| ElementReference | elementRef |
Returns
| Type | Description |
|---|---|
| Task | A Task representing the asynchronous operation. |
RefreshAsync(bool)
The method is used to render the smith chart again.
Declaration
public Task RefreshAsync(bool isUpdateData = true)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | isUpdateData | Specifies to update the smith chart data. |
Returns
| Type | Description |
|---|---|
| Task | A Task representing the asynchronous operation. |