Commit graph

20 commits

Author SHA1 Message Date
Kibana Machine
a057ff63cf
[Expressions] Introduce createTable expression function, and use in Lens (#103788) (#104879)
* [Expressions] Introduce createTable expression function, and use in Lens

* Fix test

* Fix code style

* Fix typo

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Wylie Conlon <william.conlon@elastic.co>
2021-07-08 12:11:04 -04:00
Kibana Machine
9abe3e0695
[Lens] Create mathColumn function to improve performance (#101908) (#102356)
* [Lens] Create mathColumn function to improve performance

* Fix empty formula case

* Fix tinymath memoization

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Wylie Conlon <william.conlon@elastic.co>
2021-06-16 16:42:22 +00:00
Michael Dokolin
1826554a8b
[Expressions] Create expressions function to get UI settings (#101317) (#101895) 2021-06-10 11:24:53 -04:00
Kaarina Tungseth
2b1756f77b
Adds canvas clog function (#96418) (#96437)
* Add canvas `clog` function in the doc

* Add basic example to the `clog` canvcas function

* clog canvas function: switch definition/purpose

Co-authored-by: Laurent HUET <laurent.huet@gmail.com>

Co-authored-by: Laurent HUET <laurent.huet@gmail.com>
2021-04-07 11:32:02 -04:00
Marco Liberati
7592e8ccbd
[Expressions] [Lens] Add id and copyMetaFrom arg to mapColumn fn + add configurable onError argument to math fn (#90481) (#92810)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-25 10:41:00 -05:00
Catherine Liu
792308b157
[Canvas][Docs] Adds var and var_set to expression function reference (#74291) (#75832) 2020-08-24 17:41:45 -07:00
Catherine Liu
5830101068
[Canvas] Adds function reference docs generator (#49402) (#75831)
Co-authored-by: Corey Robertson <corey.robertson@elastic.co>
# Conflicts:
#	x-pack/plugins/canvas/i18n/functions/dict/map_column.ts
2020-08-24 17:27:23 -07:00
Catherine Liu
4be84464c6
[7.x] [Canvas] Updates function reference docs (#64741) (#65125) 2020-05-04 11:39:25 -07:00
Kaarina Tungseth
88e6d24d77
[DOCS] Removed spatial references (#59595) (#59681)
* [DOCS] Removed ss above spatial references

* Removed above from n numeral formatting page
2020-03-09 11:45:48 -05:00
Wylie Conlon
7579bff946
Documentation for numeral pattern formatting (#57616) (#58635)
* Documentation for Elastic Numeral formatting

* Tweaks from feedback

* Updates from feedback

* Fix and update examples

* Add TODOs

* Fix typo

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-02-26 16:18:37 -05:00
Catherine Liu
57dfaca6b5
[Canvas][Docs] Updates function reference #50393 (#51532) 2019-11-22 19:32:10 -07:00
Tim Schnell
253b9e777a
[skip ci] Function Reference Docs Update (#48791) (#49369)
* setting up function reference pattern

* adding functions A-F

* grammar fixes

* Apply suggestions from code review

Co-Authored-By: Catherine Liu <catherineqliu@outlook.com>

* more review updates
2019-10-25 12:40:39 -05:00
Catherine Liu
ddfe6e8dea
[Canvas] Format argument for the metric element (#42007) (#42779)
* Added numberFormat arg type and metricFormat arg to metric function

    Updated function reference doc

    Fixed default arg value

* Added stories for NumberFormatArgInput

* Added arg alias

* Added stories for metric renderer

* Fixed ts errors and added comments

* Updated comments

* Removed extra test

* Added snapshots

* Addressing feedback

* Fixed typo

* Updated metricFormat help text

* Removed redundant help prop
2019-08-06 16:26:25 -07:00
Catherine Liu
a325cc05d5
[7.x] [Canvas] Updates esdocs default count to 1000 (#41604) (#41624) 2019-07-22 13:25:11 -07:00
Catherine Liu
88b03b2d23
[7.x] [Canvas] Removes doc links from backticks. (#41601) (#41686) 2019-07-22 11:25:31 -07:00
Catherine Liu
dc4ae03e04
[7.x] [Canvas][Docs]Fixes multi arg annotation (#40934) (#40946) 2019-07-11 20:58:11 -07:00
Catherine Liu
5287d1ef5b
[7.x] [Canvas][Docs] Merge Canvas function references (#38300) (#40917)
* [Canvas][Docs] Merge Canvas function references (#38300)

* Synced up docs with function defs

* Updated docs with changes from PR #37305

* Merged canvas function ref into a single doc

* Fixed arg order

* Fixed typo

* Added alphabet links

* Added alphabet headers

* Removed B header

* Added missing args from

* Added edits from PR #37614

* Updated containerStyle

* Removed metafields. ESSQL doesn't support retrieving metafields

* Edits to function copy

* More edits

* More edits

* Final round of edits

* Fixed i18n errors

* Addressing feedback

* Fixed jest test

* Fixed missing import

* Fixed i18n error

* Restored metaFields arg in esdocs

* Extracted i18n string constants

* Fixed i18n errors

* Updated translation files

* Fixes Canvas doc headers (#40921)
2019-07-11 17:14:05 -07:00
Lisa Cawley
9daffb7c59 [DOCS] Adds X-Pack icon for Canvas (#34173) 2019-04-01 11:43:38 -07:00
gchaps
f8cd1fd3cb [DOCS] Removes beta tag from Canvas docs (#33630) 2019-03-21 08:54:49 -07:00
Sarah Hersh
8b304217b5
[DOCS] Adds Kibana docs for Canvas functions (#26467)
* [DOCS] Migrates Canvas function docs to Kibana docs

* [DOCS] Add docs for TinyMath Canvas functions
2018-12-05 16:02:44 -05:00