+
+ {ReactECharts ? (
+
+ ) : null}
+
+
+ )
+}
+
+export default BaseEChart
diff --git a/registry/components/chart/KriBarChart.tsx b/registry/components/chart/KriBarChart.tsx
new file mode 100644
index 0000000..73d7f39
--- /dev/null
+++ b/registry/components/chart/KriBarChart.tsx
@@ -0,0 +1,59 @@
+'use client'
+
+import { useMemo } from 'react'
+import type { EChartsOption } from 'echarts'
+
+import { BaseEChart } from './BaseEChart'
+import type { KriCartesianChartProps } from './chart.types'
+import { defaultGrid, defaultLegend, mergeChartOptions, mergeObjectOption } from './chart.utils'
+
+export type KriBarChartProps = KriCartesianChartProps & {
+ isHorizontal?: boolean
+ barWidth?: number | string
+ barMaxWidth?: number | string
+}
+
+export function KriBarChart({
+ categories,
+ series,
+ isHorizontal = false,
+ barWidth,
+ barMaxWidth,
+ title,
+ legend,
+ tooltip,
+ grid,
+ xAxis,
+ yAxis,
+ option,
+ ...baseChartProps
+}: KriBarChartProps) {
+ const chartOption = useMemo