Class HSBMapping
Represents a connection between the resources provided to style the RadChart and the different visual elements.
Inherited Members
Namespace: Telerik.Windows.Controls.Charting
Assembly: Telerik.Windows.Controls.Charting.dll
Syntax
public class HSBMapping : BuildStyleMapping, IStyleMapping
Constructors
HSBMapping()
Properties
AlphaFactor
Gets or sets the alpha factor for the HSBGradientStop.
Declaration
public double AlphaFactor { get; set; }
Property Value
System.Double
The alpha factor. |
BrightnessFactor
Gets or sets the brightness factor for the HSBGradientStop.
Declaration
public double BrightnessFactor { get; set; }
Property Value
System.Double
The brightness factor. |
HueChange
Gets or sets the hue change for the HSBGradientStop.
Declaration
public double HueChange { get; set; }
Property Value
System.Double
The hue change. |
Offset
Gets or sets the offset of the HSBGradientStop.
Declaration
public double Offset { get; set; }
Property Value
System.Double
The offset. |
SaturationFactor
Gets or sets the saturation factor for the HSBGradientStop.
Declaration
public double SaturationFactor { get; set; }
Property Value
System.Double
The saturation factor. |
SourceKey
Gets or sets the source key.
Declaration
public string SourceKey { get; set; }
Property Value
System.String
The source key. |
Methods
Build(Object, IKeyIndexValueProvider, Int32, Boolean)
Builds the required resource.
Declaration
public override object Build(object baseData, IKeyIndexValueProvider resources, int index, bool keepTheme)
Parameters
System.Object
baseData
The base data. |
IKeyIndexValueProvider
resources
The resources. |
System.Int32
index
The index. |
System.Boolean
keepTheme
Should the style build match the theme. |
Returns
System.Object
|
Overrides
CreateBrush(Brush, Boolean)
Creates the HSB-modified brush.
Declaration
protected virtual Brush CreateBrush(Brush baseBrush, bool keepTheme)
Parameters
System.Windows.Media.Brush
baseBrush
The base brush. |
System.Boolean
keepTheme
Should the style build match the theme. |
Returns
System.Windows.Media.Brush
|