react-vis
react-vis copied to clipboard
Bug in the `LineSeries` chart
The line looks like a polygon and not a line. It does not matter what data (even if I use the sample data) I use this is the end result.
<XYPlot xType='time' width={1000} height={300}>
<HorizontalGridLines />
<VerticalGridLines />
<LineSeries data={this.state.plotData} />
<XAxis />
<YAxis />
</XYPlot>
Had similar issues that were solved by ensuring that the css was included.
@timtucker and how did you do that
import '../node_modules/react-vis/dist/style.css';
Try adding this to the imports of your App.tsx or App.js
Even after adding the css import I have the same issue