How to set linecolor for a string using coreplot?

I am using coreplot 0.9. I tried setting the linecolor property for CPTLineStyle to

CPTLineStyle *lineStyle = [CPTLineStyle lineStyle]; lineStyle.lineColor=[UIColor grayColor]; 

But it gives an error that the linecolor property is readonly. Please give me some solution for this.

+6
source share
1 answer

Another line style object, quite useful, is CPTMutableLineStyle .

This is where you can set the color of the line.

+9
source

Source: https://habr.com/ru/post/901511/


All Articles