Is it possible to have a color fill between two points on an area chart when clicked? You can view the current chart here.
$(function () {
$('#container').highcharts({
chart: {
type: 'area'
},
xAxis: {
categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']
},
series: [{
data: [29.9, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4]
}]
});
// button handler
$('#button').click(function() {
var chart = $('#container').highcharts();
chart.series[0].data[3].update({
y:150,
marker:{
fillColor: 'red',
}
});
chart.series[0].data[4].update({
y:150,
marker:{
fillColor: 'red',
}
});
});
By clicking on the "May" point, I am aiming for a chart like the one seen here. Do you think this is achievable?