JavaScript
// 기본(왼쪽) Y축 설정
chart.axisY.title = '매출액 (백만원)';
chart.axisY.format = 'n0';
chart.axisY.min = 0;
// 시리즈 색상 지정
chart.series[0].style = { fill: '#4e79a7' };
chart.series[1].style = { stroke: '#e15759', strokeWidth: 3 };
chart.series[1].symbolStyle = { fill: '#e15759', stroke: '#e15759' };
// 축 라벨 색을 시리즈 색과 맞춤
chart.axisY.itemFormatter = function (engine, label) {
engine.textFill = '#4e79a7';
label.cls = null;
return label;
};
axisY2.itemFormatter = function (engine, label) {
engine.textFill = '#e15759';
label.cls = null;
return label;
};