title (xAxis properties)
x축 제목 속성을 설정합니다.
Info
name |
type |
required(default) |
description |
title |
object |
선택 |
x축 제목 속성 (JSON 형식) |
title.text |
string |
선택 |
x축 제목 문자열 |
title.align |
string |
선택(center) |
x축 제목 좌우 정렬값 |
title.x |
number |
선택(0) |
x축 제목 좌우 포지션 이동 값 |
title.y |
number |
선택 |
x축 제목 상하 포지션 이동 값 |
title.style |
object |
선택 |
x축 제목 스타일 설정 |
title.style.color |
color |
선택 |
x축 제목 폰트 색상 |
title.style.fontSize |
string |
선택 |
x축 제목 폰트 크기 |
title.style.fontWeight |
string |
선택 |
x축 제목 폰트 두께 |
title.rotation |
number |
선택(0) |
x축 제목 회전 |
title.enabled |
boolean |
선택(true) |
x축 제목 사용 여부 |
Enum
value |
description |
center |
중앙 정렬 |
left |
좌측 정렬 |
right |
우측 정렬 |
Example
myChart.setOptions({
chart:{
type: "column"
},
xAxis: {
title: {
text: "X축 타이틀"
}
},
series: [{
name: "서울",
data : [60,40,20,80]
},{
name: "인천",
data : [30,50,90,70]
},{
name: "부산",
data : [40,70,30,60]
}]
}, {
append: true,
redraw: true
});

제공 버전