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

pie chart display issue #2965

Open
ChanKaHou opened this issue Mar 4, 2025 · 3 comments
Open

pie chart display issue #2965

ChanKaHou opened this issue Mar 4, 2025 · 3 comments
Assignees

Comments

@ChanKaHou
Copy link

Dear ORCHID:

I am using the ORCHID to display some charts for a presentation.
However, the legend cannot be shown when there are more than 6 items to be presented in my case.

Image

Please help !! :'(

@tabuna
Copy link
Member

tabuna commented Mar 14, 2025

Increase the chart canvas size by setting its height. You can read more about it here 👉 link.

@tabuna tabuna added Pending Awaiting author response and removed Errors labels Mar 14, 2025
@ChanKaHou
Copy link
Author

Dear,

Thanks for your suggest,

I have adjusted its height but the results are still not addressed. 😢.
Image

@tabuna
Copy link
Member

tabuna commented Mar 14, 2025

It looks like this issue is related to a problem in one of the dependency packages we're using. Here are the links to the related discussions:

As a workaround, you can limit the number of displayed slices from 7 to 6 by default by adding the following code:

/**
 * Limiting the number of slices.
 */
protected $maxSlices = 6;

@tabuna tabuna removed the Pending Awaiting author response label Mar 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants