We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c4ca46 commit 045edfaCopy full SHA for 045edfa
static/app/views/preprod/components/visualizations/appSizeTreemap.tsx
@@ -204,6 +204,12 @@ export function AppSizeTreemap(props: AppSizeTreemapProps) {
204
height: `calc(100% - 22px)`,
205
width: '100%',
206
top: '22px',
207
+ // Very mysteriously this controls the initial breadcrumbs:
208
+ // https://github.com/apache/echarts/blob/6f305b497adc47fa2987a450d892d09741342c56/src/chart/treemap/TreemapView.ts#L665
209
+ // If truthy the root is selected else the 'middle' node is selected.
210
+ // It has to be set to large number to avoid problems caused by
211
+ // leafDepth's main use - controlling how many layers to render.
212
+ leafDepth: 100000,
213
breadcrumb: {
214
show: true,
215
left: '0',
0 commit comments