728x90
반응형
series: [
{
name: '건수',
type: 'line',
tooltip: {
valueFormatter: function (value) {
return value;
}
},
yAxisIndex: 1,
data: cnts,
lineStyle: {
color: 'blue' // Set the desired color for the line
}
}
]
lineStyle: {
color: 'blue' // Set the desired color for the line
}
color 값에 컬러코드값을 넣어도 된다.
728x90
반응형
'Front > JS & jQuery' 카테고리의 다른 글
[jquery][datatavles] $.fn.dataTable.render.number() (0) | 2024.04.01 |
---|---|
[js][Echarts] x축 데이터가 생략될 때 / x축 데이터 대각선으로 표시 (1) | 2024.03.29 |
[js][Echarts] bar 차트 너비 설정하기 (0) | 2024.03.27 |
[js][Echarts] 차트 x축 폰트 사이즈 조절하기 (0) | 2024.03.26 |
[jQuery] toggleClass() (0) | 2024.03.23 |