[FIX] doc: graph <field> does not use :grouping

see #3403 and 7ad4af8
This commit is contained in:
Xavier Morel 2014-11-03 13:00:54 +01:00
parent a8959295da
commit 45d649e44d
1 changed files with 6 additions and 13 deletions

View File

@ -443,8 +443,7 @@ following attributes:
``name`` (required)
the name of a field to use in a graph view. If used for grouping (rather
than aggregating), can be augmented with a
:ref:`reference/views/graph/functions`
than aggregating)
``type``
indicates whether the field should be used as a grouping criteria or as an
@ -459,22 +458,16 @@ following attributes:
``measure``
field to aggregate within a group
``interval``
on date and datetime fields, groups by the specified interval (``day``,
``week``, ``month``, ``quarter`` or ``year``) instead of grouping on the
specific datetime (fixed second resolution) or date (fixed day resolution).
.. warning::
graph view aggregations are performed on database content, non-stored
function fields can not be used in graph views
.. _reference/views/graph/functions:
Grouping function
-----------------
Field names in graph views can be postfixed with a grouping function using the
form :samp:`{field_name}:{function}`. As of 8.0, only date and datetime fields
support grouping functions. The available grouping functions are ``day``,
``week``, ``month``, ``quarter`` and ``year``. By default, date and datetime
fields are grouped month-wise.
.. _reference/views/kanban:
Kanban