d3b92593d5
- Create Axios-based API client with sources, jobs, and dashboard endpoints - Add responsive Layout component with navigation sidebar - Set up React Router with Dashboard, Backups, and Settings routes - Configure TanStack Query provider with default options - Use lucide-react for navigation icons
22 lines
623 B
JavaScript
22 lines
623 B
JavaScript
/**
|
|
* @fileOverview Bar Chart
|
|
*/
|
|
import { generateCategoricalChart } from './generateCategoricalChart';
|
|
import { Bar } from '../cartesian/Bar';
|
|
import { XAxis } from '../cartesian/XAxis';
|
|
import { YAxis } from '../cartesian/YAxis';
|
|
import { formatAxisMap } from '../util/CartesianUtils';
|
|
export var BarChart = generateCategoricalChart({
|
|
chartName: 'BarChart',
|
|
GraphicalChild: Bar,
|
|
defaultTooltipEventType: 'axis',
|
|
validateTooltipEventTypes: ['axis', 'item'],
|
|
axisComponents: [{
|
|
axisType: 'xAxis',
|
|
AxisComp: XAxis
|
|
}, {
|
|
axisType: 'yAxis',
|
|
AxisComp: YAxis
|
|
}],
|
|
formatAxisMap: formatAxisMap
|
|
}); |