Add text wrapping for flot canvas
Update legend format