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

TSVB Annotations - New Line Character #66088

Closed
Grunticus03 opened this issue May 11, 2020 · 6 comments
Closed

TSVB Annotations - New Line Character #66088

Grunticus03 opened this issue May 11, 2020 · 6 comments
Labels
enhancement New value added to drive a business result Feature:TSVB TSVB (Time Series Visual Builder) Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@Grunticus03
Copy link

Grunticus03 commented May 11, 2020

Describe the feature:
The ability to have annotation flyout information formatted into multiple lines. Currently, when a user enters multiple fields in the row template field, all the data is displayed as a single line string. If the data exceeds a certain length, the text wraps to a new line automatically. For example:

This row template configuration:
image

Creates this flyout information on the annotation:
image

Describe a specific use case for the feature:

What I propose is having a special character/sequence of characters that allows the user to indicate when a new line should start.

Something like this
image

Would produce this result
image

(I'm not advocating for HTML formatting, just using a well known HTML tag to illustrate my point.)

@Grunticus03 Grunticus03 changed the title TSVB New Line Character TSVB Annotations - New Line Character May 11, 2020
@bhavyarm bhavyarm added Feature:TSVB TSVB (Time Series Visual Builder) Team:Visualizations Visualization editors, elastic-charts and infrastructure labels May 11, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app (Team:KibanaApp)

@AndrewMcQuerry
Copy link

agreed.. just now facing this same limitation. Tried searching docs/google/discuss and couldn't find any reference to how to indicate a new line until I found this issue.

@timroes timroes added enhancement New value added to drive a business result and removed triage_needed labels Mar 11, 2021
@mdaliyan
Copy link

Even supporting the \n could be helpful, though I like the idea of being able to use HTML tags like strong and hr

@ghudgins
Copy link

@markov00 should I file an issue about supporting new line characters in elastic-charts specifically? right now this issue is tagged in the meta for tooltips

@markov00
Copy link
Member

@markov00 should I file an issue about supporting new line characters in elastic-charts specifically? right now this issue is tagged in the meta for tooltips

yes please, it will be great

@stratoula
Copy link
Contributor

You can add fields in your annotation tooltip in Lens that they appear on a new line.

image

We don't plan to add this in TSVB for now but we are very welcome in feature requests in Lens annotations!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New value added to drive a business result Feature:TSVB TSVB (Time Series Visual Builder) Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

No branches or pull requests

9 participants