Use the maxLines property for the legend. i.e:.
options.legend = {position: 'top', maxLines: 5};
Please note that this undocumented property only works if the legend is located at the top and there is enough vertical space to display the graph and multi-line legend.
Akin williams
source share