How does echarts set gridlines between two coordinates?

echarts horizontal and vertical coordinate points can be set gridlines, but if the coordinate points are relatively few and the width and height of the echarts instance is relatively large, the single grid will be very large and the style is not very beautiful. If the coordinates are numeric, use the max,min,splitNumber attribute to reduce the interval between coordinate points to achieve the purpose of increasing gridlines, but if the coordinate points are text, how to do this?

for example

if the coordinates of the second picture are text, how can this effect be achieved?

Mar.23,2021

take a look at the document

Menu