We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Line have an interpolate property but never use it. This is a must for line charts.
Line
interpolate
The text was updated successfully, but these errors were encountered:
For the record, I achieve Monotone implementation this way:
import { Line } from 'react-d3-shape'; import { line, curveMonotoneX } from 'd3-shape'; export default class MyLine extends Line { _setAxes(data) { const { xScaleSet, yScaleSet } = this.props; const x = line() .x((d) => { return xScaleSet(d.x) }) .y((d) => { return yScaleSet(d.y) }) .curve(curveMonotoneX); return x.call(this, data); } }
Sorry, something went wrong.
No branches or pull requests
Line
have aninterpolate
property but never use it. This is a must for line charts.The text was updated successfully, but these errors were encountered: