go-chart
go-chart copied to clipboard
Legend style improvements
This is a clone of #200 due to changes to the branch names!
This PR builds on top of #199 (new #214) and it improves some visual issues such as some poorly chosen paddings and it fixes the issue that for several legends users weren't able to provide custom paddings.
To get a feeling how I adjusted the default paddings between vertical legend elements:
Old:
New:
PS: This is a clone of https://github.com/wcharczuk/go-chart/pull/190 since my PR was stale and I wanted to create a clone of this project. Hence I merged other changes into my branch. To have a clean feature branch, I created a new one.