I'm having some problems with the update from BIRT 2.5.2 to BIRT 2.6.
First, I've found the same problem than here:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=322103
Second, I have troubles with "Divide by zero" error:
- Let's have some data like that:
A, B, C, CODE, DATA
0, 0, 0, 1, 2010-01-01
0, 0, 0, 2, 2010-02-01
0, 0, 0, 3, 2010-03-01
0, 0, 0, 4, 2010-04-01
- Let's generate a chart
* Chart Type: Line - 2D
* Data:
+ Serie 1: row["A"] (Sum)
+ Serie 2: row["B"] (Sum)
+ Serie 3: row["C"] (Sum)
Category X: row["DATA"]
Sort On: row["DATA"]
Group by: Enabled. Type: DateTime. Months. Interval: 1. Aggregate Expression: Sum
Now I have the error "Divide by 0".
At this point, I have tried some actions to avoid it and I have found that if I change the Aggregate Expression of Series 1 from Sum to Count the error dissapears. Furthermore if I add a new Series with row["A"] and Aggregate expression Sum, it does not fails unless I change back the Aggregate Expression of Series 1 from Count to Sum. Even I can hide Serie 1 and I have the graph I would like to see but I think it is not a good workaround.
It seems it is a bug of Birt 2.6 and I think it must be relationed with how BIRT calculate the scale of X-Axis.
Have you found the same problem?
Feel free to ask explanation of my poor English.
Regards