<ChartBuilderWrapper />
takes a prop config
, which is an object that contains layout and formatting args.
Example:
<ChartBuilderWrapper data={data} config={{
layout: {
name: 'my-new-chart',
type: 'bar',
width: 640,
height: 400,
padding: [0, 0, 0, 0],
},
xAxis: { ... },
yAxis: { ... },
bar: { ... },
...
}}/>