Skip to content

Conversation

Folyd
Copy link

@Folyd Folyd commented Jun 27, 2021

This PR simply adds Legend support.

Here is the screenshot:

image

@mrbrianevans
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants