Add mention of adding Row numbers into column (#4062)

* Add mention of adding Row numbers into column

* move row.index note to Facets

* remove unneeded sentence

* mention customizing facets in Numeric facets

* update yarn.lock to master branch

* remove yarn.lock changes from PR

* remove yarn.lock from PR

* try again to revert to origin

* Restore yarn.lock

Co-authored-by: Antonin Delpeuch <antonin@delpeuch.eu>
This commit is contained in:
Thad Guidry 2021-10-23 00:34:52 -05:00 committed by GitHub
parent 943a0056f0
commit 41e471708e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -100,6 +100,10 @@ You will be offered the option to include blank, non-numeric, and error values i
You can create a text facet on numeric data, which will treat each entry as a string. This can be useful if you wish, for example, to manually include facets instead of selecting a range, or sort by count, or copy that count.
:::
:::info Faceting customization
As mentioned in the overview, facets can be modified or customized by GREL [expressions](expressions) in many ways. For example, to facet by clusters of [row](expressions#variables) numbers with `row.index/100` or better visualizing numbers greater than 1000 with `max(row.index, 1000)`.
:::
## Timeline facet {#timeline-facet}
![A screenshot of an example timeline facet.](/img/timelinefacet.png)

View File

@ -205,4 +205,4 @@ A `row.record` object encapsulates one or more rows that are grouped together, w
| `row.record.toRowIndex` | The row index of the last row in the record + 1 (i.e. the next record) |
| `row.record.rowCount` | A count of the number of rows in the record |
For example, you can facet by number of rows in each record by creating a <span class="menuItems">Custom Numeric Facet</span> (or a <span class="menuItems">Custom Text Facet</span>) and entering `row.record.rowCount`.
For example, you can facet by number of rows in each record by creating a <span class="menuItems">Custom Numeric Facet</span> (or a <span class="menuItems">Custom Text Facet</span>) and entering `row.record.rowCount`.