0
Highcharts에서 산점도를 사용하는 경우 드롭 라인을 얻는 방법이 있습니까?하이 차트가있는 라인 놓기
Highcharts에서 산점도를 사용하는 경우 드롭 라인을 얻는 방법이 있습니까?하이 차트가있는 라인 놓기
당신은이 작업을 수행 할 수있는 조합 열 줄 차트 : 드롭 라인은 다음과 같이 다시 포인트 x 축에서 이동 라인입니다.
여기에 직접보기 : http://jsfiddle.net/8qvy79gv/$(function() {
$('#container').highcharts({
title: {
text: 'Combination chart'
},
xAxis: {
categories: ['Apples', 'Oranges', 'Pears', 'Bananas', 'Plums']
},
labels: {
items: [{
html: 'Total fruit consumption',
style: {
left: '50px',
top: '18px',
color: (Highcharts.theme && Highcharts.theme.textColor) || 'black'
}
}]
},
series: [{
type: 'column',
name: 'Jane',
pointWidth: 2,
data: [3, 2.67, 3, 6.33, 3.33]
}, {
type: 'spline',
name: 'Average',
data: [3, 2.67, 3, 6.33, 3.33],
marker: {
lineWidth: 2,
lineColor: Highcharts.getOptions().colors[3],
fillColor: 'white'
}
}]
});
});