Comments (6)
Hi! I've also been having the same issue not being able to see the charts in the Next.js app directory. I tried the fixes mentioned above (i.e. removing h-72, and updating tailwind.config.js and the recharts dependency) but I'm still having no luck. I think it's to do with conflicts with Shadcn UI (see here: shadcn-ui/ui#1144). Any ideas?
Relevant files:
page.tsx in app directory: https://github.com/ebayes/supa_final/blob/color_scheme/app/platform/dashboard/page.tsx
component: https://github.com/ebayes/supa_final/blob/color_scheme/components/testchart.tsx
from tremor.
@nithinkodadhavadee Ok, I had a look at your repository.
It seems you're not experiencing the same problem, but I found an issue in your configuration.
The content path in your tailwind.config.ts
does not match your project structure. Try this change:
from tremor.
Hey there, I just tested your code and in another project and works for me. However, I cloned your repo and I git the same issue. You can resolve it by removing the h-72
from the Area chart args object.
from tremor.
I do not understand why that did not work for me, but it did for you. Have I done something wrong with the setup?
from tremor.
@nithinkodadhavadee I have the same issue.
It seems to be an update to the recharts
dependency for me.
Can you try adding the recharts
dependency explicitely to your package.json
with a pinned version?
"recharts": "2.9.3",
(and of course run npm install
and npm run dev
afterwards)
This helped in my case, I wonder if this works for you as well?
from tremor.
@nithinkodadhavadee Have you been able to solve you issue?
from tremor.
Related Issues (20)
- [Bug]: Legend component fails to render with 23 or more categories HOT 1
- [Feature]: Stacked Funnel Chart HOT 3
- [Feature]: Value Formatter for x-axis
- [Feature]: Padding for x axis
- [Feature]: Progress Circle with different color by sector HOT 1
- [Feature]: Add option to make the highlighted area a click target in a bar chart
- [Bug]: DateRangePicker z-index can't be changed HOT 1
- Barchart with Rounded Corners HOT 3
- Multiple charts on one plot
- [Bug]: Tremor Tabs not defaulting to value HOT 3
- [Question]: How can I increase the thickness of the donuts pie charts ? HOT 1
- [Feature]: adding phone input
- [Bug]: Scatter chart x axis label is truncated (below the line height)
- [Feature]: HPO Graphs
- [Bug]: Website UI broken HOT 1
- [Feature]: Box plots
- [Bug]: Unable to update bar colors using `tremor-brand-default` from tailwindConfig.js HOT 1
- [Bug]: I want to show the 'Select All' option all the time, even when searching in the multi-select
- [Feature]: Enable multiple X-Axis and Y-Axis for AreaCharts, LineCharts & BarCharts
- [Bug]: in IOS all the inputs has a zoom in automatically HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tremor.