anychart.onDocumentReady(function () {
var chart = anychart.line();
var series1 = chart.line([
{x: 'Cycling', value: 10},
{x: 'Swimming', value: 32},
var series2 = chart.line([
{x: 'Cycling', value: 15},
{x: 'Swimming', value: 9},
var item = series1.legendItem();
item.iconFill('#F44336');
chart.title('Set icon fill parameter as a string');
chart.container('container');