@@ -45,6 +45,7 @@ following bins for dates:
4545
4646 * Year
4747 * Month
48+ * Week of Year
4849 * Date of the Month
4950 * Day of the Week
5051 * Hour
@@ -155,3 +156,50 @@ to the visualization, rather than being grouped into bins.
155156 .. figure:: /images/charts/charts-numeric-binning.png
156157 :figwidth: 680px
157158 :alt: Charts numeric binning example
159+
160+ Empty Bins
161+ ----------
162+
163+ When binning is enabled, |charts-short| displays entries for
164+ empty bins within the minimum and maximum data range a chart displays.
165+
166+ .. admonition: Exception
167+ :class: note
168+
169+ |charts-short| doesn't display empty bins if including them results
170+ in more than 5000 unique bins on a chart.
171+
172+ The value |charts-short| uses for empty bins depends on the
173+ aggregation function you choose:
174+
175+ .. list-table::
176+ :header-rows: 1
177+ :widths: 2 1
178+
179+ * - Aggregation Function
180+ - Inferred Value
181+
182+ * - ``count`` or ``distinct``
183+ - ``0``
184+
185+ * - All Other Functions
186+ - ``null``
187+
188+ |charts-short| displays bins with ``null`` values differently based on
189+ chart type:
190+
191+ .. list-table::
192+ :header-rows: 1
193+ :widths: 1 2
194+
195+ * - Chart Type
196+ - How |charts-short| Displays ``null`` Bins
197+
198+ * - :ref:`column-bar-chart-ref`
199+ - Bars with a height of ``0``. |charts-short| doesn't display data
200+ labels for ``null`` bins, even if enabled.
201+
202+ * - :ref:`line-area-chart-ref`
203+ - Linear interpolation, with no data marker on the ``null`` bins.
204+ |charts-short| doesn't display data labels for ``null`` bins,
205+ even if enabled.
0 commit comments