Dois limites diferentes no HighCharts 3.0
Com HighCharts 3.0, agora é possível indicar para cores acima e abaixo de um limite. Como este exemplo:
http://jsfiddle.net/highcharts/YWVHx/
Código seguinte:
$(function () {
$.getJSON('http://www.highcharts.com/samples/data/jsonp.php?filename=range.json&callback=?', function(data) {
$('#container').highcharts({
chart: {
type: 'arearange'
},
title: {
text: 'Temperature variation by day'
},
xAxis: {
type: 'datetime'
},
yAxis: {
title: {
text: null
}
},
tooltip: {
crosshairs: true,
shared: true,
valueSuffix: '°C'
},
legend: {
enabled: false
},
series: [{
name: 'Temperatures',
data: data,
color: '#FF0000',
negativeColor: '#0088FF'
}]
});
});
});
É possível ter outro limite com uma terceira cor, como por exemplo:
Agradeço antecipadamente por sua ajuda.