|
Core Plot (iOS and tvOS)
Cocoa plotting framework for macOS, iOS, and tvOS
|
Go to the documentation of this file.
261 @property (nonatomic, readwrite, assign) CGFloat
barWidth;
279 -(void)reloadBarFillsInIndexRange:(
NSRange)indexRange;
281 -(void)reloadBarLineStylesInIndexRange:(
NSRange)indexRange;
283 -(void)reloadBarWidthsInIndexRange:(
NSRange)indexRange;
CPTTradingRangePlotBinding __nonnull const CPTTradingRangePlotBindingLineStyles
Line styles used to draw candlestick or OHLC symbols.
Definition: CPTTradingRangePlot.m:37
CPTTradingRangePlotBinding __nonnull const CPTTradingRangePlotBindingHighValues
High price values.
Definition: CPTTradingRangePlot.m:32
Immutable wrapper for various line drawing properties. Create a CPTMutableLineStyle if you want to cu...
Definition: CPTLineStyle.h:20
CPTFill * increaseFill
The fill used with a candlestick plot when close >= open.
Definition: CPTTradingRangePlot.h:272
@ CPTTradingRangePlotFieldHigh
High values.
Definition: CPTTradingRangePlot.h:44
CPTTradingRangePlotBinding __nonnull const CPTTradingRangePlotBindingLowValues
Low price values.
Definition: CPTTradingRangePlot.m:33
A plot data source.
Definition: CPTPlot.h:51
@ CPTTradingRangePlotFieldOpen
Open values.
Definition: CPTTradingRangePlot.h:43
CPTTradingRangePlotBinding __nonnull const CPTTradingRangePlotBindingIncreaseFills
Fills used with a candlestick plot when close >= open.
Definition: CPTTradingRangePlot.m:35
void reloadBarWidths()
Reload all bar widths from the data source immediately.
Definition: CPTTradingRangePlot.m:565
CPTTradingRangePlotBinding __nonnull const CPTTradingRangePlotBindingOpenValues
Open price values.
Definition: CPTTradingRangePlot.m:31
CPTTradingRangePlotField
Enumeration of Quote plot data source field types.
Definition: CPTTradingRangePlot.h:41
void reloadBarFills()
Reload all bar fills from the data source immediately.
Definition: CPTTradingRangePlot.m:375
A trading range financial plot.
Definition: CPTTradingRangePlot.h:257
CPTLineStyle * increaseLineStyle
The line style used to outline candlestick symbols or draw OHLC symbols when close >= open....
Definition: CPTTradingRangePlot.h:270
@ CPTTradingRangePlotStyleCandleStick
Candlestick plot.
Definition: CPTTradingRangePlot.h:35
CPTTradingRangePlotBinding __nonnull const CPTTradingRangePlotBindingXValues
X values.
Definition: CPTTradingRangePlot.m:30
Draws area fills.
Definition: CPTFill.h:18
CPTFill * decreaseFill
The fill used with a candlestick plot when close < open.
Definition: CPTTradingRangePlot.h:273
A trading range plot data source.
Definition: CPTTradingRangePlot.h:54
@ CPTTradingRangePlotFieldLow
Low values.
Definition: CPTTradingRangePlot.h:45
CPTTradingRangePlotStyle
Enumeration of Quote plot render style types.
Definition: CPTTradingRangePlot.h:33
CGFloat barCornerRadius
The corner radius used for candlestick plots. Defaults to 0.0.
Definition: CPTTradingRangePlot.h:263
CPTTradingRangePlotBinding __nonnull const CPTTradingRangePlotBindingBarWidths
Bar widths.
Definition: CPTTradingRangePlot.m:40
CPTLineStyle * lineStyle
The line style used to draw candlestick or OHLC symbols.
Definition: CPTTradingRangePlot.h:269
CPTTradingRangePlotStyle plotStyle
The style of trading range plot drawn. The default is CPTTradingRangePlotStyleOHLC.
Definition: CPTTradingRangePlot.h:260
An abstract plot class.
Definition: CPTPlot.h:258
CPTTradingRangePlotBinding __nonnull const CPTTradingRangePlotBindingDecreaseFills
Fills used with a candlestick plot when close < open.
Definition: CPTTradingRangePlot.m:36
CPTTradingRangePlotBinding __nonnull const CPTTradingRangePlotBindingIncreaseLineStyles
Line styles used to outline candlestick symbols when close >= open.
Definition: CPTTradingRangePlot.m:38
#define cpt_swift_struct
Marks a type definition to be imported into Swift as a structure.
Definition: CPTDefinitions.h:73
@ CPTTradingRangePlotFieldX
X values.
Definition: CPTTradingRangePlot.h:42
CGFloat stickLength
The length of close and open sticks on OHLC plots (view coordinates).
Definition: CPTTradingRangePlot.h:262
BOOL showBarBorder
If YES, the candlestick body will show a border.
Definition: CPTTradingRangePlot.h:264
CPTTradingRangePlotBinding __nonnull const CPTTradingRangePlotBindingDecreaseLineStyles
Line styles used to outline candlestick symbols when close < open.
Definition: CPTTradingRangePlot.m:39
CPTTradingRangePlotBinding __nonnull const CPTTradingRangePlotBindingCloseValues
Close price values.
Definition: CPTTradingRangePlot.m:34
CGFloat barWidth
The width of bars in candlestick plots (view coordinates).
Definition: CPTTradingRangePlot.h:261
@ CPTTradingRangePlotStyleOHLC
Open-High-Low-Close (OHLC) plot.
Definition: CPTTradingRangePlot.h:34
void reloadBarLineStyles()
Reload all bar line styles from the data source immediately.
Definition: CPTTradingRangePlot.m:456
@ CPTTradingRangePlotFieldClose
Close values.
Definition: CPTTradingRangePlot.h:46
Trading range plot delegate.
Definition: CPTTradingRangePlot.h:180
Plot delegate.
Definition: CPTPlot.h:170
CPTLineStyle * decreaseLineStyle
The line style used to outline candlestick symbols or draw OHLC symbols when close < open....
Definition: CPTTradingRangePlot.h:271