The echo introduced in react reports an error: xaxis “0” not found

Ecarts error introduced in react: xaxis “0” not found

Solution: add this line of code to the import page:

import 'echarts/lib/component/grid'

Read More: