AWFGroupedLegendConfig
Objective-C
@interface AWFGroupedLegendConfig : NSObject
Swift
class AWFGroupedLegendConfig : NSObject
AWFGroupedLegendConfig
is an object that represents a grouped legend by containing a series of individual legend configuration instances.
-
The identifier key for the configuration.
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *key;
Swift
var key: String? { get set }
-
An array of legend configuration instances for the group.
Declaration
Objective-C
@property (nonatomic, strong, nullable) NSArray<AWFLegendConfig *> *configs;
Swift
var configs: [AWFLegendConfig]? { get set }
-
Initializes and returns a newly allocated legend configuration group with the specified configuration instances.
Declaration
Objective-C
- (nonnull instancetype)initWithLegendConfigs: (nonnull NSArray<AWFLegendConfig *> *)configs;
Swift
init(legendConfigs configs: [AWFLegendConfig])
Parameters
configs
The legend configuration instances for the group.
Return Value
An initialized configuration object.