react-vis
react-vis copied to clipboard
No height using FlexibleXYPlot or FlexibleHeightXYPlot
Both components FlexibleXYPlot and FlexibleHeightXYPlot appear to be setting height to 0 on render. There's an older issue ( #655 ) that appears to resolve this, but I'm still seeing the problem here. Code below is taken from https://uber.github.io/react-vis/documentation/getting-started/your-first-chart with the addition of FlexibleXYPlot. The chart works fine with XYPlot and FlexibleWidthXYPlot but disappears when using the other two components.
const Vis = () => {
return (
<div>
<FlexibleXYPlot>
<VerticalGridLines />
<HorizontalGridLines />
<XAxis />
<YAxis />
<LineSeries data={data} />
</FlexibleXYPlot>
</div>
)
}
export default Vis
Any update on this?
Up?