Hi all,
Can anybody give right direction in solving such problem.
I have query (MySQL) which returned as result table with fields: "year", "month", "day", "hour", "someValue_1", . . . , "someValue_4".
My customer wants that I added HTML5 Chart (StackedColumn) to report (I work with Pro-version).
And this chart must always have 24 samples (on X-Axis) , but it's problem, because there are some empty values, i.e. we have hour like this 1, 2, 3, 5, 8, 10
My questions are:
1) Which method should I use to add empty rows to table, i.e. if there is not hour number 3, I have to add row which hour = 3 and all values = 0;
2) Can I into scriptlet load ALL values ALL rows(fields) in local variable? And then change it?
Best regards, Andrew