Prevent scatter plot symbols from being cut off at edge of plot

47 views
Skip to first unread message

Jason

unread,
Aug 24, 2010, 7:25:36 PM8/24/10
to coreplot-discuss
Hi,

My scatter plot symbols are being cut off at the edge of my plots.
The symbols appear to be drawn underneath the axes so only the half
inside the graph are showing.

I need any symbols which are displayed to be displayed fully, even if
they overlap an axis.

I have tried setting masksToBorder to NO for as many objects as I can
think of:

CPXYGraph *graph = ...;
graph.masksToBorder = NO;
graph.plotAreaFrame.masksToBorder = NO;
graph.plotAreaFrame.plotArea.masksToBorder = NO;

CPPlot *plot = ...;
plot.masksToBorder = NO;

etc.

Please help me figure out what I am doing wrong. Thanks.

Eric

unread,
Aug 24, 2010, 8:48:23 PM8/24/10
to coreplot-discuss
Turning off the masking can have other undesirable effects. If you
still want to go that way, you might also need to set masksToBounds =
NO.

A better bet will be to change your plot range slightly to move the
limits of the plot inwards. You can limit the lengths of the axis and
grid lines to make it appear like your plot extends to the edge.

See this other thread for more suggestions:
http://groups.google.com/group/coreplot-discuss/browse_thread/thread/180ddb5624f2aa6c#

Eric

gio

unread,
Jul 22, 2012, 10:43:46 AM7/22/12
to coreplot...@googlegroups.com, jason...@gmail.com
I've the same problem, did anyone solve this?
Reply all
Reply to author
Forward
0 new messages