svelte-heatmap
svelte-heatmap copied to clipboard
Support legend
This PR simply adds Legend support.
Here is the screenshot:
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:
All the labels are white, as this was passed to fontColor
prop, but the legend labels are still the default black.