C3: rotated ticks don't adjust height automatically on rotating to left side

Created on 21 Dec 2015  路  6Comments  路  Source: c3js/c3

http://c3js.org/samples/axes_x_tick_rotate.html

This can be tested in the above example, remove height attribute then changing the rotation to -ve value hide the ticks

C-bug

Most helpful comment

Opened a PR with a fix: https://github.com/c3js/c3/pull/1766

All 6 comments

Having same issue if rotation is a negative value.

It seems a Math.abs(...) in getHorizontalAxisHeight for config.axis_x_tick_rotate fixes this issue.

Opened a PR with a fix: https://github.com/c3js/c3/pull/1766

Why is this still not merged?

some month later i'm still experiencing that error using current release...

RT if still not fixed in 2018

Sorry for the long delay.

1766 is merged and released as v0.5.1.

You need to update D3.js as well as c3 to update it to v0.5.x.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Saikat-Sinha picture Saikat-Sinha  路  3Comments

DieterSpringer picture DieterSpringer  路  4Comments

Zerim picture Zerim  路  3Comments

aishwaryak picture aishwaryak  路  4Comments

wojciechowskid picture wojciechowskid  路  3Comments