react-sparklines
react-sparklines copied to clipboard
Transformation for custom value in SparklinesReferenceLine
<Sparklines data={this.props.data}>
<SparklinesLine />
<SparklinesReferenceLine type="custom" value={point.y} />
</Sparklines>
in this PR, point.y will be transformed with dataToPoints (max in min will be calculated automatically in Sparklines).
Hey, any progress on this?