mirror of
https://github.com/grafana/grafana.git
synced 2025-02-15 10:03:33 -06:00
* Flamegraph * Updated flame graph width/height values * Fix top table rendering issue * Add feature toggle for flamegraph in explore * Update tests * Hide flamegraph from dash panel viz list if feature toggle not enabled * Show table if no flameGraphFrames * Add flame graph to testdata ds * Minor improvement
9 lines
487 B
TypeScript
9 lines
487 B
TypeScript
export const PIXELS_PER_LEVEL = 22 * window.devicePixelRatio;
|
|
export const COLLAPSE_THRESHOLD = 10 * window.devicePixelRatio;
|
|
export const HIDE_THRESHOLD = 0.5 * window.devicePixelRatio;
|
|
export const LABEL_THRESHOLD = 20 * window.devicePixelRatio;
|
|
export const BAR_BORDER_WIDTH = 0.5 * window.devicePixelRatio;
|
|
export const BAR_TEXT_PADDING_LEFT = 4 * window.devicePixelRatio;
|
|
export const MIN_WIDTH_TO_SHOW_BOTH_TOPTABLE_AND_FLAMEGRAPH = 800;
|
|
export const TOP_TABLE_COLUMN_WIDTH = 120;
|