railbird-gql/component/charts/graph-config.ts

14 lines
345 B
TypeScript
Raw Normal View History

// TODO: Style values should be moved to styles
// non-style config can live here as chartDefaults
2024-01-12 14:04:45 -07:00
export const chartDefaults = {
height: 300,
spacingInner: 0.3,
spacingOuter: 0.2,
contentInset: { top: 30, bottom: 30 },
numberOfTicks: 6,
min: 0,
barColors: ["#598EBB", "#F2D4BC", "#DB7878"],
includeColors: true,
lineStrokeWidth: 2,
};