Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
indexBy="id"
keys={['a', 'b', 'c']}
maxValue={4}
margin={{
top: 10,
right: 120,
bottom: 40,
left: 40,
}}
padding={.3}
axisLeft={{
tickValues: 5,
}}
axisBottom={{
legend: 'THINGS',
legendPosition: AxisLegendPosition.Middle,
legendOffset: 36
}}
markers={[
{
crap: true
}
]}
legends={[
{
dataFrom: 'keys',
anchor: LegendAnchor.BottomRight,
direction: LegendDirection.Column,
itemWidth: 100,
itemHeight: 32,
translateX: 120,
}