Legends got cut in pie chart

The legends got cut in pie charts.

Does anyone know how to avoid this behavior??

Does anyone know this?

Hii @Kiranmai

i am suggesting to use Frappe Insights for Visualization

Thank you for your reply @nilpatel42 .

To setup the repository locally follow the steps mentioned below:

  1. Install bench and setup a frappe-bench directory by following the Installation Steps
  2. Start the server by running bench start
  3. In a separate terminal window, create a new site by running bench new-site insights.test
  4. Map your site to localhost with the command bench --site insights.test add-to-hosts
  5. Get the Insights app. Run bench get-app https://github.com/frappe/insights
  6. Run bench --site insights.test install-app insights.
  7. Now open the URL http://insights.test:8000/insights in your browser, you should see the app running

By following above i have to use the site insights.test

But i want all those in my site iam currently using.

Can you please help me to do this?

Don’t forgot to replace test with Your Site Name

  1. Go to frappe-bench directory

  2. Run bench get-app https://github.com/frappe/insights --branch main

  3. then run bench --site test install-app insights

  4. Run bench migrate

  5. Now Open the URL http://test:8000/insights

Follow this step

Hope this helps

No @nilpatel42

Iam getting error as "ModuleNotFoundError: No module named ‘insights’ " when i opened the site.

Run this commands

bench --site test install-app insights --force

and

bench migrate

then try

still no use @nilpatel42

can you share output of last two commands ?

Ok @nilpatel42
kiranmai@kiranmai-Lenovo-V15-G3-IAP:~/Documents/Hilltop/frappe-bench$ bench --site hilltop install-app insights --force

Installing insights…
Updating DocTypes for insights : [========================================] 100%
Updating Dashboard for insights

kiranmai@kiranmai-Lenovo-V15-G3-IAP:~/Documents/Hilltop/frappe-bench$ bench --site hilltop migrate

Migrating hilltop
Updating DocTypes for frappe : [========================================] 100%
Updating DocTypes for erpnext : [========================================] 100%
Updating DocTypes for payments : [========================================] 100%
Updating DocTypes for pdf_on_submit : [========================================] 100%
Updating DocTypes for hrms : [========================================] 100%
Updating DocTypes for india_compliance: [========================================] 100%
Updating DocTypes for frappe_whatsapp: [========================================] 100%
Updating DocTypes for lenovo : [========================================] 100%
Updating DocTypes for easygateentry : [========================================] 100%
Updating DocTypes for m11 : [========================================] 100%
Updating DocTypes for hilltop : [========================================] 100%
Updating DocTypes for insights : [========================================] 100%
Updating Dashboard for frappe
Updating Dashboard for erpnext
Updating Dashboard for payments
Updating Dashboard for pdf_on_submit
Updating Dashboard for hrms
Updating Dashboard for india_compliance
Updating Dashboard for frappe_whatsapp
Updating Dashboard for lenovo
Updating Dashboard for easygateentry
Updating Dashboard for erpnext_gate_pass
Updating Dashboard for m11
Updating Dashboard for hilltop
Updating Dashboard for insights
Updating customizations for Address
Updating customizations for Contact
Updating customizations for Test
Updating customizations for Company
Updating customizations for Packed Item
Updating customizations for Purchase Order
Updating customizations for Sales Invoice
Updating customizations for Purchase Order Item
Updating customizations for Sales Invoice Item
Updating customizations for Sales Order
Updating customizations for Supplier Quotation Item
Updating customizations for Delivery Note Item
Updating customizations for Packed Item
Updating customizations for Supplier Quotation
Updating customizations for Delivery Note
Updating customizations for UOM Conversion Detail
Updating customizations for Stock Entry Detail
Updating customizations for Purchase Receipt
Updating customizations for Sales Order Item
Updating customizations for Company
Updating customizations for Purchase Order
Updating customizations for Purchase Receipt Item
Updating customizations for Item
Updating customizations for Item Barcode
Updating customizations for Purchase Order Item
Updating customizations for Sales Invoice Item
Queued rebuilding of search index for hilltop

installation is correct,

first stop the bench

Run bench clear-cache

and then

Start bench bench start

also please share ss of your browser how you are accessing the insights

Yes, i got that module @nilpatel42

Hi @nilpatel42

Do you know how to add roles and permissions in insights??

i use once, i don’t know about permissions

Okay @nilpatel42 . Thanks for your help so far