Reputation: 91
I'm working with core plot . When I tried to customize the CPTTextStyle.color's value I found that it's readonly ! Who can tell me how could I change the color property's value ?
Upvotes: 3
Views: 937
Reputation: 27381
Use CPTMutableTextStyle
. Core Plot follows the common Cocoa convention of mutable and immutable versions of some classes. Line styles, shadows, and plot ranges also follow this pattern.
Upvotes: 8