Skip to content

Commit

Permalink
docs: typo error (#8391)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielmalaton committed Sep 26, 2022
1 parent 202b724 commit 28257f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/docs/encoding/condition.md
Expand Up @@ -81,7 +81,7 @@ In addition, there are two ways to encode the data that satisfy the specified co
}
```

A conditional field definition uses a data-driven encoding rule when marks satisfy a [parameter](parameter.html) (e.g. fall withing a [selection parameter](parameter.html#select)) or satisfy a logical predicate. A value definition can be specified as the "else" case when the condition is not satisfied otherwise.
A conditional field definition uses a data-driven encoding rule when marks satisfy a [parameter](parameter.html) (e.g. fall within a [selection parameter](parameter.html#select)) or satisfy a logical predicate. A value definition can be specified as the "else" case when the condition is not satisfied otherwise.

A condition field definition must contain either [a `param` name or a `test` predicate](#condition) in addition to the encoded `field` name and its data `type` like a typical [field definition](encoding.html#field-def). In addition, a condition field definition may contain other encoding properties including transformation functions ([`aggregate`](aggregate.html), [`bin`](bin.html), [`timeUnit`](timeunit.html)) as well as [`scale`](scale.html) and [`legend`](legend.html) (for [mark property channels]({encoding.html#mark-prop})) or [`format`](format.html) (for [text and tooltip channels](encoding.html#text)).

Expand Down

0 comments on commit 28257f3

Please sign in to comment.