当我点击堆叠的highcharts列时,我试图触发一个bootstrap模式.正如我试图弄清楚当我点击高图中的不同列时,模态值必须根据1s中的值进行更改
$(function () {
$('#container').highcharts({
chart: {
type: 'area',
options2d: {
enabled: true,
alpha: 45,
beta: 0
}
},
title: {
text: 'Exams Report'
},
xAxis: {
title: {
text: 'Classes'
},
categories: ['1st class', '2nd class', '3rd class', '4th class', '5th class','6th class', '7th class', '8th class', '9th class', '10th class']
},
yAxis: {
min: 0,
title: {
text: 'Exams Report'
},
stackLabels: {
enabled: false,
style: {
fontWeight: 'bold',
color: (Highcharts.theme && Highcharts.theme.textColor) || 'gray'
}
}
}, …Run Code Online (Sandbox Code Playgroud)