Class ChartAppearanceStyles
The ChartAppearanceStyles class which provides various appearance styles to the chart.
Inheritance
System.Object
ChartAppearanceStyles
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Forms.Chart
Assembly: Syncfusion.Chart.Windows.dll
Syntax
public sealed class ChartAppearanceStyles
Constructors
ChartAppearanceStyles()
Initializes a new instance of the ChartAppearanceStyles class.
Declaration
public ChartAppearanceStyles()
Fields
BlackFormat
ChartAppearnceStyle is Black.
Declaration
public const string BlackFormat = "Black"
Field Value
Type |
---|
System.String |
ContrastFormat
ChartAppearnceStyle is Contrast.
Declaration
public const string ContrastFormat = "Contrast"
Field Value
Type |
---|
System.String |
DefaultFormat
ChartAppearnceStyle is Default.
Declaration
public const string DefaultFormat = "Default"
Field Value
Type |
---|
System.String |
GainsBoroFormat
ChartAppearnceStyle is GainsBoro.
Declaration
public const string GainsBoroFormat = "GainsBoro"
Field Value
Type |
---|
System.String |
GradientFormat
ChartAppearnceStyle is Gradient.
Declaration
public const string GradientFormat = "Gradient"
Field Value
Type |
---|
System.String |
LightOliveFormat
ChartAppearnceStyle is LightOlive.
Declaration
public const string LightOliveFormat = "LightOlive"
Field Value
Type |
---|
System.String |
LinenFormat
ChartAppearnceStyle is Linen.
Declaration
public const string LinenFormat = "Linen"
Field Value
Type |
---|
System.String |
MistyRoseFormat
ChartAppearnceStyle is MistyRoseFormat.
Declaration
public const string MistyRoseFormat = "MistyRose"
Field Value
Type |
---|
System.String |
NoneFormat
ChartAppearnceStyle is None.
Declaration
public const string NoneFormat = "[NONE]"
Field Value
Type |
---|
System.String |
PaleYellowFormat
ChartAppearnceStyle is PaleYellow.
Declaration
public const string PaleYellowFormat = "PaleYellow"
Field Value
Type |
---|
System.String |
PinkOverlayFormat
ChartAppearnceStyle is PinkOverLay.
Declaration
public const string PinkOverlayFormat = "PinkOverlay"
Field Value
Type |
---|
System.String |
SolidColorFormat
ChartAppearnceStyle is SolidColor.
Declaration
public const string SolidColorFormat = "SolidColor"
Field Value
Type |
---|
System.String |
TriColorFormat
ChartAppearnceStyle is TriColor.
Declaration
public const string TriColorFormat = "TriColor"
Field Value
Type |
---|
System.String |
Methods
ApplyClassicStyle(ChartControl)
Applies the classic style.
Declaration
public static void ApplyClassicStyle(ChartControl chart)
Parameters
Type | Name | Description |
---|---|---|
ChartControl | chart | The chart. |
ApplyFormat(ChartControl, String)
Applies the format.
Declaration
public static void ApplyFormat(ChartControl chart, string formatName)
Parameters
Type | Name | Description |
---|---|---|
ChartControl | chart | The chart. |
System.String | formatName | Name of the format. |
RevertDefaultStyle(ChartControl)
Reverts the default style.
Declaration
public static void RevertDefaultStyle(ChartControl chart)
Parameters
Type | Name | Description |
---|---|---|
ChartControl | chart | The chart. |