anychart.onDocumentReady(function () {
var chart = anychart.area();
var series = chart.splineArea([
{x: "January", value: 5},
{x: "February", value: 6},
series.selectStroke(function () {
return "4 " + anychart.color.lighten(this.sourceColor);
chart.title("Set select stroke parameter as a function");
chart.container("container");