[Lens] Support suffix, subtitle and number of decimal places in the Metric chart #154529
Labels
enhancement
New value added to drive a business result
Feature:Lens
impact:needs-assessment
Product and/or Engineering needs to evaluate the impact of the change.
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
Describe the feature
I'd like to propose adding support for Decimal and Suffix options in the new Metric chart, similarly to what can be done with the Legacy Metric.
Legacy Metric Value format options:
Besides that, currently, in
@elastic/charts
<Metric />
component it's possible to pass a subtitle. It'd be nice to have an option in Lens for that too.Current
Proposed
We're using the
insertOrReplaceFormulaColumn
fromFormulaAPI
, so it would be nice if these configuration options, including the proposedsubtitle
parameter, are reflected in thecolumn
object. Currently, It doesn't accept passingsuffix
, even if a visualization type supports it.The text was updated successfully, but these errors were encountered: