The font color of echarts adapts to the XY axis of the mobile terminal does not match.

problem description

the font color of echarts adapting to mobile XY axis does not match

the environmental background of the problems and what methods you have tried

has tried. The red title appears, but the Y axis has not changed

.

related codes

/ / Please paste the code text below (do not replace the code with a picture

Don"t forget that there is also a media query called media
media: [/ / media query rules are defined here.

      {
        query: {
          maxWidth: 750},
        option: {
          // option
          title: {
            textStyle: {
              fontSize: 24,
              color: "red"
            },
            yAxis: [
              {
                nameTextStyle: {
                  fontSize: 22
                  color :"red"
                }
              }
            ]
          }
        }
      }
    ]



what result do you expect? What is the error message actually seen?

expect nameTextstyle fonts on the y axis to enlarge and become red

Mar.16,2022
Menu