react-vis icon indicating copy to clipboard operation
react-vis copied to clipboard

No height using FlexibleXYPlot or FlexibleHeightXYPlot

Open jdozierezell opened this issue 5 years ago • 2 comments

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

jdozierezell avatar Jul 30 '19 23:07 jdozierezell

Any update on this?

gardezii avatar Jan 31 '20 09:01 gardezii

Up?

marcadella avatar Dec 22 '20 08:12 marcadella