Skip to content

The open alternative to Salesforce, designed for AI.

300 B
Raw Blame
import { BAR_CHART_CONSTANTS } from '@/page-layout/widgets/graph/graph-widget-bar-chart/constants/BarChartConstants';

export const computeMinHeightPerTick = ({
  axisFontSize,
}: {
  axisFontSize: number;
}): number => {
  return axisFontSize * BAR_CHART_CONSTANTS.MIN_TICK_SPACING_HEIGHT_RATIO;
};