{
    "$schema": "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json",
    "data": {
        "type": "object",
        "properties": {
            "directionType": {
                "title": "柱形图方向",
                "type": "string",
                "default": "lengthways",
                "x-component": "radio",
                "x-index": 10,
                "enum": [
                    {
                        "label": "横向",
                        "value": "crosswise"
                    },
                    {
                        "label": "纵向",
                        "value": "lengthways"
                    }
                ],
                "x-linkages": [
                    {
                        "target": "*(xFieldShow,xFieldShowHight)",
                        "type": "value:schema",
                        "condition": "{{ $self.value ==='lengthways' }}",
                        "schema": {
                            "x-component-props": {
                                "text": "维度(X轴)"
                            }
                        }
                    },
                    {
                        "target": "*(xFieldShow,xFieldShowHight)",
                        "type": "value:schema",
                        "condition": "{{ $self.value ==='crosswise' }}",
                        "schema": {
                            "x-component-props": {
                                "text": "维度(Y轴)"
                            }
                        }
                    },
                    {
                        "target": "*(yFieldSubTitle,yFieldShow)",
                        "type": "value:schema",
                        "condition": "{{ $self.value ==='crosswise' }}",
                        "schema": {
                            "x-component-props": {
                                "text": "数值(X轴)"
                            }
                        }
                    },
                    {
                        "target": "*(yFieldSubTitle,yFieldShow)",
                        "type": "value:schema",
                        "condition": "{{ $self.value ==='lengthways' }}",
                        "schema": {
                            "x-component-props": {
                                "text": "数值(Y轴)"
                            }
                        }
                    }
                ],
                "description": "支持横向和纵向。纵向维度为 X 轴，数值为 Y 轴，横向反之。本文属性设置以纵向为例"
            },
            "isPile": {
                "title": "是否堆叠",
                "type": "boolean",
                "default": false,
                "x-index": 20,
                "description": "多Y轴时，该属性才生效"
            },
            "isTitle": {
                "title": "显示标题",
                "type": "boolean",
                "default": true,
                "x-index": 30,
                "x-linkages": [
                    {
                        "type": "value:visible",
                        "target": "*(title)",
                        "condition": "{{ $self.value }}"
                    }
                ]
            },
            "title": {
                "title": "图表标题",
                "default": "柱状图标题",
                "type": "string",
                "x-index": 40
            },
            "dataSource": {
                "type": "object",
                "title": "数据源(废弃)",
                "display": false,
                "x-index": 43,
                "x-component": "chart-datasource-select",
                "x-props": {
                    "data-hidebind": true
                },
                "x-component-props": {
                    "postChange": {
                        "addOrUpdateComponentDataBinds": {
                            "dataBind": {
                                "propertyPath": "filterData",
                                "bindDataPath": "[]",
                                "type": "expression",
                                "extra": {}
                            }
                        }
                    }
                },
                "x-linkages": [
                    {
                        "type": "value:visible",
                        "target": "*(filterData)",
                        "condition": "{{ ($self.value && $self.value.type ==='database') || ( $self.value && $self.value.type ==='cloud-integration') }}"
                    },
                    {
                        "type": "value:schema",
                        "condition": "{{ $self.value&&!!$self.value.name }}",
                        "target": "filterData",
                        "schema": {
                            "x-component-props": "{{{selectedDataSourceName: $self.value.name}}}"
                        }
                    },
                    {
                        "type": "value:visible",
                        "target": "*(xFieldShow,xField,xStatistics,xIsCountEmpty,yField,groupKeyTimeSpan)",
                        "condition": "{{ $self.value && $self.value.type ==='database' }}"
                    },
                    {
                        "type": "value:state",
                        "condition": "{{ !!$self.value }}",
                        "target": "yField",
                        "state": {
                            "__datasourceName": "{{$self.value.name}}"
                        }
                    }
                ],
                "description": "已废弃数据源配置"
            },
            "dataSourceType": {
                "x-index": 45,
                "title": "数据源",
                "x-category": "基础属性",
                "type": "string",
                "default": "data-model",
                "enum": [
                    {
                        "label": "数据模型",
                        "value": "data-model"
                    },
                    {
                        "label": "APIs",
                        "value": "custom-connector"
                    },
                    {
                        "label": "变量",
                        "value": "variable"
                    }
                ],
                "x-linkages": [
                    {
                        "_comment": "数据模型才显示的",
                        "type": "value:state",
                        "condition": "{{$self.value === 'data-model'}}",
                        "target": "*(dataModel,filterData,xFieldShow,xField,xStatistics,xIsCountEmpty,yFieldSubTitle,yField,groupKey)",
                        "state": {
                            "display": true
                        }
                    },
                    {
                        "_comment": "数据模型不显示的",
                        "type": "value:state",
                        "condition": "{{$self.value === 'data-model'}}",
                        "target": "*(connector,connectorMethod,connectorParams,datasourceVariable)",
                        "state": {
                            "display": false
                        }
                    },
                    {
                        "_comment": "APIs才显示的",
                        "type": "value:state",
                        "target": "*(connector,connectorMethod,connectorParams)",
                        "condition": "{{$self.value === 'custom-connector'}}",
                        "state": {
                            "display": true
                        }
                    },
                    {
                        "_comment": "APIs隐藏的",
                        "type": "value:state",
                        "target": "*(groupKey,filterData,xFieldShow,xField,yFieldSubTitle,yField,datasourceVariable,dataModel,xStatistics)",
                        "condition": "{{$self.value === 'custom-connector'}}",
                        "state": {
                            "display": false
                        }
                    },
                    {
                        "_comment": "变量时才显示",
                        "type": "value:state",
                        "target": "*(datasourceVariable)",
                        "condition": "{{$self.value === 'variable'}}",
                        "state": {
                            "display": true
                        }
                    },
                    {
                        "_comment": "变量时不显示",
                        "type": "value:state",
                        "target": "*(connector,dataModel,xStatistics,groupKey,filterData,xFieldShow,xField,yFieldSubTitle,yField,connectorMethod,connectorParams)",
                        "condition": "{{$self.value === 'variable'}}",
                        "state": {
                            "display": false
                        }
                    },
                    {
                        "_comment": "给 connector-selector 设value属性",
                        "type": "value:schema",
                        "target": "connector",
                        "schema": {
                            "x-component-props": "{{{value:$value}}}"
                        }
                    }
                ],
                "x-props": {
                    "data-hidebind": true
                },
                "description": "数据源类型选择"
            },
            "dataModel": {
                "x-index": 50,
                "title": "数据模型",
                "type": "object",
                "x-category": "基础属性",
                "required": true,
                "properties": {
                    "name": {
                        "title": "数据模型名",
                        "type": "string"
                    },
                    "extra": {
                        "title": "数据模型属性",
                        "type": "object",
                        "properties": {
                            "viewId": {
                                "title": "数据模型视图id",
                                "type": "string"
                            },
                            "methodName": {
                                "title": "数据模型方法名",
                                "type": "object"
                            }
                        }
                    }
                },
                "x-component": "datasource-selector",
                "x-component-props": {
                    "methodName": "wedaAggregateData"
                },
                "x-props": {
                    "data-hidebind": true
                },
                "x-linkages": [
                    {
                        "type": "value:visible",
                        "target": "*(filterData)",
                        "condition": "{{ Boolean($self.value && $self.value.extra)}}"
                    },
                    {
                        "type": "value:schema",
                        "condition": "{{ $self.value && !!$self.value.name }}",
                        "target": "filterData",
                        "schema": {
                            "x-component-props": "{{{selectedDataSourceName: $self.value.name}}}"
                        }
                    },
                    {
                        "type": "value:visible",
                        "target": "*(xFieldShow,xField,xStatistics,xIsCountEmpty,yField)",
                        "condition": "{{ (Boolean($self.value && $self.value.extra)) }}"
                    },
                    {
                        "type": "value:state",
                        "condition": "{{ !!$self.value }}",
                        "target": "yField",
                        "state": {
                            "__datasourceName": "{{$self.value.name}}"
                        }
                    }
                ],
                "description": "展示模型数据的数据来源"
            },
            "datasourceVariable": {
                "type": "array",
                "items": {
                    "type": "object",
                    "properties": {
                        "XLabel": {
                            "type": "object",
                            "properties": {
                                "Name": {
                                    "type": "string"
                                },
                                "Value": {
                                    "type": "string"
                                }
                            },
                            "required": ["Name", "Value"]
                        },
                        "YLabels": {
                            "type": "array",
                            "items": {
                                "type": "object",
                                "properties": {
                                    "Name": {
                                        "type": "string"
                                    },
                                    "Value": {
                                        "type": "number"
                                    }
                                },
                                "required": ["Name", "Value"]
                            }
                        }
                    },
                    "required": ["XLabel", "YLabels"]
                },
                "x-index": 53,
                "title": "数据源变量",
                "x-category": "基础属性",
                "description": "数据源变量",
                "required": true,
                "display": false,
                "x-component": "variable-expression"
            },
            "connector": {
                "title": "APIs",
                "type": "object",
                "x-component": "connector-select",
                "x-index": 54,
                "required": true,
                "x-category": "基础属性",
                "x-props": {
                    "data-hidebind": true
                },
                "x-linkages": [
                    {
                        "type": "value:schema",
                        "target": "connectorMethod",
                        "schema": {
                            "x-component-props": {
                                "value": "{{$self.value}}"
                            }
                        }
                    }
                ],
                "description": "展示数据的APIs来源选择",
                "properties": {
                    "datasource": {
                        "type": "object",
                        "properties": {
                            "title": {
                                "type": "string",
                                "title": "API名"
                            },
                            "id": {
                                "type": "string",
                                "title": "ID"
                            },
                            "name": {
                                "type": "string",
                                "title": "数据源标识"
                            }
                        }
                    }
                }
            },
            "connectorMethod": {
                "title": "调用方法",
                "type": "object",
                "required": true,
                "x-component": "connector-method-select",
                "x-index": 55,
                "x-category": "基础属性",
                "x-component-props": {
                    "docUrl": "https://cloud.tencent.com/document/product/1301/71197#.E6.9F.B1.E7.8A.B6.E5.9B.BE.E3.80.81.E6.8A.98.E7.BA.BF.E5.9B.BE.E3.80.81.E9.A5.BC.E5.9B.BE",
                    "paramsSchema": {
                        "type": "object",
                        "properties": {
                            "outParams": {
                                "type": "object",
                                "properties": {
                                    "properties": {
                                        "type": "object",
                                        "properties": {
                                            "result": {
                                                "type": "object",
                                                "properties": {
                                                    "type": {
                                                        "const": "array"
                                                    },
                                                    "items": {
                                                        "type": "object",
                                                        "properties": {
                                                            "type": {
                                                                "const": "object"
                                                            },
                                                            "properties": {
                                                                "type": "object",
                                                                "properties": {
                                                                    "XLabel": {
                                                                        "type": "object",
                                                                        "properties": {
                                                                            "type": {
                                                                                "const": "object"
                                                                            },
                                                                            "properties": {
                                                                                "type": "object",
                                                                                "properties": {
                                                                                    "Value": {
                                                                                        "type": "object",
                                                                                        "properties": {
                                                                                            "type": {
                                                                                                "const": "string"
                                                                                            }
                                                                                        }
                                                                                    }
                                                                                },
                                                                                "required": ["Value"]
                                                                            }
                                                                        }
                                                                    },
                                                                    "YLabels": {
                                                                        "type": "object",
                                                                        "properties": {
                                                                            "type": {
                                                                                "const": "array"
                                                                            },
                                                                            "items": {
                                                                                "type": "object",
                                                                                "properties": {
                                                                                    "type": {
                                                                                        "const": "object"
                                                                                    },
                                                                                    "properties": {
                                                                                        "type": "object",
                                                                                        "properties": {
                                                                                            "Name": {
                                                                                                "type": "object",
                                                                                                "properties": {
                                                                                                    "type": {
                                                                                                        "const": "string"
                                                                                                    }
                                                                                                }
                                                                                            },
                                                                                            "Value": {
                                                                                                "type": "object",
                                                                                                "properties": {
                                                                                                    "type": {
                                                                                                        "const": "number"
                                                                                                    }
                                                                                                }
                                                                                            }
                                                                                        },
                                                                                        "required": ["Name", "Value"]
                                                                                    }
                                                                                }
                                                                            }
                                                                        }
                                                                    }
                                                                },
                                                                "required": ["XLabel", "YLabels"]
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        },
                                        "required": ["result"]
                                    }
                                }
                            }
                        }
                    }
                },
                "x-helper-text": "方法的出入参需满足组件要求，[查看文档](https://cloud.tencent.com/document/product/1301/71197#.E6.9F.B1.E7.8A.B6.E5.9B.BE.E3.80.81.E6.8A.98.E7.BA.BF.E5.9B.BE.E3.80.81.E9.A5.BC.E5.9B.BE)",
                "x-helper-text-color": "#E37318",
                "description": "展示数据的APIs调用方法选择"
            },
            "connectorParams": {
                "title": "查询入参",
                "type": "string",
                "x-component": "property-object-params-field",
                "x-component-props": {
                    "dataSourceKeyName": "connector",
                    "dataSourceValuePath": "datasource.name",
                    "methodNameKeyName": "connectorMethod",
                    "methodValuePath": "name",
                    "paramsKeyName": "connectorParams"
                },
                "x-index": 56,
                "x-category": "基础属性",
                "description": "对APIs调用方法获取的数据进行筛选过滤。支持对象类型，例如 {name:'',value:''}"
            },
            "filterData": {
                "title": "数据筛选",
                "x-index": 60,
                "x-component": "condition-select",
                "x-component-props": {
                    "dataSourceNamePropKey": "dataModel",
                    "customRelOptions": {
                        "string": [
                            {
                                "value": "eq",
                                "text": "等于"
                            },
                            {
                                "value": "neq",
                                "text": "不等于"
                            },
                            {
                                "value": "in",
                                "text": "包含"
                            },
                            {
                                "value": "nin",
                                "text": "不包含"
                            }
                        ],
                        "boolean": [
                            {
                                "value": "eq",
                                "text": "等于"
                            }
                        ],
                        "number": [
                            {
                                "value": "eq",
                                "text": "等于",
                                "type": "equal"
                            },
                            {
                                "value": "neq",
                                "text": "不等于",
                                "type": "unequal"
                            },
                            {
                                "value": "gt",
                                "text": "大于",
                                "type": "greater"
                            },
                            {
                                "value": "gte",
                                "text": "大于等于",
                                "type": "greater_or_equal"
                            },
                            {
                                "value": "lt",
                                "text": "小于",
                                "type": "less"
                            },
                            {
                                "value": "lte",
                                "text": "小于等于",
                                "type": "less_or_equal"
                            }
                        ],
                        "array": [
                            {
                                "value": "eq",
                                "text": "等于"
                            },
                            {
                                "value": "in",
                                "text": "包含"
                            }
                        ],
                        "object": [
                            {
                                "value": "eq",
                                "text": "等于"
                            },
                            {
                                "value": "in",
                                "text": "包含"
                            }
                        ],
                        "keyVarType": [
                            {
                                "value": "eq",
                                "text": "等于"
                            },
                            {
                                "value": "neq",
                                "text": "不等于"
                            },
                            {
                                "value": "gt",
                                "text": "大于"
                            },
                            {
                                "value": "lt",
                                "text": "小于"
                            }
                        ]
                    }
                },
                "x-props": {
                    "data-hidebind": true,
                    "data-hideBindValue": true,
                    "data-withBindMeta": true
                },
                "description": "可配置数据取值范围，可参见 数据筛选配置"
            },
            "setColor": {
                "type": "array",
                "title": "配色",
                "x-index": 70,
                "default": [
                    "#2A70E2",
                    "#46B690",
                    "#EDB539",
                    "#E46961",
                    "#4FB3D2",
                    "#805FDC"
                ],
                "x-component": "color-plate",
                "description": "当有多个数值字段或维度字段分组时，不同类别将按照不同配色展示，支持自定义色卡"
            },
            "xFieldShow": {
                "x-index": 80,
                "x-category": "基础属性",
                "x-component": "sub-category-title",
                "x-component-props": {
                    "text": "维度(X轴)"
                },
                "description": "选择 X 轴字段，支持统计空值。当选择日期、时间、日期时间类型字段时，支持选择统计维度"
            },
            "xField": {
                "type": "object",
                "title": "字段选择",
                "x-index": 90,
                "x-category": "基础属性",
                "x-component": "data-source-field-select",
                "x-component-props": {
                    "dataSourceNamePropKey": "dataModel",
                    "isMethod": true,
                    "disabledTypes": ["time"]
                },
                "x-linkages": [
                    {
                        "type": "value:schema",
                        "condition": "{{ !!$self.value }}",
                        "target": "xStatistics",
                        "schema": {
                            "enum": "{{$self.value.format ==='datetime' ? [{'label':'年','value':'y'},{'label':'月','value':'m'},{'label':'周','value':'w'},{'label':'日','value':'d'},{'label':'时','value':'h'},{'label':'分','value':'min'}] : ($self.value.format ==='date'? [{'label':'年','value':'y'},{'label':'月','value':'m'},{'label':'周','value':'w'},{'label':'日','value':'d'}] : []) }}"
                        }
                    },
                    {
                        "type": "value:visible",
                        "target": "*(xStatistics)",
                        "condition": "{{ $self.value && ($self.value.format ==='datetime' || $self.value.format ==='date') }}"
                    },
                    {
                        "type": "value:visible",
                        "target": "*(xIsCountEmpty)",
                        "condition": "{{ $self.value && ($self.value.format !=='datetime' && $self.value.format !=='date') }}"
                    }
                ],
                "description": "X轴数值字段选择"
            },
            "xStatistics": {
                "title": "统计维度",
                "type": "string",
                "x-category": "基础属性",
                "x-index": 100,
                "enum": []
            },
            "xIsCountEmpty": {
                "title": "显示空值坐标",
                "type": "boolean",
                "default": false,
                "x-index": 110
            },
            "yFieldSubTitle": {
                "x-index": 115,
                "x-component": "sub-category-title",
                "x-component-props": {
                    "text": "数值(Y轴)"
                }
            },
            "yField": {
                "type": "object",
                "title": "字段选择",
                "x-index": 120,
                "x-category": "基础属性",
                "x-component": "chart-y-field-select",
                "x-component-props": {
                    "isMethod": true,
                    "text": "编辑Y轴字段",
                    "dataSourceNamePropKey": "dataModel"
                },
                "x-linkages": [
                    {
                        "type": "value:visible",
                        "target": "*(groupKey)",
                        "condition": "{{ (!$self.value || !$self.value.numValue || $self.value.numValue.length<=1) && !!$self.__datasourceName }}"
                    }
                ],
                "description": "Y轴数值字段选择"
            },
            "groupKey": {
                "type": "object",
                "title": "分组",
                "x-index": 130,
                "x-category": "基础属性",
                "x-component": "data-source-field-select",
                "x-component-props": {
                    "dataSourceNamePropKey": "dataModel",
                    "isMethod": true,
                    "clearable": true
                },
                "x-linkages": [
                    {
                        "type": "value:state",
                        "target": "groupKeyTimeSpan",
                        "condition": "{{ !!$self.value }}",
                        "state": {
                            "value": "{{$self.value.format ==='datetime' ? 'y':$self.value.format ==='date'?'y':''}}"
                        }
                    },
                    {
                        "type": "value:visible",
                        "target": "*(groupKeyTimeSpan)",
                        "condition": "{{ $self.value && ($self.value.format ==='datetime' || $self.value.format ==='date') }}"
                    },
                    {
                        "type": "value:schema",
                        "condition": "{{ !!$self.value }}",
                        "target": "groupKeyTimeSpan",
                        "schema": {
                            "enum": "{{$self.value.format ==='datetime' ? [{'label':'年','value':'y'},{'label':'月','value':'m'},{'label':'周','value':'w'},{'label':'日','value':'d'},{'label':'时','value':'h'},{'label':'分','value':'min'}] : ($self.value.format ==='date'? [{'label':'年','value':'y'},{'label':'季','value':'q'},{'label':'月','value':'m'},{'label':'周','value':'w'},{'label':'日','value':'d'}]: []) }}"
                        }
                    }
                ],
                "description": "当 Y 轴仅选择一个字段时，支持根据某一固定字段对 X 轴进行分组展示。示例：X 轴为销售人员，分组为销售区域"
            },
            "groupKeyTimeSpan": {
                "title": "分组维度",
                "type": "string",
                "x-category": "基础属性",
                "x-index": 140,
                "enum": []
            },
            "legendShow": {
                "x-index": 145,
                "x-category": "基础属性",
                "x-component": "sub-category-title",
                "x-component-props": {
                    "text": "图例"
                }
            },
            "isLegend": {
                "title": "显示图例",
                "type": "boolean",
                "default": true,
                "x-category": "基础属性",
                "x-index": 150,
                "x-linkages": [
                    {
                        "type": "value:visible",
                        "target": "*(legend)",
                        "condition": "{{ $self.value }}"
                    }
                ]
            },
            "legend": {
                "title": "图例位置",
                "type": "string",
                "default": "bottom",
                "x-category": "基础属性",
                "x-index": 170,
                "enum": [
                    {
                        "value": "top",
                        "label": "上方"
                    },
                    {
                        "value": "bottom",
                        "label": "下方"
                    }
                ]
            },
            "divider": {
                "x-index": 175,
                "x-component": "Divider"
            },
            "propsTitle": {
                "x-index": 180,
                "x-component": "sub-category-title",
                "x-component-props": {
                    "text": "进阶属性"
                }
            },
            "xFieldShowHight": {
                "x-index": 185,
                "x-component": "sub-category-title",
                "x-component-props": {
                    "text": "维度(X轴)"
                }
            },
            "isXaxisName": {
                "title": "显示坐标轴名称",
                "type": "boolean",
                "default": true,
                "x-index": 190,
                "x-linkages": [
                    {
                        "type": "value:visible",
                        "target": "*(xAxisName)",
                        "condition": "{{ $self.value }}"
                    }
                ]
            },
            "xAxisName": {
                "title": "名称",
                "type": "string",
                "default": "",
                "x-index": 200
            },
            "isXaxisAxisLabelShow": {
                "title": "显示标签",
                "type": "boolean",
                "x-index": 210,
                "default": true
            },
            "isXaxisAxisTickShow": {
                "title": "显示X轴刻度线",
                "type": "boolean",
                "x-index": 220,
                "default": true
            },
            "isXaxisAxisLabelRotate": {
                "title": "文字自动倾斜",
                "type": "boolean",
                "x-index": 230,
                "default": false
            },
            "yFieldShow": {
                "x-index": 240,
                "x-component": "sub-category-title",
                "x-component-props": {
                    "text": "数值(Y轴)"
                }
            },
            "isYAxisSplitlineLinestyleWidth": {
                "title": "显示网格线",
                "type": "boolean",
                "x-index": 250,
                "default": true,
                "x-linkages": [
                    {
                        "type": "value:visible",
                        "target": "*(yAxisSplitlineLinestyleType)",
                        "condition": "{{ $self.value }}"
                    }
                ]
            },
            "yAxisSplitlineLinestyleType": {
                "title": "网格线线条",
                "type": "string",
                "default": "solid",
                "x-index": 260,
                "enum": [
                    {
                        "value": "solid",
                        "label": "实线"
                    },
                    {
                        "value": "dashed",
                        "label": "虚线"
                    },
                    {
                        "value": "dotted",
                        "label": "点线"
                    }
                ]
            },
            "yAxisMax": {
                "title": "最大值",
                "type": "number",
                "x-index": 270
            },
            "yAxisMin": {
                "title": "最小值",
                "type": "number",
                "x-index": 280
            },
            "isYAxisName": {
                "title": "显示Y轴名称",
                "type": "boolean",
                "x-index": 290,
                "default": true,
                "x-linkages": [
                    {
                        "type": "value:visible",
                        "target": "*(yAxisName)",
                        "condition": "{{ $self.value }}"
                    }
                ]
            },
            "yAxisName": {
                "title": "名称",
                "type": "string",
                "default": "",
                "x-index": 300
            },
            "isYAxisShow": {
                "title": "显示数值",
                "type": "boolean",
                "x-index": 310,
                "default": true,
                "description": "数值(Y轴)显示数值"
            },
            "dataTagShow": {
                "x-index": 320,
                "x-component": "sub-category-title",
                "x-component-props": {
                    "text": "数据标签"
                }
            },
            "isSeriesShowSymbol": {
                "title": "显示数值",
                "type": "boolean",
                "x-index": 330,
                "default": true,
                "description": "数据标签显示数值"
            },
            "unitShow": {
                "x-index": 340,
                "x-component": "sub-category-title",
                "x-component-props": {
                    "text": "显示单位"
                }
            },
            "isUnit": {
                "title": "显示单位",
                "type": "boolean",
                "x-index": 350,
                "x-props": {
                    "data-hidebind": true
                },
                "default": false,
                "x-linkages": [
                    {
                        "type": "value:visible",
                        "target": "*(unit,decimalDigits,suffix)",
                        "condition": "{{ $self.value }}"
                    }
                ]
            },
            "unit": {
                "type": "number",
                "title": "数值量级",
                "x-index": 360,
                "default": 1,
                "x-component": "select",
                "enum": [
                    {
                        "label": "个",
                        "value": 1
                    },
                    {
                        "label": "十",
                        "value": 10
                    },
                    {
                        "label": "百",
                        "value": 100
                    },
                    {
                        "label": "千",
                        "value": 1000
                    },
                    {
                        "label": "万",
                        "value": 10000
                    },
                    {
                        "label": "十万",
                        "value": 100000
                    },
                    {
                        "label": "百万",
                        "value": 1000000
                    },
                    {
                        "label": "千万",
                        "value": 10000000
                    },
                    {
                        "label": "亿",
                        "value": 100000000
                    }
                ],
                "x-component-props": {
                    "options": [
                        {
                            "label": "个",
                            "value": 1
                        },
                        {
                            "label": "十",
                            "value": 10
                        },
                        {
                            "label": "百",
                            "value": 100
                        },
                        {
                            "label": "千",
                            "value": 1000
                        },
                        {
                            "label": "万",
                            "value": 10000
                        },
                        {
                            "label": "十万",
                            "value": 100000
                        },
                        {
                            "label": "百万",
                            "value": 1000000
                        },
                        {
                            "label": "千万",
                            "value": 10000000
                        },
                        {
                            "label": "亿",
                            "value": 100000000
                        }
                    ]
                },
                "x-linkages": [
                    {
                        "type": "value:state",
                        "target": "suffix",
                        "condition": "{{  $self.inputed && $self.value!==1 }}",
                        "state": {
                            "value": "{{$self.props.enum.find(s=>s.value===$self.value) ? $self.props.enum.find(s=>s.value===$self.value).label: '' }}"
                        }
                    },
                    {
                        "type": "value:state",
                        "target": "suffix",
                        "condition": "{{  $self.inputed && $self.value===1 }}",
                        "state": {
                            "value": ""
                        }
                    }
                ]
            },
            "decimalDigits": {
                "title": "小数位数",
                "type": "number",
                "default": 0,
                "x-props": {
                    "max": 10,
                    "min": 0
                },
                "x-index": 370,
                "x-linkages": [
                    {
                        "type": "value:state",
                        "target": "decimalDigits",
                        "condition": "{{ $self.value == '' || isNaN($self.value) || $self.value < 0 }}",
                        "state": {
                            "value": 0
                        }
                    }
                ]
            },
            "suffix": {
                "title": "后缀",
                "type": "string",
                "default": "",
                "x-index": 380
            }
        }
    },
    "events": [],
    "meta": {
        "title": "柱状图",
        "description": "用于报表场景下展示数据之间大小的对比。",
        "icon": "../../icons/Bar.svg",
        "category": "图表",
        "categoryOrder": 600,
        "componentOrder": 550,
        "visible": ["APP"]
    },
    "configMeta": {
        "docsUrl": "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/chart/Bar"
    }
}
