c3js / c3js/c3

Data labels not wrapping on css font adjustment

Open
#1,371 1 comment 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,
I found that data labels doesn't seem to be text wrap properly when font is resized using css styles.
Example(http://jsfiddle.net/jdwk5jaw/)

Is there a way to resize text of labels using api ?

Contributor guide

Open the contributing guide

Research direction

No source file or test is named in the issue; begin by reproducing the label-wrapping behavior from the linked jsfiddle with CSS font resizing. Trace the chart's data-label rendering entry point and define done as labels wrapping correctly after the font size changes, with the API question clarified by the resulting behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
css, javascript
Domain
data-visualization
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.