Support Article
Chart settings does not reflect correct data
SA-16345
Summary
User has configured charts in report definition. On the horizontal axis, "Start From" date is applied, including the "Next 23 hours" of data. With this implementation, the chart displays correct data for that particular day, however, after a day passes, the chart's settings do not roll over. User's business requirement is that the Start From date should roll over once that particular time period (here, day) is completed.
Error Messages
Not Applicable
Steps to Reproduce
1. Create a chart with data.
2. Navigate to the Chart tab.
3. Open the gear icon for group by column.
4. Click Today link in the calendar widget and configure time as 12:30 AM. This will set the Start from Date. Include Next 23 hours.
Notice that the data corresponding to the supplied date/time would only be observed on the chart. In case the user runs the same report the following date, the date for that date does not appear, and it would still show the previous data (the chart/report definition does not roll over the date).
Root Cause
The root cause of the behavior is a defect in OOTB datetimecalendar javascript rule, where inside pega.ui.Calendar.prototype function, todayCellIndex : "" is not defined. Due to this discrepancy, the Today link in calendar popup does not work in Report definition.
Resolution
Apply HFix-23838.
Published January 31, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.