export default {
  "name": "ChartBar",
  "comment": "柱状图",
  "jsFiles": "/node_modules/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"
            }
          ]
        }
      ]
    },
    {
      "name": "showSetting",
      "comment": "显示设置",
      "type": "group",
      "items": [
        {
          "name": "showLegend",
          "comment": "显示图例",
          "type": "Switch"
        },
        {
          "name": "stack",
          "comment": "堆叠显示",
          "type": "Switch"
        },
        {
          "name": "showLabel",
          "comment": "显示标签",
          "type": "Switch",
          "default": true,
          "width": "60px"
        },
        {
          "name": "showLabelLine",
          "comment": "显示引导线",
          "type": "Switch",
          "width": "80px"
        },
        {
          "name": "showLoading",
          "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": []
}