Class ChartStyle
Represents the class to define the style for SfSmithChart control.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.WinForms.SmithChart
Assembly: Syncfusion.SfSmithChart.WinForms.dll
Syntax
public class ChartStyle : VisualStyleBase, ICustomTypeDescriptor, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject
Constructors
ChartStyle()
Initializes a new instance of the ChartStyle class.
Declaration
public ChartStyle()
ChartStyle(SmithChartStyleInfoIdentity)
Initializes a new instance of the ChartStyle class.
Declaration
public ChartStyle(SmithChartStyleInfoIdentity identity)
Parameters
Type | Name | Description |
---|---|---|
SmithChartStyleInfoIdentity | identity | A SmithChartStyleInfoIdentity that holds the identity for this SmithChartStyleInfoStore. |
Properties
BackColor
Gets or sets the back color for SfSmithChart control.
Declaration
public Color BackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
ChartAreaBackColor
Gets or sets the background color for chart area.
Declaration
public Color ChartAreaBackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
ChartAreaBorderColor
Gets or sets the border color for the chart area border.
Declaration
public Color ChartAreaBorderColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
ChartAreaBorderWidth
Gets or sets the width for the chart area border.
Declaration
public int ChartAreaBorderWidth { get; set; }
Property Value
Type |
---|
System.Int32 |
DefaultStyle
Gets the default style value for the SfSmithChart control.
Declaration
public static ChartStyle DefaultStyle { get; }
Property Value
Type |
---|
ChartStyle |
Font
Gets or sets the font for smith chart header.
Declaration
public Font Font { get; set; }
Property Value
Type |
---|
System.Drawing.Font |
ForeColor
Gets or sets the fore color value of the SfSmithChart control.
Declaration
public Color ForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
HorizontalAxisStyle
Gets or sets the horizontal axis style.
Declaration
public AxisStyle HorizontalAxisStyle { get; set; }
Property Value
Type |
---|
AxisStyle |
LegendStyle
Gets or sets the legend style.
Declaration
public LegendStyle LegendStyle { get; set; }
Property Value
Type |
---|
LegendStyle |
RadialAxisStyle
Gets or sets the radial axis style.
Declaration
public AxisStyle RadialAxisStyle { get; set; }
Property Value
Type |
---|
AxisStyle |
Methods
CreateSubObjectIdentity(StyleInfoProperty)
Overridden to create a product-specific identity object for the sub object.
Declaration
public override StyleInfoSubObjectIdentity CreateSubObjectIdentity(StyleInfoProperty sip)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoProperty | sip | StyleInfoProperty descriptor for this sub object. |
Returns
Type | Description |
---|---|
StyleInfoSubObjectIdentity | Identity for the sub object. |
Overrides
GetDefaultStyle()
Gets the default style value of the ChartStyle class.
Declaration
protected override StyleInfoBase GetDefaultStyle()
Returns
Type | Description |
---|---|
StyleInfoBase | Returns the default style value. |
Overrides
ShouldSerializeBackColor()
Determines whether BackColor has been modified and its contents should be serialized at design-time.
Declaration
public bool ShouldSerializeBackColor()
Returns
Type | Description |
---|---|
System.Boolean | True if contents were changed; False otherwise. |
ShouldSerializeChartAreaBackColor()
Determines whether ChartAreaBackColor has been modified and its contents should be serialized at design-time.
Declaration
public bool ShouldSerializeChartAreaBackColor()
Returns
Type | Description |
---|---|
System.Boolean | True if contents were changed; False otherwise. |
ShouldSerializeChartAreaBorderColor()
Determines whether ChartAreaBorderColor has been modified and its contents should be serialized at design-time.
Declaration
public bool ShouldSerializeChartAreaBorderColor()
Returns
Type | Description |
---|---|
System.Boolean | True if contents were changed; False otherwise. |
ShouldSerializeChartAreaBorderWidth()
Determines whether ChartAreaBorderWidth has been modified and its contents should be serialized at design-time.
Declaration
public bool ShouldSerializeChartAreaBorderWidth()
Returns
Type | Description |
---|---|
System.Boolean | True if contents were changed; False otherwise. |
ShouldSerializeFont()
Determines whether Font has been modified and its contents should be serialized at design-time.
Declaration
public bool ShouldSerializeFont()
Returns
Type | Description |
---|---|
System.Boolean | True if contents were changed; False otherwise. |
ShouldSerializeForeColor()
Determines whether ForeColor has been modified and its contents should be serialized at design-time.
Declaration
public bool ShouldSerializeForeColor()
Returns
Type | Description |
---|---|
System.Boolean | True if contents were changed; False otherwise. |