Class SFOHLCSeries
Represents a OHLC chart. To render this chart, create an instance of this class and add it to Series collection property and set the required properties.
Inherited Members
Namespace: Syncfusion.MacOS.Charts.SfChart
Assembly: Syncfusion.SfChart.XForms.macOS.dll
Syntax
public class SFOHLCSeries : SFFinancialSeries
Remarks
SFOHLCSeries requires ItemsSource, XBindingPath, High, Low, Open and Close properties to be set to render the chart. This series also requires x-axis and y-axis to be explicitly set either using PrimaryAxis and SecondaryAxis or XAxis and YAxis.
Constructors
SFOHLCSeries()
Declaration
public SFOHLCSeries()
Properties
LineWidth
Gets or sets the value that defines the width of the segment.
Declaration
public nfloat LineWidth { get; set; }
Property Value
Type |
---|
System.nfloat |
Methods
CreateSegment()
Create the SFFinancialSegment.
Declaration
protected override SFChartSegment CreateSegment()
Returns
Type | Description |
---|---|
SFChartSegment | Returns a segment. |
Overrides
CreateSegment(Double[], Boolean, Boolean)
Add the SFFinancialSegment into the Segments collection.
Declaration
protected virtual void CreateSegment(double[] values, bool isBull, bool isFill)
Parameters
Type | Name | Description |
---|---|---|
System.Double[] | values | The values. |
System.Boolean | isBull | The Boolean |
System.Boolean | isFill | The Boolean value. |
CreateSegments()
Creates the segments of SFFinancialSeries.
Declaration
public override void CreateSegments()
Overrides
SetFillColor(SFChartSegment)
Declaration
protected override void SetFillColor(SFChartSegment segment)
Parameters
Type | Name | Description |
---|---|---|
SFChartSegment | segment |