go-chart icon indicating copy to clipboard operation
go-chart copied to clipboard

Legend style improvements

Open d-Rickyy-b opened this issue 1 year ago • 0 comments

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: output_old

New: output_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.

d-Rickyy-b avatar Sep 13 '23 17:09 d-Rickyy-b