heavyai / heavyai-charting

Dimensional charting built to work natively with crossfilter rendered using d3.js
https://heavyai.github.io/heavyai-charting/
Other
399 stars 73 forks source link

[FE-16290] Contour multilayer support #627

Closed johallar closed 1 year ago

johallar commented 1 year ago

In order to have multiple contour charts in one layer, we need to name the scales on a per layer basis. This includes the layer name for each scale so that we can have multiple color, width scales in the same vega spec.

This also refactors a small bit of legend code to make sure the domain is an array, and make the check a little simpler