ios - Core-Plot DataLabel Z-Ordering -
i try add data labels bar graph in core-plot (on ios). user selects individual plots , values shown.
the main problem shown in image, other plots overdraw data labels.
is possible have labels @ top?
as user sets ordering of bars, cannot reorder bars. (also if did, user experience terrible whole graph appearance change on selection.)
other possibility: can reorder plots z-ordering have positions remain unchanged?
any other ideas? tried cptplotspaceannotations, cannot align them on bar precise enough (see "1037" label @ year (x-axis) 1980).
i came solution myself: remove plot , add back. in way plot raised in z-hierarchy.
[self.graph removeplot:plot]; [self.graph addplot:plot];
Comments
Post a Comment