Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

recharts bar chart layout vertical

<BarChart width={40} height={100} data={data} layout="vertical">
	<XAxis type="number"/>
    <YAxis type="category" dataKey="name" />
	<Bar dataKey="uv" fill="#8884d8" layout="vertical"/>
</BarChart>
 
PREVIOUS NEXT
Tagged: #recharts #bar #chart #layout #vertical
ADD COMMENT
Topic
Name
5+4 =