Empty row set problem for chart [message #211528] |
Mon, 15 January 2007 13:06 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: vgryn.yahoo.com
Hi!
Using BIRT 2.2M2.
I created Bar chart with lots of complex expressions over the data set, such
as
row[...].toSrting()
When row set for chart is empty (include after chart row set filtering), bar
chart is not displayed at all. Also it causes errors in preview mode
(toString() obviously cannot be evaluated).
I would like to display some sort of message or so in such case.
Question 1. Is it possible somehow to check in run-time if row set for chart
is empty from outside of the chart object?
Question 2. Is it possible to check above from inside (in the chart
scripts)?
Question 3. Is it possible to draw something custom inside of the chart? Can
I hide plot and legend areas and leave just chart title to display a
message? I know I can, but would not BIRT evaluate Plot area expression
(like row[...].toSrting()) anyway and thus entire chart fails because
errors?
Note that I cannot just check data - because chart contains filtering as
well (that is changed dynamically by user input).
General question is: does BIRT contain any features for charts to deal with
empty row sets?
--
WBR,
Vlad Grynchyshyn
|
|
|
|
Powered by
FUDForum. Page generated in 0.03625 seconds