|
Core Plot (macOS)
Cocoa plotting framework for macOS, iOS, and tvOS
|
Go to the documentation of this file.
232 +(nonnull instancetype)tubularBarPlotWithColor:(nonnull
CPTColor *)color horizontalBars:(
BOOL)horizontal;
243 -(void)reloadBarFillsInIndexRange:(
NSRange)indexRange;
245 -(void)reloadBarLineStylesInIndexRange:(
NSRange)indexRange;
247 -(void)reloadBarWidthsInIndexRange:(
NSRange)indexRange;
Immutable wrapper for various line drawing properties. Create a CPTMutableLineStyle if you want to cu...
Definition: CPTLineStyle.h:20
A plot data source.
Definition: CPTPlot.h:51
CGFloat barCornerRadius
The corner radius for the end of the bars. Default is 0.0 for square corners.
Definition: CPTBarPlot.h:216
@ CPTBarPlotFieldBarTip
Bar tip value.
Definition: CPTBarPlot.h:36
CPTPlotRange * plotRange
Sets the plot range for the independent axis.
Definition: CPTBarPlot.h:221
A bar plot data source.
Definition: CPTBarPlot.h:45
NSNumber * barWidth
The width of each bar. Either view or plot coordinates can be used.
Definition: CPTBarPlot.h:214
BOOL barWidthsAreInViewCoordinates
Whether the bar width and bar offset is in view coordinates, or in plot coordinates....
Definition: CPTBarPlot.h:213
A two-dimensional bar plot.
Definition: CPTBarPlot.h:210
CPTBarPlotBinding __nonnull const CPTBarPlotBindingBarBases
Bar bases.
Definition: CPTBarPlot.m:32
CPTBarPlotBinding __nonnull const CPTBarPlotBindingBarWidths
Bar widths.
Definition: CPTBarPlot.m:35
@ CPTBarPlotFieldBarBase
Bar base (used only if barBasesVary is YES).
Definition: CPTBarPlot.h:37
CPTBarPlotBinding __nonnull const CPTBarPlotBindingBarLocations
Bar locations.
Definition: CPTBarPlot.m:30
Defines an immutable range of plot data.
Definition: CPTPlotRange.h:27
NSNumber * baseValue
The coordinate value of the fixed end of the bars. This is only used if barBasesVary is NO....
Definition: CPTBarPlot.h:219
Immutable wrapper for various text style properties.
Definition: CPTTextStyle.h:18
An immutable color.
Definition: CPTColor.h:3
nullable CPTPlotRange * plotRangeEnclosingBars()
Computes a plot range that completely encloses all of the bars.
Definition: CPTBarPlot.m:834
void reloadBarLineStyles()
Reload all bar line styles from the data source immediately.
Definition: CPTBarPlot.m:557
Draws area fills.
Definition: CPTFill.h:18
CPTLineStyle * lineStyle
The line style for the bar outline. If nil, the outline is not drawn.
Definition: CPTBarPlot.h:226
CPTBarPlotBinding __nonnull const CPTBarPlotBindingBarTips
Bar tips.
Definition: CPTBarPlot.m:31
An annotated NSMutableData type.
Definition: CPTMutableNumericData.h:5
BOOL barsAreHorizontal
If YES, the bars will have a horizontal orientation, otherwise they will be vertical.
Definition: CPTBarPlot.h:218
void reloadBarFills()
Reload all bar fills from the data source immediately.
Definition: CPTBarPlot.m:503
Bar plot delegate.
Definition: CPTBarPlot.h:131
An annotated NSData type.
Definition: CPTNumericData.h:4
An abstract plot class.
Definition: CPTPlot.h:258
CPTBarPlotField
Enumeration of bar plot data source field types.
Definition: CPTBarPlot.h:34
CPTFill * fill
The fill style for the bars. If nil, the bars are not filled.
Definition: CPTBarPlot.h:227
A Core Animation layer that displays text drawn in a uniform style.
Definition: CPTTextLayer.h:9
#define cpt_swift_struct
Marks a type definition to be imported into Swift as a structure.
Definition: CPTDefinitions.h:73
CGFloat barBaseCornerRadius
The corner radius for the end of the bars drawn at the base value. Default is 0.0 for square corners.
Definition: CPTBarPlot.h:217
Plot delegate.
Definition: CPTPlot.h:170
@ CPTBarPlotFieldBarLocation
Bar location on independent coordinate axis.
Definition: CPTBarPlot.h:35
CPTBarPlotBinding __nonnull const CPTBarPlotBindingBarLineStyles
Bar line styles.
Definition: CPTBarPlot.m:34
void reloadBarWidths()
Reload all bar widths from the data source immediately.
Definition: CPTBarPlot.m:611
BOOL barBasesVary
If NO, a constant base value is used for all bars. If YES, the data source is queried to supply a bas...
Definition: CPTBarPlot.h:220
CPTBarPlotBinding __nonnull const CPTBarPlotBindingBarFills
Bar fills.
Definition: CPTBarPlot.m:33
NSNumber * barOffset
The starting offset of the first bar in location data units.
Definition: CPTBarPlot.h:215