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

Auto fills continuous scale domains to align with number of ranges. #601

Closed christopher-w-root closed 1 year ago

christopher-w-root commented 2 years ago

The list of ranges for continuous scales (max of 25 ranges) will now be used to auto-fill in domains. Before it would only use the first two range values in the list and ignore the rest. Now, all ranges will have an associated domain value, therefore all range values will be represented in the scale. This is achieved by filling in a new vega formula expression for each "stop"/"subdivision" in the range list.

Opportunistically fixed some other minor issues as well.

Merge Checklist

:wrench: Issue(s) fixed:

:smoking: Smoke Test

:ship: Merge