Home
last modified time | relevance | path

Searched refs:desiredSteps (Results 1 – 1 of 1) sorted by relevance

/external/perfetto/ui/src/frontend/
Dgridline_helper.ts29 export function getGridStepSize(range: number, desiredSteps: number): number {
34 const desiredStepSize = range / desiredSteps;
42 Math.abs(range / evaluatedStepSize - desiredSteps);
71 const desiredSteps = width / DESIRED_PX_PER_STEP; constant
72 const step = getGridStepSize(span.duration, desiredSteps);