Added function to skip legend if lineLegend not traditional for line chart