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

Outlabels rendered outside of canvas #11

Open
consciousnessdev opened this issue May 27, 2019 · 4 comments
Open

Outlabels rendered outside of canvas #11

consciousnessdev opened this issue May 27, 2019 · 4 comments

Comments

@consciousnessdev
Copy link

consciousnessdev commented May 27, 2019

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

a target rendered like this
target

but its rendered like this
rendered

@consciousnessdev consciousnessdev changed the title Outlabells rendered outside of canvas Outlabels rendered outside of canvas May 27, 2019
@matthewkris
Copy link

I'm having this exact issue.

@SUVOLewis
Copy link

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?

@deepak-ksolves
Copy link

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.

@dvyue
Copy link

dvyue commented Feb 25, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants