하이 차트에 문제가 생겼습니다. 전체 그래프를 따라 공간을 채우고 싶지만, 데이터와 내 div의 꼭대기 사이에는 항상 간격이 있습니다.Highcharts : 열 그래프에서 위쪽 간격을 사용하지 않습니다.
여기 경우 내 바이올린 : 여기 http://jsfiddle.net/w2bz5/35/
내 자바 스크립트 코드 :
사전에jQuery(function() {
jQuery('#container').highcharts({
chart: {
type: 'column',
backgroundColor: '#3d3d3d',
margin: [0, 0, 0, 0],
width: 100,
height: 100,
},
title: {
text: null,
margin: 0,
floating: true,
verticalAlign: 'bottom',
x: 0,
y: 0
},
plotOptions: {
column: {
stacking: 'normal',
dataLabels: {
enabled: false
}
}
},
yAxis: {
title: {
text: null,
margin: 0
},
labels: {
enabled: false
},
gridLineWidth: 0,
lineWidth: 0,
minorGridLineWidth: 0,
lineColor: 'transparent',
minorTickLength: 0,
tickLength: 0
},
tooltip: {
enabled: false
},
xAxis: {
title: {
text: null
},
labels: {
enabled: false
},
gridLineWidth: 0,
lineWidth: 0,
minorGridLineWidth: 0,
lineColor: 'transparent',
minorTickLength: 0,
tickLength: 0
},
legend: {
enabled: false
},
credits: {
enabled: false
},
series: [{
data: [1298],
color: '#00FF00',
borderColor: null
}, {
data:[4302],
color: '#FF0000',
borderColor: null
}]
});
});
감사합니다!
Snite 설정할 수 있습니다