Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bar chart not working.. #576

Open
adityakoushikr11 opened this issue Feb 7, 2024 · 0 comments
Open

Bar chart not working.. #576

adityakoushikr11 opened this issue Feb 7, 2024 · 0 comments

Comments

@adityakoushikr11
Copy link

adityakoushikr11 commented Feb 7, 2024

I am trying to render a bar chart but i am getting the following error
"Failed prop type: The prop series is marked as required in r, but its value is undefined."

I am passing the following information to the chart.
<Chart type="bar" options={{
chart: { type: "bar" }, series: [{ name: "My chart", data: [{ x: "Mo", y: 2 }, { x: "Tu", y: 3 }] }],
colors: ["#EC6E00", "#FF961B", "#FDD08D", "#D4E3A8", "#99E48D", "#99E48D", "#99E48D"]
}} />

React apexchart version installed is : 1.4.1
Apexchart version : 3.45.2
Node version : 18
React version : 18.2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant