ivylabs / suitecrm-analytics

4 stars 4 forks source link

Investigate Dynamic CCG Chart Definition script switching #245

Closed harrisward closed 3 years ago

harrisward commented 3 years ago

Is your feature request related to a problem? Please describe. If we load CGG charts using external JS files that override certain chart definition properties then it would make sense that we could load in complete chart definitions and not just a few properties. This would mean we could in theory create single CGG chart that acts as an entrypoint for all PRPT requests. The PRPT would then pass in the properties for the chart that it wants to render and this can be loaded into the template CGG endpoint.

We would store individual chart definition overrides in the repo and call them in via a parameter in the entrypoint CGG URL

This also means since we only have one CGG entrypoint for ALL prpt chart requests, we could scramble a single filename and not one per CGG chart per report

harrisward commented 3 years ago

The Agent Case Performance, Agent Lead Performance, Agent Opportunity Performance and Campaign Performance reports all include CGG chart. These charts have been completely reworked in the backend.

To confirm this ticket work all these report should render with the charts correctly