• echarts 动画


    series: [
        {
            name: '安装数',
            type: 'bar',
            // barWidth: 15,
            // barGap: '-10%',
            data: data.yArray,
            markPoint: {
                data: [
                    {name: '最高'},
                    {name: '最低'}
                ]
            },
            itemStyle: {
                color: function (params) {
                    // build a color map as your need.
                    var colorList = [
                        '#00C47B', '#FF894A', '#8782F7', '#24A8BF', '#1CCCB5',
                        '#158EFE', '#68B671', '#FEDB65', '#2CD1C0', '#AE54B5',
                        '#FF80AA', '#F8568C', '#C71848', '#F61B63', '#7ED321'
                    ];
                    return colorList[params.dataIndex]
                }
            },
            animationDelay: function (idx) {
                return idx * 10 + 100;
            }
        }
    ],
    animationEasing: 'elasticOut',
    animationDelayUpdate: function (idx) {
        return idx * 5;
    }
  • 相关阅读:
    最小生成树计数
    Tree
    NOJ 成绩排名
    NOJ 成绩排名
    NOJ 成绩排名
    NOJ 成绩排名
    NOJ Physics
    NOJ Physics
    NOJ Physics
    NOJ Physics
  • 原文地址:https://www.cnblogs.com/caoxen/p/11248790.html
Copyright © 2020-2023  润新知