
# propertiesConfig
#### 字段介绍
propertiesConfig是一个数组，用于保存组件配置项的相关字段，包括数据接入配置、组件配置项。
图1propertiesConfig配置示例   
![](https://support.huaweicloud.com/usermanual-astrocanvas/zh-cn_image_0000002123027648.png "点击放大")
#### 数据接入配置
数据接入配置详细介绍，请参见[组件数据接入](https://support.huaweicloud.com/usermanual-astrocanvas/astrocanvas_05_7120.html)。
#### 组件配置项
配置示例如下，配置后效果如[图2]所示，组件配置项详细介绍请参见[表1]。
```
{
      migrateFrom: 'advancedSettings',
      headerTitle: { zh_CN: '数据映射', en_US: 'Data Mapping' },
      belong: 'configuration',
      config: [
        {
          type: 'select',
          name: 'commonProps.emphasisFocus',
          label: { zh_CN: '高亮时淡出', en_US: 'Emphasis Focus' },
          value: 'series',
          options: [
            {
              label: { zh_CN: '不淡出其它图形', en_US: 'None' },
              value: 'none',
            },
            {
              label: { zh_CN: '只聚焦当前高亮的数据的图形', en_US: 'Self' },
              value: 'self',
            },
            {
              label: { zh_CN: '聚焦当前高亮的数据所在的系列的所有图形', en_US: 'Series' },
              value: 'series',
            },
          ],
        },
        {
          type: 'tab',
          name: 'commonProps.showLabel',
          label: { zh_CN: '显示标签', en_US: 'Emphasis Focus' },
          value: true,
          options: [
            {
              label: { zh_CN: '显示', en_US: 'Show' },
              value: true,
            },
            {
              label: { zh_CN: '隐藏', en_US: 'Hide' },
              value: false,
            },
         ],
       },
    ],
 },
```
图2propertiesConfig配置设置后效果   
![](https://support.huaweicloud.com/usermanual-astrocanvas/zh-cn_image_0000002123027652.png "点击放大")
 表1组件配置项说明 
| 字段          | 类型     | 示例                                                         | 说明                                                                                                                                            |
|:---|:---|:---|:---|
| migrateFrom | String | migrateFrom: "advancedSettings"                            | 固定写法，配置后非华为云Astro大屏应用平台右侧属性面板会过滤掉配置项。                                                                                                         |
| headerTitle | Object | headerTitle: { zh_CN: "行配置", en_US: "Row Configuration" }, | 标题，需要国际化。                                                                                                                                     |
| belong      | String | belong: "configuration",                                   | 归属于classfication中哪一个分类。                                                                                                                       |
| config      | Array  | config: \[\]                                               | config数组中，每一个对象保存的配置项信息。config中，配置项的介绍，请参见[组件配置项（Config配置）](https://support.huaweicloud.com/usermanual-astrocanvas/astrocanvas_05_7118.html)。 |
   
