ivylabs / suitecrm-analytics

4 stars 4 forks source link

Periodic Agent Country Sales Report - Formatting on Chart inconsistent with other Charts #291

Closed johnM2401 closed 3 years ago

johnM2401 commented 3 years ago

Describe the bug The formatting of the Chart on the Periodic Agent Country Sales Report is inconsistent with some of the other Charts in Analytics.

See screenshots for examples.

**Component What component does this bug relate to?

  1. Report - Periodic Agent Country Sales Report


**Solution File PeriodicAgentCountrySales.prpt


To Reproduce Steps to reproduce the behavior:

  1. Navigate to the Periodic Agent Country Sales Report, and view the Chart's Ordering and Formatting
  2. Navigate to the Average Call Duration report, and compare the Chart's Ordering/Date Formatting to the Periodic Agent Country Report's Chart
  3. Navigate to the Leads Performance Dashboard, and compare the "Leads by Source" chart's Ordering/Date Formatting to the Periodic Agent Country Report's Chart


Expected behavior Formatting/Ordering should stay consistent through the Reports/Charts for ease of use. (Personally, I feel that the "2021 - Jan" format would be best across any Charts that have Dates on the Axes, as it is clearest. What are your thoughts?)


Screenshots Periodic Agent Country Sales Chart: image

Average Call Duration Chart: image

Leads by Source Chart: image


Desktop (please complete the following information):

harrisward commented 3 years ago

@johnM2401 I've changed two reports to use the YYYY MMM format. I can't change the dashboards just now as its more connected to the date filters.

I've merged the change into master

johnM2401 commented 3 years ago

Hey @harrisward

Makes sense regarding the Dashboard.

Also, the formatting now appears to be "2021 Jan" on both Periodic Agent Country Sales and Average Call Duration reports.


Although, both Periodic Agent Country Sales and Average Call Duration charts now appear to be ordered from Dec->Jan image

I have discussed with Ross, and we agree that the ordering would be clearer and easier to read, if it were the reverse. (ie: Jan->Dec, 2020->2021)

(For both Periodic Agent Country Sales and Average Call Duration charts)


Also, it appears to be a fairly random order on the Average Call Duration Report: image

Not sure if this is related?

Would you be able to make this amendment?

harrisward commented 3 years ago

Fixed in the reports and merged into master @johnM2401