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

[Lens] Support multiple thresholds on bar/line/area charts #55265

Closed
sherry-ger opened this issue Jan 18, 2020 · 4 comments
Closed

[Lens] Support multiple thresholds on bar/line/area charts #55265

sherry-ger opened this issue Jan 18, 2020 · 4 comments
Labels
enhancement New value added to drive a business result Feature:Lens Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@sherry-ger
Copy link
Contributor

sherry-ger commented Jan 18, 2020

Describe the feature:
Support multiple thresholds on bar/line/area charts. Thresholds can be lines or rectangles.

Describe a specific use case for the feature:
There are occasion you may need multiple threshold lines, say upper and lower limits.

@timroes timroes added enhancement New value added to drive a business result Feature:XYAxis XY-Axis charts (bar, area, line) Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Jan 18, 2020
@elasticmachine
Copy link
Contributor

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

@AlonaNadler AlonaNadler changed the title Support multiple threshold line on bar/line/area charts [Lens] Support multiple threshold line on bar/line/area charts Jan 24, 2020
@AlonaNadler AlonaNadler added Feature:Lens and removed Feature:XYAxis XY-Axis charts (bar, area, line) labels Jan 24, 2020
@wylieconlon
Copy link
Contributor

@AlonaNadler This seems to be a request specifically for the default visualize editor, which already supports a single threshold line. It's likely we want a similar feature in Lens, but I consider them separate.

@wylieconlon
Copy link
Contributor

wylieconlon commented Jan 6, 2021

I'm proposing that we limit the scope of this issue to only constant-value thresholds. Dynamic thresholds are possible, but it doesn't seem like a high priority based on my competitive analysis.

I'm expecting that each threshold will be a separate layer, using a layer-type selector that contains these options (my own mockup, not final):

Screen Shot 2021-01-04 at 4 39 19 PM

There are two types of thresholds:

  • Line
  • Bounded or unbounded rectangle

Here are the form elements that I think we will want to have for each type. "Value mode" is not required if the only mode is "Constant value", but it helps to differentiate the bounded/unbounded rectangles.

Screen Shot 2021-01-05 at 2 09 58 PM

Screen Shot 2021-01-05 at 2 13 12 PM

Using these options users could create colored ranges to indicate their chart health, like this:

Screen Shot 2021-01-04 at 3 11 24 PM

@wylieconlon wylieconlon changed the title [Lens] Support multiple threshold line on bar/line/area charts [Lens] Support multiple thresholds on bar/line/area charts Jan 6, 2021
@dej611
Copy link
Contributor

dej611 commented Sep 23, 2021

Closed via #108342

@dej611 dej611 closed this as completed Sep 23, 2021
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:Lens Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

No branches or pull requests

6 participants