piaoyongren / core-plot

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

Plot space annotations are invisible #205

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
When plot space annotations are positioned outside the visible plot range, they 
are not drawn when the plot space scrolls them into view. The content layer is 
being positioned correctly, following the movement of the plot space, but is 
not being drawn. The content layer is only rendered once, when the annotation 
is added to the host layer. If the initial position causes the layer to be 
clipped, it will never be redrawn even when it moves into view.

The simplest fix would be to call -setNeedsDisplay on the content layer every 
time it is moved, but this could have an adverse effect on performance. We 
should explore alternative solutions that will render the content layer only 
when necessary.

Original issue reported on code.google.com by eskr...@mac.com on 12 Sep 2010 at 2:10

GoogleCodeExporter commented 8 years ago
I will implement the fix describe the fix described above. There are too many 
edge cases to use another method and do it easily and efficiently. We can 
revisit this if the performance hit from rendering the annotations every time 
becomes too great.

Original comment by eskr...@mac.com on 13 Sep 2010 at 2:14

GoogleCodeExporter commented 8 years ago
This issue was closed by revision cf6b5c5e49.

Original comment by eskr...@mac.com on 13 Sep 2010 at 2:42