Namespace createFillScale
Defined in: naview.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Generates a d3.scaleLinear color scale from user inputted color filling rules that use a
",by:property,domain,range" syntax.
|
Namespace Detail
createFillScale
Generates a d3.scaleLinear color scale from user inputted color filling rules that use a
",by:property,domain,range" syntax.
- Parameters:
- {String} fillproperty
- residue property name to map color scale to
- {Array} fillrange
- fill scale linear color range
- {Array} filldomain
- fill scale linear color domain. "min" and "max" strings are properly parsed
- See:
- createFillRules