i'am trying to replicate the following graph using react using this amazing library called apex charts https://apexcharts.com/react-chart-demos/column-charts/dynamic-loaded-chart/
by using the code given in that website yearSeries.data[selectedIndex].quarters is an undefined value for me. Can anyone tell me what kind of data is this graph taking as an input
there's this makeData() which is getting called there can anyone tell me the return value of it
thanks in advance.
Author of ApexCharts here, the example you linked has an external js file which is not included in the website demo code, sorry about that.
I have just updated the website example and included the missing code on the same page (please do a hard refresh / clear cache to see changes) - https://apexcharts.com/react-chart-demos/column-charts/dynamic-loaded-chart/