c3js / c3js/c3

axis.x.tick.multiline cutting too much of label

Open
#2,727 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
9.3k
Forks
1.4k
Avg merge
6d 16h
Merged PRs (30d)
1

Description

Hi!

My labels were cut off before I found the new version with multiline possibility.
For space reasons I can only show one line, so I simply added
`multiline: true,`
`multilineMax: 1`
to the axis.x.tick.
Now, either the whole label is shown or nothing. Couldn't it just calculate what's possible to show and then add the dots "..."?

Thanks for your help

C3 version: 0.7.4

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.