Fixes to parameter types

Error while creating a line chart with below example:
yAxis:[ {
plotLines: [{ color: '#808080', value: 0, width: 1 }],
title: { text: 'xxxx' } }],