chartjs-plugin-piechart-outlabels icon indicating copy to clipboard operation
chartjs-plugin-piechart-outlabels copied to clipboard

Outlabels rendered outside of canvas

Open consciousnessdev opened this issue 5 years ago • 4 comments

i'd set options to: responsive: true, maintainAspectRatio: false

a target rendered like this target

but its rendered like this rendered

consciousnessdev avatar May 27 '19 11:05 consciousnessdev

I'm having this exact issue.

matthewkris avatar Jun 04 '19 13:06 matthewkris

Has anyone got a fix for this yet? Personally, I'm using "zoomOutPercentage" to get by at the moment, but this falls apart very quickly when I dynamically generate charts with lots of sections, which cause the labels to be pushed out very far.

Is there any way at all to make this dynamic?

SUVOLewis avatar Jul 03 '19 15:07 SUVOLewis

I am having exact this problem. What i did is used custom scrollbar option and keep changing padding value based on this of chart therefore keep reducing the size of chart in canvas till all the outlabels get inside the box.

layout: {
   padding: 20
}

But there is still need some update such that it can dynamic reduce the size of chart in canvas till all outlabels get inside canvas.

deepak-ksolves avatar Aug 29 '19 08:08 deepak-ksolves

So sad no one's maintaining this anymore! :(

dvyue avatar Feb 25 '20 10:02 dvyue