Open aditya-sl opened 2 weeks ago
Did you install the necessary packages? Also, do you maybe get an error in the console?
Did you install the necessary packages? Also, do you maybe get an error in the console?
Yes I installed all packages. And also I did not get any error in console.
I have the exact same problem.
Did you install the necessary packages? Also, do you maybe get an error in the console?
Yes I installed all packages. And also I did not get any error in console.
@aditya-sl Try add this to charts.tsx
in ChartContainer
:
<RechartsPrimitive.ResponsiveContainer width="100%" height="100%">
{children}
</RechartsPrimitive.ResponsiveContainer>
same issue here, updating recharts to alpha 4 as suggested in doc dont solve my issue
Describe the bug
I copied exactly the same code form shadcn charts example. But I can't see any chart in my app.
Here is my code:
Here is my output.
Affected component/components
Charts
How to reproduce
Codesandbox/StackBlitz link
No response
Logs
No response
System Info
Before submitting