ECharts 如何居中图表

  • 03 Jan 2020

比如设置图表宽度 80%, 那么再设置左偏移量为 10% 就可以了。没有(或者没有找到)类似 CSS text-align: center 这种设置。

const series = [
    {
        type: 'funnel',
        left: '10%',
        width: '80%',
        ...
    }
];
COMMENTS

no comments