You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: x-pack/plugins/security_solution/public/detections/components/alerts_kpis/alerts_histogram_panel/alerts_histogram.tsx
// showLegend controls the default legend coming from Elastic chart, we show them when our customised legend items doesn't exist (but we still want to show legend).
81
81
showLegend={showLegend&&legendItems.length===0}
82
-
// Please double check if the data passed to the chart contains all the buckets, even the empty ones.
83
-
// the showLegendExtra will display the last element of the data array as the default legend value
84
-
// and if empty buckets are filtered out you can probably see a value that doesn't correspond
85
-
// to the value in the last time bucket visualized.
0 commit comments