You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Pierre, I have a Donut Chart that is using dataLabelsPosition: 'outside' with showPercentage: true inside a responsive Bootstrap div. On small screens the width of the percentage is not taken into account.
The result is that the percentage are only partly visible. See attached screenshot.
The text was updated successfully, but these errors were encountered:
This problem is a bit difficult. It seems that there are some padding/margin in your container, maybe you can set them to 0 so that the element of the chart could be expanded a bit.
Hi Pierre, it seems to be related to padding. My Morris chart div is contained within a Bootstrap panel-body that has a padding of 15px. Do you have any suggestions on how to apply spacing without breaking the percentage labels?
I just published a commit to add a new option padding. Its default value is 0, you can try to set something like 3 or 5, this will slightly reduce the size of the donut generated so that hopefully the labels could be displayed completely.
Hi Pierre, I have a Donut Chart that is using dataLabelsPosition: 'outside' with showPercentage: true inside a responsive Bootstrap div. On small screens the width of the percentage is not taken into account.
The result is that the percentage are only partly visible. See attached screenshot.
The text was updated successfully, but these errors were encountered: