Setting benchmarks & handling conditions of no data

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

Setting benchmarks & handling conditions of no data

Post by ROhit » Mon Jul 15, 2002 9:23 am

Hi,
If there is any way for setting up benchmarks in JFreeChart , or do I need to calculate the values again i.e. regenerate the 2-D array and draw a new Chart again ???
Also I want to show some label like 'no data found' when there is no data for a particular Graph.How do I do the same...

Thanks & Regards
ROhit.

David Gilbert

Re: Setting benchmarks & handling conditions of no data

Post by David Gilbert » Tue Jul 16, 2002 9:02 am

Do you mean performance testing benchmarks? Nothing has been constructed yet, but I'd like to do this some time (prior to 1.0.0).

At the moment, a null dataset should result in a blank chart. There's no facility to add a "no data" message, but it shouldn't be that difficult to add one. For HorizontalCategoryPlot (as an example) you could add a small amount of code in the render(...) method to achieve this. I'll make this a general feature when I get a moment...

Regards,

DG.

Locked