页面树结构
转至元数据结尾
转至元数据起始

(此文档仅供参考)

问题描述

Echarts双Y图如何设置哪个轴的 0 刻度上?现在是左Y轴再0刻度值上,如何设置右Y轴?

实现方案

此示例的扩展属性如下,相关的属性可以上echarts官网查看,https://echarts.apache.org/zh/option.html#xAxis.axisLine.onZeroAxisIndex

{
    "xAxis": {
        "axisLine": {
            "onZeroAxisIndex": 1
        }
    }
}


最终效果如图:


Viewtracker License Missing

There is a problem with the license of the Viewtracker addon. Please check if you have a valid license.

授权码细节

  • 无标签