---
url: /v6.1/en-us/embed/iframe.md
---
# Customization Guide for Embedded Page Styles

After creating Dashboards and Charts using the HENGSHI SENSE platform, you can embed them into existing systems via iframes. To achieve a unified style, embedding iframes supports a variety of customization options.

![img](/images/topic/develop/embedded-share-dialog.png)

## Customize the iframe of the Dashboard

### Parameter List

The following parameters are supported when embedding a dashboard.

|Parameter Name|Parameter Function|Parameter Type|Parameter Value|
|----|----|----|----|
|copyright|This parameter controls the display status of the dashboard header and footer.|Boolean|Parameter values:true: Display header and footer, default is true. false: Do not display header and footer.|
|header|This parameter controls the display status of the dashboard header.|Boolean|Parameter values:true: Display header, default is true. false: Do not display header.|
|pager|This parameter controls the display status of the dashboard pager.|Boolean|Parameter values:true: Display pager, default is true. false: Do not display pager.|
|scrollable|This parameter controls the scrolling behavior within the dashboard.|Boolean|Parameter values:true: Supports scrolling within the dashboard, default is true. false: Does not support scrolling within the dashboard.|
|chartAccessible|This parameter controls the chart interaction behavior within the dashboard.|Boolean|Parameter values:true: Supports opening charts for interaction, default is true. false: Does not support opening charts for interaction.|
|background|This parameter sets the background color of the dashboard. If the dashboard theme has already set a background color, this parameter will not take effect.|String|Parameter value format: rgba(255,255,255,1).|
|wrapperBackground|This parameter sets the background color of the parent div element of the dashboard, which can override the dashboard theme background color.|String|Parameter value format: rgba(255,255,255,1).|
|chartTitleColor|This parameter sets the color of chart titles within the dashboard. It applies to all chart titles within the dashboard (excluding filters). Use with caution.|String|Parameter value format: rgba(255,255,255,1).|
|chartGap|This parameter sets the spacing between charts within the dashboard.|String|Parameter value should include pixel information, e.g., 10px.|

The following are deprecated parameters in the dashboard embedding scenario.

|Parameter Name|Parameter Function|Parameter Type|Parameter Value|Deprecation Notes|
|----|----|----|----|----|
|padding|This parameter sets the inner padding of the dashboard.|`String<number>`|Example value: 0 0 0 0|This parameter is no longer supported.|
|chartBackground|This parameter sets the background color of chart controls.|String|Example value: rgba(255,255,255,1)|This parameter is no longer supported.|
|chartPadding|This parameter sets the inner padding of charts.|`String<number>`|Example value: 0 0 0 0|This parameter is no longer supported.|
|borderRadius|This parameter sets the border radius of chart controls.|String|Example value: 2px|Follows the dashboard theme settings.|
|borderWidth|This parameter sets the border width of charts.|String|Example value: 1px|Follows the dashboard theme settings.|
|borderColor|This parameter sets the border color of charts.|String|Parameter value format: rgba(255,255,255,1)|Follows the dashboard theme settings.|
|borderStyle|This parameter sets the border style of charts.|String|Options: solid, dashed, dotted|Follows the dashboard theme settings.|
|filterPadding|This parameter sets the inner padding of filters.|`String<number>`|Example value: 0 0 0 0|This parameter is no longer supported.|

### Example

As shown in the dashboard below, the background color and chart title color are modified when embedding it.

Original dashboard link and style:

![img](/images/topic/develop/embedded-style-sample.png)

Embedded dashboard link and style:
`https://preview.hengshi.com/private/share/E454FF2E910B7B9445C8F66391B25CCA/dashboard/EC0E826AB75FD2AA2C3D755CF8374DD6C?wrapperBackground=rgba(180,246,254,1)&chartTitleColor=rgb(0,0,0)&copyright=false&scrollable=false`

![img](/images/topic/develop/embedded-style-sample-result.png)

## Customize the Chart iframe

### Parameter List

The following parameters are supported when embedding a chart.

|Parameter Name|Parameter Function|Parameter Type|Parameter Value|
|----|----|----|----|
|showAction|This parameter configures the interaction button in the top-right corner.|Boolean|Parameter values:true: Displays the interaction button in the top-right corner (default is true). false: Hides the interaction button in the top-right corner.|
|chartPadding| This parameter sets the chart's inner padding. |`String<number>`|Example parameter value: 0 0 0 0.|

The following parameters are deprecated and no longer supported.

|Parameter Name|Parameter Function|Parameter Type|Parameter Value|Deprecation Notes|
|----|----|----|----|----|
|noFilter |This parameter controls whether to display filters.|Boolean|Parameter values:true: Displays filters (default is true). false: Hides filters.  |Filters are no longer supported when embedding charts.|
|titleColor |This parameter sets the chart title color.|String|Example parameter value: rgba(255,255,255,1). |Chart titles are no longer displayed when embedding pages.|
|chartBackground |This parameter sets the chart background color.|String|Example parameter value: rgba(255,255,255,1). |The chart background color will be overridden by the theme background color used by the chart.|
