I work with the main plot. When I tried to adjust the value of CPTTextStyle.color, I found that it was read-only! Who can tell me how I can change the value of a color property?
Use CPTMutableTextStyle. Core Plot follows Cocoa's general convention of mutable and immutable versions of some classes. Linear styles, shadows, and plot ranges also follow this pattern.
CPTMutableTextStyle