Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/components/Chart/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,5 @@ export type { FunnelChartProps, FunnelStage } from './FunnelChart';

export { Waterfall } from './WaterfallChart';
export type { WaterfallChartProps, WaterfallSegment } from './WaterfallChart';

export { BAR_GROUP_GAP, BAR_ITEM_GAP } from './types';
2 changes: 2 additions & 0 deletions src/components/Chart/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,9 @@ export function resolveSeries(
return [];
}

/** Fraction of each category slot left as gap; bars fill the remainder. */
export const BAR_GROUP_GAP = 0.12;
/** Horizontal px between side-by-side series bars within one category group. */
export const BAR_ITEM_GAP = 1;

/** Minimum vertical spacing (px) between tick labels at 11px font. */
Expand Down
Loading