Open monfera opened 4 years ago
I have found some problems/issues as well:
Datum
. For example, fillColor
is a function called with the argument of type ShapeTreeNode
, not of type Datum
. This applies to the formatter functions too, like valueFormatter
A new piece of feedback from https://github.com/elastic/kibana/pull/55477:
Not reporting the percentages and only showing the values is a concern. A pie chart is about percentages. In addition, it is helpful to have the actual value but I'm afraid without percentages it loses meaning. Ideally, we show the percentage on the slices by default and show the actual number on the tooltip.
Converting to percentages is currently done by visLib
, so this seems like a responsibility of elastic-charts as well.
Thanks @wylieconlon, good discussion here and in the referred Lens item.
On some of the items:
This is a set of improvements for the partitioning charts introduced with #493
linkLabel
, which is already nested) - or alternatively, rely on a flatter structure for composable configurabilityshapeViewModel