PetrDlouhy / django-admin-charts

Create beautiful configurable charts from your models and display them on the django-admin index page or on django-admin-tools dashboard. The charts are based on models and criterias defined through admin interface and some chart parameters are configurable in live view.
http://django-admin-charts.readthedocs.org/
Other
133 stars 17 forks source link

No graph on home page admin only chart header #78

Open mykhailo-work opened 1 month ago

mykhailo-work commented 1 month ago
Screenshot 2024-09-27 at 17 25 53
PetrDlouhy commented 1 month ago

What I see on the bottom of the screenshot seems like the Chart headers. Below it should be the chart itself.

mykhailo-work commented 1 month ago

I didn't get any graph below only Chart header on the home page. You can look on the HTML.

django = "^5.0.3"

PetrDlouhy commented 1 month ago

Well, you would need to do some more digging. With this information I can't tell anything.

mykhailo-work commented 1 month ago
PetrDlouhy commented 1 month ago

Could you please send a screenshot of Console tab of the Dev tools after the problematic page load? The Network tab would be helpful to to see if there is no failed request.

ryan-sangwoo-lee commented 1 month ago

Hello. I am experiencing the same issue. The peculiar thing is that the content is inside the footer.

I am attaching a screenshot of the console, network as you requested and a screenshot where you can see it is inside the footer.

Thank you.

Django 5.1.1 django-admin-charts 1.4.0 django-bower 5.2.0 django_csp 3.8 django-debug-toolbar 4.4.6 django-ipware 7.0.1 django-jsonfield 1.4.1 django-light 0.1.0.post3 django-memoize 2.3.1 django-multiselectfield 0.1.13 django-nvd3 0.10.1

스크린샷 2024-10-02 194622 스크린샷 2024-10-02 194639 스크린샷 2024-10-02 194648

PetrDlouhy commented 1 month ago

@ryan-sangwoo-lee Thanks you very much. Now I see what might be the problem. In the new version, I introduced dynamic loading of the charts in the admin to speed up admin load in case of bigger data amount. I am using django-admintools so I there might be some differences in the basic django admin.

I will try to find time to look at this in few days. In the meantime, you can try some older version - it will probably work.