Dos umbrales diferentes en HighCharts 3.0
Con HighCharts 3.0, ahora es posible indicar colores por encima y por debajo de un umbral. Como este ejemplo:
http://jsfiddle.net/highcharts/YWVHx/
Código siguiente:
$(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'
}]
});
});
});
¿Es posible tener otro umbral con un tercer color, como este por ejemplo:
Gracias de antemano por tu ayuda.