From 511fa8550ac32abe1cca0fb144a24d6852d5fc29 Mon Sep 17 00:00:00 2001 From: Muneeb786-hub Date: Tue, 24 Nov 2026 18:58:48 +0500 Subject: [PATCH] docs: clarify facet and facetAnchor roles --- docs/features/facets.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/features/facets.md b/docs/features/facets.md index 2a7ec21a00..e2b4416906 100644 --- a/docs/features/facets.md +++ b/docs/features/facets.md @@ -244,6 +244,8 @@ Faceting can be explicitly enabled or disabled on a mark with the **facet** opti * *super* - draw this mark in a single frame that covers all facets * null (or false) - repeat this mark’s data across all facets (*i.e.*, no faceting) +The **facet** option controls how a mark’s data is filtered for each facet. To control which facets display an axis or another mark, use the **facetAnchor** option instead. + When mark-level faceting is used, the default *auto* setting is equivalent to *include*: the mark will be faceted if either the **fx** or **fy** channel option (or both) is specified. The null or false option will disable faceting, while *exclude* draws the subset of the mark’s data *not* in the current facet. When a mark uses *super* faceting, it is not allowed to use position scales (*x*, *y*, *fx*, or *fy*); *super* faceting is intended for decorations, such as labels and legends. The **facetAnchor** option controls the placement of the mark with respect to the facets. Based on the value, the mark will be displayed on: