You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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 inr
, but its value isundefined
."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
The text was updated successfully, but these errors were encountered: