Hi,
I’m trying to create a small thumbnail of a scatter plot in a 100x100 pixel CPTGraphHostingView. Given this size, I want to eliminate all labels (numeric and otherwise), and have the axes bump up against the view. Setting
graph.paddingTop = 0
works, i.e. where there are no labels, but the left and bottom still leave room for the labels. I can get the labels to not appear (labelingPolicy = CPTAxisLabelingPolicyNone, axisLabels = nil). The left and right padding seem to need to be set to negative values, but I haven’t found a way to programmatically determine what they should be. It might be nice to keep the grid, so just being able to determine the correct offset to move the labels off the view would be great.
Thanks,
Demitri