<div id="container"></div>
html, body, #container {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
anychart.onDocumentReady(function () {
var chart = anychart.cartesian();
var series = chart.rangeArea([
[0, 2, 3],
[1, 3, 6],
[2, 2, 4]
]);
series.hoverLowStroke(function () {
return "3 " + anychart.color.darken(this.sourceColor);
}); // sets stroke on hover
chart.container("container");
chart.draw();
});