Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In ra.chartsjs.js: calculateTotalOnObjectArray is undefined #11

Closed
squio opened this issue Nov 25, 2020 · 2 comments
Closed

In ra.chartsjs.js: calculateTotalOnObjectArray is undefined #11

squio opened this issue Nov 25, 2020 · 2 comments

Comments

@squio
Copy link
Contributor

squio commented Nov 25, 2020

Version: 0.4.0 release

Line 85:

  let results = calculateTotalOnObjectArray(response.data, seriesColNames);

Console.log output:

Uncaught ReferenceError: calculateTotalOnObjectArray is not defined
    extractDataFromResponse http://localhost/static/slick_reporting/ra.chartsjs.js:85
    createChartObject http://localhost/static/slick_reporting/ra.chartsjs.js:19
    DisplayChart http://localhost/dashboard/sessions/:241
    <anonymous> http://localhost/dashboard/sessions/:232
    jQuery 7
    <anonymous> http://localhost/dashboard/sessions:235

The result is that there is no graph rendered at all.

@squio squio changed the title Inm ra.chartsjs.js: calculateTotalOnObjectArray is undefined In ra.chartsjs.js: calculateTotalOnObjectArray is undefined Nov 25, 2020
RamezIssac added a commit that referenced this issue Nov 25, 2020
Remove default order by while generating the report #10
@RamezIssac
Copy link
Owner

Hello @squio
Thank you for your report !

Both this issue and #10 have been addressed in the branch develop in case you wanty to give it a test out and provide any feedback which is very appreciated.

Release will be sometime tomorrow morning nothing new comes up

@squio
Copy link
Contributor Author

squio commented Nov 26, 2020

Many thanks for the fixes (this and #10), they work great in the new release 0.4.1.
And the time picker is working - I was gonna report that next but you were ahead of me ;-)

@squio squio closed this as completed Nov 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants