I have a jfreechart XYPlot with XYPointerAnnotation's, ValuesMarker's and other objects that has labels to show some info.
The problem I have is that depending of the point an annotation is setted, its label often are cutted from the plot margin.
The question is if there are some method to detect if a label is out of rendering area of a plot.
And related to this, is it possible to detect collision between2 annotations labels? Something that comparing the box label area retrieved from the XYAnnotationEntity. This is for avoiding the overlapping between annotations's labels.
Thanks in advance.