react-sparklines
react-sparklines copied to clipboard
1.7.0 has circles on every point
This is not visible on the demo, but maybe that's not been updated.
1.6.0 | 1.7.0 |
---|---|
![]() |
![]() |
https://codesandbox.io/s/5z0xJlnK | https://codesandbox.io/s/rRw5W9OqE |
import React from 'react';
import { Sparklines, SparklinesLine } from 'react-sparklines';
const ActivityGraph = () => (
<Sparklines
data={[0, 2, 0, 5, 2, 0, 4, 1, 1, 1, 4, 3, 0]}
width={100}
height={15}
>
<SparklinesLine color="#2C8EBB" />
</Sparklines>
)