Description
ReSteps to reproduce
Steps:
- https://codesandbox.io/p/sandbox/elated-northcutt-clfg9d
categoryGapRatio
andbarGapRatio
works but has a type error- Happens both in V7 and V8 🙃
Issue description
Using TS and alpha 10, properties barGapRatio
and categoryGapRatio
are not resolved by VSCode.
<BarChart
xAxis={[{
scaleType: 'band',
barGapRatio: 0.1,
categoryGapRatio: 0.2,
data: ['group A', 'group B', 'group C']
}]}
series={[{ data: [4, 3, 5] }, { data: [1, 6, 3] }, { data: [2, 5, 6] }]}
width={500}
height={300}
/>