How do remove the border around a core-plot graph

后端 未结 7 2024
北荒
北荒 2021-01-31 18:42

I am trying to remove the border around a core plot graph on the iPhone - but seem to be struggling on what should be simple in my mind.

Pointers please!

7条回答
  •  醉酒成梦
    2021-01-31 18:58

    You should be able to nil out the borderLineStyle on the graph's plotArea to remove the border:

    graph.plotAreaFrame.borderLineStyle = nil;    // don't draw a border
    

    You could also create your own theme, using the ones in the framework as examples, and simply not set the borderLineStyle in that.

提交回复
热议问题