elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.6k stars 8.21k forks source link

[Lens] Line and area stepped curve option #68303

Closed wylieconlon closed 1 year ago

wylieconlon commented 4 years ago

The main remaining type to support is Stepped.


There are some basic curve options that users should be able to select for each line in Lens. This option should be presented for each line series, so that you could mix curve types if you choose to.

However, the number of options available in Elastic charts is higher than what we should support.

In the Visualize line chart, we support three options only:

Of the curve options that are available with a demo here, we should support these:

Curve type Special logic
Linear Default
Curve natural
Curve catmull rom
Curve step after Should hide the point
Curve step before Should hide the point

This leaves the following curve types unsupported:

cc @markov00

elasticmachine commented 4 years ago

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

markov00 commented 4 years ago

Elastic-charts has already all these curve types for LineSeries and AreaSeries see https://elastic.github.io/elastic-charts/?path=/story/line-chart--curved-with-axis-and-legend

wylieconlon commented 3 years ago

The main remaining type to support is Stepped.

ghudgins commented 3 years ago

stepped would be an additional option and require us to change the curve from an on/off to a dropdown - https://github.com/elastic/elastic-charts/blob/master/storybook/stories/area/20_stepped_area.tsx#L435

markov00 commented 1 year ago

closing in favour of https://github.com/elastic/kibana/issues/154410