NSString *NSBackgroundColorAttributeName;
This is a key to be used in the -pieChartView:attributesForSliceIndex: dictionary. The value
represents what color the slice will be drawn. If this key is not present, a default color will
be used based on the zero based slice index of the slice.
The value should be an NSColor object. For example, [ NSColor redColor ].
NSString *NSForegroundColorAttributeName;
This is a key to be used in the -pieChartView:attributesForSliceIndex: dictionary. The value
represents what color the border of the slice will be drawn. If this key is not present,
the view's -borderColor will be used.
The value should be an NSColor object. For example, [ NSColor redColor ].
typedef enum _SMLabelPosition {
SMLabelPositionNone = 0,
SMLabelPositionBelow = 1,
SMLabelPositionAbove = 2,
SMLabelPositionRight = 4,
SMLabelPositionLeft = 8
} SMLabelPositionEnum;
Constants to use with the -setLabelPosition: and -labelPosition methods.
Name Description SMLabelPositionNone Draw no labels. SMLabelPositionBelow Draw the labels below the pie. SMLabelPositionAbove Draw the labels above the pie. SMLabelPositionRight Draw the labels to the right of the pie. SMLabelPositionLeft Draw the labels to the left of the pie.
typedef enum _SMTitlePosition {
SMTitlePositionBelow = 0,
SMTitlePositionAbove = 1,
} SMTitlePosition;
Constants to use with the -setTitlePosition: and -titlePosition methods.
Name Description SMTitlePositionBelow Draw the title below the pie. SMTitlePositionAbove Draw the title above the pie.
© 2003-2004 Snowmint Creative Solutions LLC (Last Updated 8/29/2004)