Examples
Each SmithSeries holds SmithPoint values (resistance, reactance, optional label), already divided by the reference impedance; the line follows the points in order.
Mode="SmithChartMode.Admittance" mirrors the grid into circles of constant conductance and arcs of constant susceptance; the points stay where their reflection coefficient puts them. ShowLine="false" keeps the markers only.
Playground
<SmithChart
Title="Office Wi-Fi antenna, 2.40 to 2.48 GHz"
Series="@_sweep" />
@code {
// Impedances normalized to 50 Ω (r + jx), from a sweep of the antenna on an office access point.
private readonly SmithSeries[] _sweep =
[
new("Antenna",
[
new(0.42, -0.65, "2.40 GHz"),
new(0.58, -0.38, "2.42 GHz"),
new(0.78, -0.12, "2.44 GHz"),
new(1.05, 0.08, "2.45 GHz"),
new(1.38, 0.31, "2.46 GHz"),
new(1.72, 0.62, "2.48 GHz"),
]),
];
}API
<SmithChart>
DaisyBlazor.ChartsParameters
- AspectRatio double= 1
Width divided by height. The chart keeps this shape at any width; its text keeps its size.
- Mode SmithChartMode= SmithChartMode.Impedance
Draw the impedance grid (default) or the admittance grid, mirrored left to right.
- RowHeight double?= null
Height of each row in px, for a chart that lays its categories out as rows (horizontal bars, a Gantt's lanes, a heatmap's rows…): its height then follows its number of rows instead of AspectRatio, so a long list keeps readable rows at any width. A chart, or an orientation, without rows ignores it.
- Series IReadOnlyList<
SmithSeries> = []The series of normalized impedances to plot.
- ShowGridLabels bool= true
Print the resistance and reactance values of the grid.
- ShowLine bool= true
Join each series' points with a line, in order.
- ShowTitle bool= true
Draw Title as a visible heading above the chart (the default); false keeps it only as the chart's accessible name, for a chart inside a card that already has a heading.
- Title string= null
Optional heading rendered above the chart; it is also the chart's accessible name.
- Width string= "100%"
CSS width of the chart wrapper.
- Class string= null
Additional CSS classes merged onto the w-full wrapper.
- Style string= null
Inline styles appended after the width on the wrapper.