Commit dbe45b3c authored by Tejesh's avatar Tejesh 🖖
Browse files

docs

parent bda5d676
Pipeline #92851 passed with stage
in 2 minutes and 26 seconds
...@@ -72,7 +72,7 @@ To map qualitative data to *reverse* color scheme ...@@ -72,7 +72,7 @@ To map qualitative data to *reverse* color scheme
```js ```js
var categorical_to_colorscheme = g1.scale(data, { var categorical_to_colorscheme = g1.scale(data, {
domain: [], // if left empty, first categorical value will be mapped to first color of range domain: [], // if left empty, first categorical value will be mapped to first color from range
scale: 'Ordinal', scale: 'Ordinal',
range: { range: {
scheme: 'schemePurples', scheme: 'schemePurples',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment