Skip to content

Commit

Permalink
doc: mark sequential scales as deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
ChiaLingWeng committed Dec 21, 2023
1 parent 12788a5 commit ab0dca2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions site/docs/encoding/scale.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,8 @@ Continuous scales map a continuous domain (numbers or dates) to a continuous out

By default, Vega-Lite uses `"linear"` scales for quantitative fields and uses `"time"` scales for temporal fields for all [encoding channels](encoding.html#channel).

Note that for Vega-Lite ≥ 5.0, Sequential scales ([`"sequential"`](https://vega.github.io/vega/docs/scales/#sequential)) are deprecated: specifications should now use a linear (or log, etc.) scale with a color-valued range, rather than a sequential scale.

In addition to [`type`](#type), [`domain`](#domain), and [`range`](#range), continuous scales support the following properties:

{% include table.html props="clamp,interpolate,nice,padding,zero" source="Scale" %}
Expand Down

0 comments on commit ab0dca2

Please sign in to comment.