I’m completely new to Core Plot and have a working bar graph, but the visual is kind of useless for me unless I know which object is represented in each bar. I have seen that there is a method called ‘fieldIdentifiers’ but do not know how to implement it, nor can I find any documentation (if this even the correct method). Can you steer me in the right direction? Thanks!
Share
In order to manually set the labels for an axis in a Core Plot chart, you’ll need to set the labelingPolicy of that axis to
CPAxisLabelingPolicyNoneand provide the labels yourself. For example, the following code will set custom labels in a bar chart (drawn from code I’ll add to the iPhone sample application at some point):This sets five custom labels (Label A, B, C, D, and E) at locations 1, 5, 10, 15, and 20 on the X axis.