I am writing an code to return an ApexAxisChartSeries but I can not figure what is wrong with my object. It does even say that "data" does not exist in type.

I am writing an code to return an ApexAxisChartSeries but I can not figure what is wrong with my object. It does even say that "data" does not exist in type.