Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cto
g1
Commits
dbe45b3c
Commit
dbe45b3c
authored
Jul 24, 2019
by
Tejesh
🖖
Browse files
docs
parent
bda5d676
Pipeline
#92851
passed with stage
in 2 minutes and 26 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
docs/scales.md
View file @
dbe45b3c
...
...
@@ -72,7 +72,7 @@ To map qualitative data to *reverse* color scheme
```
js
var
categorical_to_colorscheme
=
g1
.
scale
(
data
,
{
domain
:
[],
// if left empty, first categorical value will be mapped to first color
o
f range
domain
:
[],
// if left empty, first categorical value will be mapped to first color f
rom
range
scale
:
'
Ordinal
'
,
range
:
{
scheme
:
'
schemePurples
'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment