Appearance in Windows Forms Smith Chart (SfSmithChart)

18 Nov 20182 minutes to read

Chart palette

The Smith chart displays different series in different colors by using the Palette property of ColorModel. By default, the Metro palette is applied to the chart.

sfSmithChart1.ColorModel.Palette = ChartColorPalette.Nature;
sfSmithChart1.ColorModel.Palette = ChartColorPalette.Nature

WinForms SmithChart chart palette

Series palette

The palette color for each data point of a specific series can be defined by using the Palette property of ColorModel in the Series.

LineSeries series = new LineSeries();
series.ColorModel.Palette = ChartColorPalette.Metro;
series.DataLabel.Visible = true;
sfSmithChart1.Series.Add(series);
Dim series As New LineSeries()
series.ColorModel.Palette = ChartColorPalette.Metro
series.DataLabel.Visible = True
sfSmithChart1.Series.Add(series)

WinForms SmithChart series palette

Chart area customization

Chart and chart area (circle plotting area) can be customized by using the BackColor, ChartAreaBorderColor, ChartAreaBackColor, ChartAreaBorderWidth properties in the Smith chart.

sfSmithChart1.BackColor = Color.LightSteelBlue;
sfSmithChart1.Style.ChartAreaBorderColor = Color.SkyBlue;
sfSmithChart1.Style.ChartAreaBackColor = Color.AliceBlue;
sfSmithChart1.Style.ChartAreaBorderWidth = 2;
sfSmithChart1.BackColor = Color.LightSteelBlue
sfSmithChart1.Style.ChartAreaBorderColor = Color.SkyBlue
sfSmithChart1.Style.ChartAreaBackColor = Color.AliceBlue
sfSmithChart1.Style.ChartAreaBorderWidth = 2

WinForms SmithChart chart area customization

Circle radius

To change the diameter of the Smith chart’s circle with respect to the plot area, use the Radius property. It ranges from 0.1 to 1, and the default value is 0.95.

sfSmithChart1.Radius = 0.6f;
sfSmithChart1.Radius = 0.6f

WinForms SmithChart circle radius