ํ์ฌ y์ถ ๋ ์ด๋ธ์ ๋ฐฉํฅ์ ๋ค์๊ณผ ๊ฐ์ต๋๋ค. http://imgur.com/a/fbJQb
๊ธฐ๋ฅ์ด ๊ธฐ๋ณธ์ ์ผ๋ก ์กด์ฌํ์ง ์๊ฑฐ๋ ๋ด Google Foo๊ฐ ์คํจํ์ง๋ง(์๋ง๋ ๊ทธ๋ด ๊ฒ์ ๋๋ค) "์น๊ตฌ"๋ฅผ 400๊ณผ ๊ฐ์ ๋ฐฉํฅ์ผ๋ก ๋ง๋ค ์ ์์ต๋๊น? ๋ง์ฐฌ๊ฐ์ง๋ก y์ถ ๋ ์ด๋ธ์ด ์๋์์ ์๋ก ์ฝ์ง ์๊ณ ์ผ์ชฝ์์ ์ค๋ฅธ์ชฝ์ผ๋ก ์ฝํ๊ธฐ๋ฅผ ์ํฉ๋๋ค.
@alexanderbanks , ์๋์ ๊ฐ์ด y์ถ ๋ ์ด๋ธ ์์์ ๋ณํ ์์ฑ์ ์ ๊ฑฐํ ์ ์์ต๋๋ค.
๋ผ๋ฒจ ์์ ์์น๋ฅผ ์ ์ดํ๋ ค๋ฉด ํ์ํ์ ์ ์ ํ ์์ฑ(x, y, dy, dx) ๊ฐ์ ์ค์ ํด์ผ ํฉ๋๋ค.
c3.generate({
data: { ... },
onrendered: function() {
// remove transform attribute
d3.select("."+ c3.chart.internal.fn.CLASS.axisYLabel)
.attr("transform",null);
}
});
๊ฒฐ์ ๋. ๋ ๋ฒ์งธ ๋ฌธ์ฅ์ ์์ธํ ์ดํด๋ดค์ด์ผ ํ์ต๋๋ค. ๊ฐ์ฌ ํด์.
$ axis.y.ticks.rotate
์ ๊ฐ์ axis.y.label.rotate
(๋ฐ axis.y2.label.rotate
) ์ต์
์ด ์์ผ๋ฉด ๊ต์ฅํ ๊ฒ์
๋๋ค!
y์ถ์ ๋ฐ๋ผ ๋๋ ์ฐจํธ๋ฅผ 180๋ ํ์ ํ ์ ์๋์?
๊ฐ์ฅ ์ ์ฉํ ๋๊ธ
$
axis.y.ticks.rotate
์ ๊ฐ์axis.y.label.rotate
(๋ฐaxis.y2.label.rotate
) ์ต์ ์ด ์์ผ๋ฉด ๊ต์ฅํ ๊ฒ์ ๋๋ค!