Home  >  Q&A  >  body text

javascript - How to set the Y-axis not to display numerical values ​​in the Echarts chart


As shown in the figure, how to set the configuration items so that the y-axis value is not displayed

过去多啦不再A梦过去多啦不再A梦2686 days ago1836

reply all(1)I'll reply

  • phpcn_u1582

    phpcn_u15822017-06-12 09:31:13

    yAxis : [
        {
            axisLabel : {
                formatter: function(){
                      return "";
                }
            }
        }
    ]

    When formatter is followed by a method, the display value of the y-axis is determined by the return value of the method

    reply
    0
  • Cancelreply