Anybody aware of the problem that annotations are not displayed if one uses CombinedXYPlot, make one axis common and plot one or more than one graphs. I tried without using CombinedXYPlot and it successfully displays annotations for single graphs.
This seems to be a serious issue. I'm using jfreechart-0.9.4 libraries.
Thanks for your time,
Parveen
Unable to add annotations while creating combined charts usi
Re: Unable to add annotations while creating combined charts
Hi Parveen,
Did you add the annotations to the parent plot or the subplots? I would expect the latter to work, but not the former. I'll give it a try when I get a chance, and fix any problems I find.
Regards,
Dave Gilbert
Did you add the annotations to the parent plot or the subplots? I would expect the latter to work, but not the former. I'll give it a try when I get a chance, and fix any problems I find.
Regards,
Dave Gilbert
Re: Unable to add annotations while creating combined charts
I tried both. first one does nothing, simply doesn't do anything.
second one throws null pointer exception, probably because one axis parameter remains null in subplots. I tried passing the same axis parameter that I used for CombinedXYPlot but then it doesn't allow you to add such subplots to the CombinedXYPlot. So you can't do anything...
second one throws null pointer exception, probably because one axis parameter remains null in subplots. I tried passing the same axis parameter that I used for CombinedXYPlot but then it doesn't allow you to add such subplots to the CombinedXYPlot. So you can't do anything...