Mario Ivankovits wrote:
> On my chart I use multiple datasets/axis like in the
> MultipleAxisDemo1.java example.
> I also use annotations - now it looks like there is no way to annotate
> a multi-axis chart other than the primary axis.
> I think whats misssing is something like
> plot.addAnnotation(index, annotation);
> The same index like in plot.setDataset(int, ..) or
> plot.setRangeAxis(int, ...)
> Or am I doing something wrong?
No, I think this is a problem that needs addressing ... the annotations
need to be mapped to a renderer (and, thus, to a pair of axes) rather
than the plot. I will look at it, and if the change isn't too drastic
I'll try to get it into the next release.
JFreeChart Project Leader