Class SFCandleSeries
Represents a candle chart. To render candle chart, create an instance of this class and add it to Series collection property and set the required properties.
Inherited Members
Namespace: Syncfusion.SfChart.iOS
Assembly: Syncfusion.SFChart.iOS.dll
Syntax
public class SFCandleSeries : SFOHLCSeries
Remarks
SFCandleSeries 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
SFCandleSeries()
Declaration
public SFCandleSeries()
Properties
BorderColor
Gets or sets the border color of the series.
Declaration
public UIColor BorderColor { get; set; }
Property Value
Type |
---|
UIKit.UIColor |
BorderWidth
Gets or sets the border width of the series.
Declaration
public nfloat BorderWidth { get; set; }
Property Value
Type |
---|
System.nfloat |
EnableSolidCandles
Gets or sets a value indicating whether to enable solid candles.
Declaration
public bool EnableSolidCandles { get; set; }
Property Value
Type |
---|
System.Boolean |
Methods
CreateSegment()
Create the SFCandleSegment.
Declaration
protected override SFChartSegment CreateSegment()
Returns
Type | Description |
---|---|
SFChartSegment | Returns a segment. |
Overrides
CreateSegment(Double[], Boolean, Boolean)
Declaration
protected override void CreateSegment(double[] values, bool isBull, bool isFill)
Parameters
Type | Name | Description |
---|---|---|
System.Double[] | values | |
System.Boolean | isBull | |
System.Boolean | isFill |