Class ChartIndicatorMacdLine
Provides the options to customize the MACD line of the indicator.
Inherited Members
Namespace: Syncfusion.Blazor.Charts
Assembly: Syncfusion.Blazor.dll
Syntax
public class ChartIndicatorMacdLine : ChartSubComponent, ISubcomponentTracker
Constructors
ChartIndicatorMacdLine()
Declaration
public ChartIndicatorMacdLine()
Properties
Color
Gets or sets the color of the MACD line of the indicator.
Declaration
public string Color { get; set; }
Property Value
Type | Description |
---|---|
System.String | A System.String representing the color of the MACD line. The default is "#ff9933". |
Remarks
Use valid hex or rgba CSS color strings for the color value. Configuring the color helps in visually distinguishing the MACD line from other chart elements.
Width
Gets or sets the width of the Macd line of the indicator.
Declaration
public double Width { get; set; }
Property Value
Type | Description |
---|---|
System.Double | A System.Double representing the width of the MACD line. The default value is 2. |
Remarks
Changing the width alters the thickness of the MACD line, which can enhance visibility in the chart.
Methods
OnInitialized()
Declaration
protected override void OnInitialized()