setNoDataMessage

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
James

setNoDataMessage

Post by James » Thu Jan 30, 2003 3:43 pm

Here is the lines:
chartPlotMonthly = chartMonthly.getCategoryPlot();
chartPlotMonthly.setNoDataMessage("No Data Available");

When there is no data in the chart, i would like to see "No Data Available" inside the vertical bar chart. I have tried that and it never appearred.

James

David Gilbert

Re: setNoDataMessage

Post by David Gilbert » Thu Jan 30, 2003 9:13 pm

It's a bug / incomplete implementation. I've added the required code to HorizontalCategoryPlot and VerticalCategoryPlot, for the 0.9.5 release.

Regards,

Dave Gilbert

James

Re: setNoDataMessage

Post by James » Fri Jan 31, 2003 12:56 pm

Do you know when 0.9.5 will release?

David Gilbert

Re: setNoDataMessage

Post by David Gilbert » Fri Jan 31, 2003 5:10 pm

I was aiming for today, but for various reasons I've decided that the release will be on Thursday Feb 6.

Regards,

Dave Gilbert

Rob Stone

Re: setNoDataMessage

Post by Rob Stone » Thu Feb 20, 2003 5:59 pm

I have just started using this feature, unfortunately I can't figure out how to set the colour of the text. When I run it the text is very hard to see as it is almost the same colour as the chart background. Any ideas ?

Cheers
Rob

Locked