zoukankan      html  css  js  c++  java
  • echart --toolbox

    1.自定义的toolbox

    消息回调

      toolbox: {
                    show: true,
                    itemSize: 32,
                    borderColor: '#0cb1b6',
                    borderWidth: 1,
                    borderType: 'dotted',
                    orient: 'vertical',
                    left: 1,
                    top: 100,
                    iconStyle:{
                        emphasis: {
                            color: 'white',
                            textPosition: 'right'
                        }
    
                    },
                    feature: {
                        myTool1: {
                            show: true,
                            title: '显示统计图',
                            icon: 'image://../Images/orderedList0.png',
                            onclick: function (){
                                callbackTitleOne();
                            }
                        },
                        myTool2: {
                            show: true,
                            title: '详情页',
                            icon: 'image://../Images/orderedList1.png',
    
                            onclick: function (){
                                alert('myToolHandler2')
                            }
                        }
                    }
                    //feature: {
                    //    magicType: { type: ['line', 'bar'] },
                    //    restore: {}
                    //}
                },
  • 相关阅读:
    省选前模拟
    $SA$后缀数组
    一键运行
    多项式$fft$,$ntt$,$fwt$初步
    插头$DP$初步
    网络流初步
    欧拉路相关
    模板—Hash_map
    HZOJ Function
    HZOJ Tree
  • 原文地址:https://www.cnblogs.com/leolzi/p/8078664.html
Copyright © 2011-2022 走看看