Skip to content

Commit

Permalink
Add notes about continuous scales
Browse files Browse the repository at this point in the history
  • Loading branch information
slowe committed Apr 17, 2024
1 parent b803482 commit f597453
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions example-site/documentation/chart-furniture/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ title: Chart furniture
<li><code>label</code> - (string) The displayed value of the legend item.</li>
</ul>
</li>
<li><code>continuous</code> - (boolean) To show a continuous colour scale (default false).</li>
<li><code>direction</code> - (horizontal/vertical) The orientation of the scale. If position is left/right this will default to <code>vertical</code> otherwise <code>horizontal</code>.</li>
<li><code>size</code> - (string) The width or height of the scale depending on <code>direction</code> (default is <code>200px</code>).</li>
<li><code>steps</code> - (number) The number of colour steps to use when making a continuous colour scale.</li>
</ul>
</li>
</ul>

0 comments on commit f597453

Please sign in to comment.