Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Controls visualization - format options list #16804

Merged
merged 1 commit into from
Feb 22, 2018

Conversation

nreese
Copy link
Contributor

@nreese nreese commented Feb 19, 2018

fixes #16701

Use field formatter to format option list label.

screen shot 2018-02-18 at 9 54 10 pm

screen shot 2018-02-18 at 9 54 18 pm

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Copy link
Contributor

@stacey-gammon stacey-gammon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. We may want to think about what to do with the range controls eventually, but that could be tackled separately since there isn't an obvious solution and I imagine not as prominent as this issue. e.g. what if I want my range to show my field as percentage - though looks like right now we can't have non whole steps so that doesn't work anyway. The problem comes in with parsing the input of the range sides (we probably don't want to be parsing 19kb into a raw value, etc).

@fatmali
Copy link

fatmali commented Jul 30, 2018

@nreese thanks for this feature! We are embedding kibana dashboards into our app and wanted to know the following:

  1. Is this feature available in 6.3.2?
  2. If so, could you give us a guide that will enable us to use this feature to allow our users to manipulate a time field such as the @timestamp pic above?

Looking forward to your reply!

@nreese
Copy link
Contributor Author

nreese commented Jul 30, 2018

This feature is in 6.3.

You will have to add a field formatter for the field used by the control. Field formatters are managed under Index Patterns - https://www.elastic.co/guide/en/kibana/current/managing-fields.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Option list in Controls visualization does not format dates in human readable format
4 participants