Increase margin when there is a source
Added inline legend support for line charts