0
내가 차트 application.i을 높이 만들려고 몇 가지 코드를 작성하고 난이이 파트 내 코드Hightchart 변화 디자인과 기능
입니다http://jsfiddle.net/gkatsarava/Zp3au/1/
내 소스 코드 hightchart like this
을 recived
$(function() {
Highcharts.setOptions({
colors: ['#05D3F8', '#D1E751', '#25E4BC', '#F3D915', '#FF7E00', '#FF0C96', '#F100F3']});
$('#container').highcharts({
chart: {
backgroundColor: 'transparent'
},
title: {
text: ''
},
exporting: {
enabled: false
},
xAxis: {
categories: ['XXXX', 'XXXX', 'XXXX'],
labels: {
style: {
fontSize:'10px'
}
}
},
yAxis: {
title: {text: 'TEXT - TEXT'},
plotLines:[{
value : 80,
color: 'red',
dashStyle: 'shortdash',
width: 2,
}],
},
tooltip: {
headerFormat: '<span style="font-size:13px;color:{series.color}">{series.name}</span><br>',
pointFormat: "valuess: {point.y:.2f}%"
},
legend: {
enabled: false,
},
labels: {
},
plotOptions: {
column: {
dataLabels: {
enabled: true,
useHTML: true,
formatter: function() {
}
}
},
series: {
}
},
series: [{
type: 'column',
name: 'XXXX',
data: [10],
id:'1'
}, {
type: 'column',
name: 'XXXX',
data: [40],
id:'2'
}, {
type: 'column',
name: 'XXXX',
data: [80],
id:'3'
}]
}, function (chart) {
// bind events to your own custom legend
$('#my-legend').on('click', 'div', function (e) {
var el = e.target,
id = el.getAttribute('data-id'),
series = chart.get(id);
series.setVisible(!series.visible);
});
});
});
나는 세 개의 차트를 가지고 있으며이 모든 차트를 하나의 단위로 통합하고자합니다. 아무도 경험 hightchart 제발 도와주세요.이 문제를 어떻게 해결했는지 모르겠다. 감사합니다.
meybe 나를 이해하지 못했습니다. 이 결과 (http://postimg.org/image/f6s29dx2x/) – user3345767
처럼 들려주고 싶다. 문제가 빨간색 점선 인 경우 먼저 명시 적으로 말해야한다. – nunivek