diff --git a/component/charts/bar.tsx b/component/charts/bar.tsx index 97cdc41..d2694bb 100644 --- a/component/charts/bar.tsx +++ b/component/charts/bar.tsx @@ -2,11 +2,11 @@ import React from 'react'; import { Path } from 'react-native-svg'; import { calculateBarOrigin, drawBarPath } from './custom-bar-utils'; -import { ScaleFunction } from './graph-types'; +import { ScaleBandType, ScaleLinearType, } from './graph-types'; interface BarProps { - scaleX: ScaleFunction; - scaleY: ScaleFunction; + scaleX: ScaleBandType; + scaleY: ScaleLinearType; data: { value: number }; barNumber: number; index: number;