-
Notifications
You must be signed in to change notification settings - Fork 200
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
I'm using the color scale with explicit domain/range to associate status names with colours:
color: {
type: "categorical",
domain: ["success", "failed"],
range: ["green", "red"]
},
But status names I forgot to list come out invisible. A way of setting the unknown() value would be useful, it looks like it is hardcoded to undefined at
Line 206 in 068f8d8
| return ScaleO(scaleOrdinal().unknown(undefined), channels, {range, ...options}); |
Fil, mbostock and ananya-roy
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request