Set series color and negative color
Description
The following code shows how to set series color and negative color.
Example
<!DOCTYPE html>
<html>
<head>
<script type='text/javascript'
src='https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js'></script>
<script type='text/javascript'>
$(function () {<!-- ww w . ja v a2 s .c o m-->
$('#container').highcharts({
series: [{
data: [-1, 13, 2, 4, -15, 4, -6, 12, 3, -15, 6],
color: '#FF0000',
negativeColor: '#0088FF'
}]
});
});
</script>
</head>
<body>
<script src="http://code.highcharts.com/highcharts.js"></script>
<div id="container" style="height: 400px"></div>
</body>
</html>