apply outputConfig in addOutput call of legend plugin
Merge pull request #227 from bartvde/legend

apply outputConfig in addOutput call of legend plugin