# Config Chart of Options

## Cấu trúc

```javascript
{
    "ChartConfig":{
        "Charts":[
            {
                "type":"type of MyChart",
                "fX":"",
                "fY":"",
                "titleX":"",
                "titleY":"",
                "titleChart":"",
                "options":"String JSON",
                "more":"String JSON"
            }
        ],
        "Config":{
            "DefaultShowContent": false,
            "configExpand": null,
            "styleWrapTabContent": null
        }
    }
}
```

## Config of ChartConfig

| Field Name          | Default Value |                                                         |
| ------------------- | ------------- | ------------------------------------------------------- |
| DefaultShowContent  | false         | Có mặc định show chart ra luôn hay để ẩn trong expander |
| configExpand        | null          | Config của vùng Expander Chart                          |
| styleWrapTabContent | null          | Style overide của vùng content                          |

### Cấu hình Config of ChartConfig ở ScreenConfig

![](https://4184340828-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkB1AM4AVnySmhu7afT5X%2Fuploads%2FsElgkkmha6fKES9rpp90%2Fimage.png?alt=media\&token=c1e79b20-42c5-4e6d-b499-f635ce7c6938)
