export default {
  "name": "ChartLineBar",
  "comment": "线柱结合图",
  "jsFiles": "/echarts/dist/echarts.common.min.js",
  "attrs": [
    {
      "name": "dataBindSetting",
      "comment": "数据绑定设置",
      "type": "group",
      "items": [
        {
          "name": "loadDataService",
          "comment": "加载数据服务",
          "type": "Service"
        },
        {
          "name": "dataBindingMember",
          "comment": "数据绑定成员",
          "type": "String"
        },
        {
          "name": "categoryField",
          "comment": "分类数据字段",
          "type": "String"
        },
        {
          "name": "series",
          "comment": "数据集",
          "type": "Dataset",
          "columns": [
            {
              "id": "name",
              "name": "图例名称",
              "type": "String",
              "width": "80px"
            },
            {
              "id": "dataField",
              "name": "数据字段",
              "type": "String"
            },
            {
              "id": "type",
              "name": "类型",
              "type": "Select",
              "width": "80px",
              "options": [
                {"value": "line", "text": "折线图"},
                {"value": "bar", "text": "柱状图"}
              ]
            }
          ]
        }
      ]
    },
    {
      "name": "showSetting",
      "comment": "显示设置",
      "type": "group",
      "items": [
        {
          "name": "showLegend",
          "comment": "显示图例",
          "type": "Switch"
        },
        {
          "name": "showArea",
          "comment": "显示面积",
          "type": "Switch"
        },
        {
          "name": "smooth",
          "comment": "平滑显示",
          "type": "Switch"
        },
        {
          "name": "stack",
          "comment": "堆叠显示",
          "type": "Switch"
        },
        {
          "name": "showLoading",
          "comment": "显示加载动画",
          "type": "Switch"
        },
        {
          "name": "showLabel",
          "comment": "显示标签",
          "type": "Switch",
          "default": true,
          "width": "60px"
        },
        {
          "name": "showLabelLine",
          "comment": "显示引导线",
          "type": "Switch",
          "width": "80px"
        },
        {
          "name": "darkMode",
          "comment": "暗黑模式",
          "type": "Switch"
        },
        {
          "name": "animation",
          "comment": "开启动画",
          "type": "Switch",
          "default": true
        }
      ]
    }
  ],
  "styles": ["size", "position", "background", "margin", "border", "other"],
  "defaultStyles": {
    "width": "480px",
    "height": "320px",
    "border": "1px solid #cccccc"
  },
  "events": []
}