platform icon indicating copy to clipboard operation
platform copied to clipboard

pie chart display issue

Open chankahou0968 opened this issue 9 months ago • 3 comments

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 !! :'(

chankahou0968 avatar Mar 04 '25 10:03 chankahou0968

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

tabuna avatar Mar 14 '25 01:03 tabuna

Dear,

Thanks for your suggest,

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

chankahou0968 avatar Mar 14 '25 01:03 chankahou0968

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 avatar Mar 14 '25 10:03 tabuna