c3js / c3js/c3

Tick labels can appear past the end of the axis when tick values are given explicitly

Open
#1,040 1 comment 0 reactions 0 assignees View on GitHub
C-bug
Dominant language
JavaScript
Stars
9.3k
Forks
1.4k
Avg merge
6d 16h
Merged PRs (30d)
1

Description

As can be seen in [this](http://jsfiddle.net/g055bk5d/) JSFiddle, if x-axis tick values are provided, and a y-axis label is positioned outside the graph area, a tick label can become positioned past the left end of the x-axis.

A similar thing can happen on the right side when the legend is positioned outside the graph area.

Looks like rendering of explicit tick values needs to take into account the actual graph area rather than the whole area of the containing element.

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.