Skip to content

Commit

Permalink
Add doc and fix integration
Browse files Browse the repository at this point in the history
  • Loading branch information
wylieconlon committed Mar 2, 2021
1 parent be83905 commit 4b847aa
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/management/managing-fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,17 @@ include::field-formatters/string-formatter.asciidoc[]
[[field-formatters-numeric]]
=== Numeric field formatters

Numeric fields support the `Url`, `Bytes`, `Duration`, `Number`, `Percentage`, `String`, and `Color` formatters.
Numeric fields support the `Url`, `Bytes`, `Duration`, `Number`, `Percentage`, `Histogram`, `String`, and `Color` formatters.

The `Bytes`, `Number`, and `Percentage` formatters enable you to choose the display formats of numbers in this field using
the <<numeral, Elastic numeral pattern>> syntax that {kib} maintains.

The `Histogram` formatter is only used for the {ref}/histogram.html[histogram field type]. When using the `Histogram` formatter,
you can apply the `Number`, `Bytes`, or `Percentage` format to the aggregated data.

`Number`, and `Percentage` formatters enable you to choose the display formats of numbers in this field using
the <<numeral, Elastic numeral pattern>> syntax that {kib} maintains.

include::field-formatters/url-formatter.asciidoc[]

include::field-formatters/string-formatter.asciidoc[]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import {
StringFormatEditor,
TruncateFormatEditor,
UrlFormatEditor,
HistogramFormatEditor,
} from '../components';

/**
Expand Down Expand Up @@ -47,6 +48,7 @@ export class FormatEditorService {
StringFormatEditor,
TruncateFormatEditor,
UrlFormatEditor,
HistogramFormatEditor,
];

const fieldFormatEditorsSetup = this.fieldFormatEditors.setup(defaultFieldFormatEditors);
Expand Down

0 comments on commit 4b847aa

Please sign in to comment.