页面树结构

版本比较

标识

  • 该行被添加。
  • 该行被删除。
  • 格式已经改变。

...

    3, 设置扩展属性(见上图),固化的和数据不会有关系的可以在此设置,譬如示例直接把echarts漏斗示例options(去除数据部分)粘贴与此

代码块
languageactionscript3
title扩展图形_漏斗图扩展属性
linenumberstrue
collapsetrue
{
    "title": {
        "text": "漏斗图",
        "subtext": "纯属虚构"
    },
    "tooltip": {
        "trigger": "item",
        "formatter": "{a} <br/>{b} : {c}%"
    },
    "toolbox": {
        "feature": {
            "dataView": {
                "readOnly": false
            },
            "restore": {},
            "saveAsImage": {}
        }
    },
    "calculable": true,
    "series": [{
        "name": "漏斗图",
        "type": "funnel",
        "left": "10%",
        "top": 60,
        "bottom": 60,
        "width": "80%",
        "min": 0,
        "max": 100,
        "minSize": "0%",
        "maxSize": "100%",
        "sort": "descending",
        "gap": 2,
        "label": {
            "normal": {
                "show": true,
                "position": "inside"
            },
            "emphasis": {
                "textStyle": {
                    "fontSize": 20
                }
            }
        },
        "labelLine": {
            "normal": {
                "length": 10,
                "lineStyle": {
                    "width": 1,
                    "type": "solid"
                }
            }
        },
        "itemStyle": {
            "normal": {
                "borderColor": "#fff",
                "borderWidth": 1
            }
        }
    }]
}

...