svelte-heatmap icon indicating copy to clipboard operation
svelte-heatmap copied to clipboard

Support legend

Open Folyd opened this issue 3 years ago • 1 comments

This PR simply adds Legend support.

Here is the screenshot:

image

Folyd avatar Jun 27 '21 03:06 Folyd

Very nice feature.

One issue I've found with the implementation is that the labels in the legend don't use the fontColor prop passed to SvelteHeatmap. This results in inconsistent colors of the labels.

Example below: image

All the labels are white, as this was passed to fontColor prop, but the legend labels are still the default black.

mrbrianevans avatar Feb 11 '22 18:02 mrbrianevans