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

x Axis 간격 조절 문제? #221

Open
daseulki opened this issue Sep 2, 2019 · 0 comments
Open

x Axis 간격 조절 문제? #221

daseulki opened this issue Sep 2, 2019 · 0 comments

Comments

@daseulki
Copy link

daseulki commented Sep 2, 2019

안녕하세요. jui column chart를 사용하고있습니다.
한가지 질문이 있어 이슈 남깁니다.
x축의 특정 텍스트가 튀어나가는 경우(너무 긴 경우)에 줄을 바꾸고 싶습니다.
임의로 뉴라인을 주어봤는데 제대로 작동하지 않더라구요 ㅠㅠ

            x: {
                type: "block",
                domain: "type",
                line: false,
                format : function(d) {
                    if(d=="가나다라마바사"){
                        return "가나다라\n마바사"
                    } else {
                        return d
                    }
                  
                },
                
            },

image

다음 줄로 내려가는게 아니라 미묘하게 줄 차이가 나는데..
혹시 해결 방법이 있을까요?

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

1 participant