0

I'm using the Charts module in my project. I've configured Google Chart in my custom view which needs to be shown to anonymous users. The view is shown, but the chart is not rendered for anonymous users.

screenshot

It is shown for logged-in users.

screenshot

Acquia is used. For Graph chart, I've used the storage and feed module.

I changed the view permission to unrestricted and changed the module permission to "allowed for anonymous users" but the chart is still not rendered.

7
  • try to set view permission for Unrestricted. check if you need to set any permission on chart module or acquia, because de graph data could be accessible only for some roles
    – Pedro
    Sep 22 at 9:40
  • @Pedro I've checked with these two changes. 1. set the view permission for unrestricted 2. Set all the user roles including anonymous user for this chart module. But didn't work. Sep 22 at 9:42
  • have you get any error on developer console and also drupal log register? the graph is being loaded but not data? or neither graph is being loaded? access to that page on a incognito window, and then check drupal logs, and let us know what the error/warning is it
    – Pedro
    Sep 22 at 9:44
  • Browser console is clean and no error was found in watchdog. Sep 22 at 9:55
  • 1
    I’m voting to close this question because the OP reported this as a bug on the module. This can’t be both a bug and a question we can answer. drupal.org/project/charts/issues/3389081
    – cilefen
    Sep 22 at 11:08

1 Answer 1

0

As I've mention, I'm using the storage module for storage entities. So need to give the anonymous user permission to this module too.

Giving anonymous user permission solved the issue.

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.