Next.js website for Rocky Mountain Vending company featuring: - Product catalog with Stripe integration - Service areas and parts pages - Admin dashboard with Clerk authentication - SEO optimized pages with JSON-LD structured data Co-authored-by: Cursor <cursoragent@cursor.com>
22 lines
No EOL
623 B
Text
22 lines
No EOL
623 B
Text
/**
|
|
* @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
|
|
}); |