piaoyongren / core-plot

Automatically exported from code.google.com/p/core-plot
0 stars 0 forks source link

How to bring axis label to front and change border style #167

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Dear Core-Plot team,

I am develop an iphone app and I am using Core-Plot to draw some chart which 
support multi-touch zoom, I done this functionality with some help from Michele 
Colombo, I also set the x and y axis to bottom - left side of graph, but the 
axis label is hidden, I want to ask 2 questions:

1. How to bring the axis labels to front?
2. how to change remove border of graph?

Please take a look at the attached screen shot for more information.

Original issue reported on code.google.com by hungson...@gmail.com on 1 Jul 2010 at 6:33

Attachments:

GoogleCodeExporter commented 8 years ago
About the 2nd item, I mean that how to remove the rounded corners? I need 
square corners

Original comment by hungson...@gmail.com on 1 Jul 2010 at 7:08

GoogleCodeExporter commented 8 years ago
The rounded corners are on the plot area frame. Set the cornerRadius property 
of graph.plotAreaFrame to 0.
For the labels, you have two options: set padding values for the plot area 
frame, or, set masksToBorder to NO for the plot area frame. Depends what effect 
you want to achieve as to which you should do.

PS Wish Michele Colombo would clean up that code and commit it back to the 
project ;-)

Original comment by drewmcco...@mac.com on 1 Jul 2010 at 7:28