diff --git a/package.json b/package.json index 96615d70f5eb9..e1542ca7a7a74 100644 --- a/package.json +++ b/package.json @@ -1114,4 +1114,4 @@ "yargs": "^15.4.1", "zlib": "^1.0.5" } -} \ No newline at end of file +} diff --git a/src/plugins/profiling/public/components/flamegraph.tsx b/src/plugins/profiling/public/components/flamegraph.tsx index 85ee76ad3ce8c..0b81ceb06c0cf 100644 --- a/src/plugins/profiling/public/components/flamegraph.tsx +++ b/src/plugins/profiling/public/components/flamegraph.tsx @@ -57,18 +57,11 @@ export const FlameGraph: React.FC = ({ id, height }) => { id={id} data={ctx.leaves} layers={layers} + drilldown + maxRowCount={1} + layout={PartitionLayout.icicle} valueAccessor={(d: any) => d.value as number} valueFormatter={() => ''} - config={{ - partitionLayout: PartitionLayout.icicle, - drilldown: true, - fillLabel: { - padding: { left: 0, right: 0, top: 0, bottom: 0 }, - }, - minFontSize: 5, - maxFontSize: 20, - maxRowCount: 1, - }} />