The Exploded Doughnut Chart widget
The Exploded Doughnut Chart widget displays multi-dimensional data proportions with customizable inner and outer radii for each series.
Chart Style
An exploded doughnut chart is a type of pie chart. Unlike a basic pie chart, it allows you to customize the inner and outer radius of each series, creating a more layered and flexible data display.

Settings Panel
- Search for Configurations: In the right-side panel of Canvas Editor, click the Settings tab, and click Search for Configurations in the upper-right corner. Enter the required configuration item in the search box, and click the search icon to quickly locate the configuration item. Fuzzy match is supported. For more information, see Search for Configurations.
- Size: indicates the size of a widget, including its pixel width and height. You can click the
icon to proportionally adjust the width and height of a widget. After you click this icon again, you can adjust the width and height as needed. - Position: the position of a widget, which is indicated by pixel X and Y coordinates. X-coordinate indicates the pixel distance between the upper-left corner of the widget and the left border of the canvas. Y-coordinate indicates the pixel distance between the upper-left corner of the widget and the upper border of the canvas.
- Rotation Angle: the angle of a rotation that uses the center point of a widget as the rotation point. The unit is degrees (°). You can use one of the following methods to control the rotation angle of a widget:
- Directly enter the degrees in the Rotation Angle spin box or click the plus sign (+) or minus sign (-) to increase or decrease the value in the Rotation Angle spin box.
- Drag the black dot in the
icon. - Click the
icon to horizontally flip a widget. - Click the
icon to vertically flip a widget.
- Opacity: the opacity of a widget. Valid values: 0 and 1. If this parameter is set to 0, the widget is hidden. If this parameter is set to 1, the widget is completely displayed. Default value: 1.
-
Chart

-
Chart Style
Outer Border Color: the color of the outermost circle in the pie chart. For more information, see the color picker description.
-
Value Label: Click the
icon to enable the label style. Parameter
Description
Text
The font style, text weight, font size, and color of the numeric label text.
Real Value
Turn on the switch to display the actual value; turn off the switch to display the percentage.
Decimal Places
The number of decimal places for the displayed value. Available only when the real value switch is off.
-
Category Label: the style of the category label. Click the
icon to show or hide the category label. Text: the font style, weight, font size, and color of the category label text.
-
Label Leader Line: the position of the label leader line in the chart. Click
the icon to show or hide the label leader line. Parameter
Description
Distance from Label to Center
The horizontal distance between the label and the center of the pie chart. Valid values: 0 to 1.
Distance from Vertex to Center
The vertical distance between the label and the center of the pie chart. Valid values: 0 to 1. If the value is too small, the leader line may overlap with the center.
-
Legend: the legend style of the chart. Click the
icon to show or hide the legend. Parameter
Description
Text
The font style, weight, size, and color of the legend text. For more information, see color picker instructions.
Layout
The layout of legend items relative to each other.
-
Padding
-
Horizontal Padding: The distance between adjacent legends on the left and right sides. This parameter takes effect only when multiple series exist.
-
Vertical Padding: the distance between the legend and the upper and lower boundaries of the widget.
-
-
Position: the position of the legend relative to the start coordinates of the widget. Valid values: Top Left, Top Center, Top Right, Bottom Left, Bottom Center, and Bottom Right.
-
-
-
Coordinate Axes: the radial axis style of the pie chart.

Parameter
Description
Radius
The radius of the radial axis. The value is the proportion of the component height. Valid values: 0 to 1.
Grid Lines
The grid line style of the polar axis. Click
the icon to show or hide grid lines. Color: the color of the grid lines.
-
Series

Data Series: Click the
or
icon on the right to add or delete a data series. Click the
or
icon to configure the arrangement style of multiple data series. Click the
icon to copy the selected data series configurations and add a data series with the same configurations. Parameter
Description
Color
The color of the sector under this series.
Inner Radius
The inner radius of the lower sector in this series. The value is the proportion of the radius of the pie chart. Valid values: 0 to 1.
Outer Radius
The outer radius of the lower sector in this series. The value is the proportion of the radius of the pie chart. Valid values: 0 to 1.
-
Other
-
Easing Animation: the animation effect of the chart. Click the
icon to enable or disable the animation. 
Parameter
Description
Animation Settings
-
Egging Effect: the easing effect of the animation. Multiple common easing effects are available.
-
Animations of All Series In Sequence: If turned on, the animation of each series plays in sequence. If turned off, all sectors animate simultaneously.
-
Reset to Zero: If turned on, each sector animates from zero on the first render. If turned off, each sector animates from its starting point on the first render.
Entrance Animation
The duration of the entrance animation when the widget first renders. Unit: ms.
Update Animation
-
Duration for Data Update: the duration of the animation when widget data is updated. Unit: ms.
-
Update from Latest Status: If turned on, the animation starts from the previous position when data is updated. If turned off, the animation starts from the initial position.
-
-
Tooltip: The tooltip that appears when you hover over or click a sector on the preview or published page. Click
the icon to enable or disable the tooltip. 
Parameter
Description
Fade Delay
The delay before the tooltip disappears after the trigger condition is no longer met. Unit: ms.
Trigger Mode
Trigger Action: the action that triggers the tooltip. Valid values: Hover and Click.
Text Style
The font style, weight, size, and color of the tooltip text.
Background Box
The background style of the tooltip.
-
Background Color: the background color of the tooltip.
-
Dimensions: the width and height of the tooltip. Unit: pixels. Click the
icon to enable or disable custom dimensions. -
Padding: the padding of the tooltip. Unit: pixels.
-
Offset
-
Horizontal Offset: the horizontal offset of the tooltip relative to the pointer. Unit: px.
-
Vertical Offset: the vertical offset of the tooltip relative to the pointer. Unit: px.
-
-
Border
-
Border Width: the border width of the tooltip. Unit: pixels.
-
Border Color: the border color of the tooltip.
-
-
-
Data Panel 
Configuration field description
|
Parameter |
Description |
|
x |
The category of each sector, which corresponds to the name of the series. |
|
y |
The value of each sector, which determines the percentage of each sector in the entire pie chart. |
| Parameter | Description |
| Controlled Mode | If you turn on the switch, data is not requested when a widget is initialized. Data requests are triggered only based on callback IDs or the method configured in Blueprint Editor. If you turn off the switch, data requests are automatically triggered. By default, the switch is turned off. |
| Auto Data Request | After you select the Auto Data Request check box, you can enable dynamic polling, and manually specify the polling interval. If you do not select this check box, data is not automatically requested. You must manually refresh the page to request data or use Blueprint Editor or callback ID events to trigger data requests. |
| Data Source | In the right-side panel of Canvas Editor, click the Data tab. Click Set next to Static Data. In the Configure Datasource panel, select a data source from the Data Source Type drop-down list. Enter code for data query in the code editor, click Preview Data Response to preview the response of the data source, and then view the response. For more information, see Configure asset data. |
| Data Filter | If you select the Data Filter check box, you can convert the data structure, filter data, and perform simple calculations. If you click the plus sign (+) next to Add Filter, you can configure the script for the data filter in the editor that appears. For more information, see Use the data filter. |
| Data Response Result | The response to a data request. If the data source changes, you can click the |
Interaction Panel
Select Enable to enable widget interactions. When a sector is clicked, a data request is triggered and a callback value is returned to dynamically load data for different sectors. By default, the x and y values in the data are returned. For more information, see Configure the callback ID of a ticker board component.
Configure interactions in Blueprint Editor
- In Canvas Editor, right-click a widget in the Layer panel and select Add to Blueprint Editor.
- Click the
icon in the upper-left corner of the page. -
In Blueprint Editor, click Exploded Doughnut Chart in the Imported Nodes pane. You can view the donut chart parameters in the canvas, as shown in the following figure.

-
Event
Event
Description
On Completion of Data Interface Request
Triggered after a data interface request succeeds and the response is processed by a filter. Returns the processed JSON data. For specific data examples, see the Data Response Result section of the Data tab in the right-side configuration panel.
On Failure of Data Interface Request
Triggered when a data interface request fails due to network issues or interface errors. Returns the processed JSON data after filter processing. For specific data examples, see the Data Response Result section of the Data tab in the right-side configuration panel.
On Click of Data Item
Triggered when a sector is clicked. Returns the data item of the clicked sector.
-
Action
Action
Description
Request Data Interface
Requests server data again, using data from an upstream processing node or layer node as query parameters. For example, if the API data source is
https://api.testand the data passed to Request Data Interface is{ id: '1'}, the final request URL ishttps://api.test?id=1.Import Data Interface
Imports pre-processed data in the widget's drawing format for redrawing, without requesting server data again. For specific data examples, see the Data Response Result section of the Data tab in the right-side configuration panel.
Highlight
Highlights the element corresponding to the data item. Example reference data:
return { "data": {}, "options": { "style": { "stroke": "#f00", "fill": "" }, "selectMode": "single", "cancelHighlightFirst": false } }Cancel Highlight
Cancels the highlighting of the element corresponding to the data item. Example reference data:
return { "data": {}, "options": { "mode": "single" } }Clear Widget
Clears widget data. No parameters are required.
Update Widget Configurations
Dynamically updates widget style configurations. In the Configuration panel, click Copy Configuration to Clipboard to obtain the configuration data. Then modify the style field in the data processing node in Blueprint Editor.
Show
The following example shows the widget.
return{ "animationType": "", "animationDuration": 1000, "animationEasing": "linear" }Hide
The following example shows the widget.
return{ "animationType": "", "animationDuration": 1000, "animationEasing": "linear" }Hide/Show
The following example shows whether to show or hide a widget.
return { "animationIn": { "animationType": "", "animationDuration": 1000, "animationEasing": "linear" }, "animationOut": { "animationType": "", "animationDuration": 1000, "animationEasing": "linear" } }Move
Moves a widget to a specified location. Example reference data:
return{ // The positioning type. to indicates absolute positioning, whereas by indicates relative positioning. The default value is to. "positionType": "to", // The location, which is indicated by the x and y coordinates. "attr": { "x": 0, "y": 0 }, // The animation type. "animation": { "enable": false, // The duration in which animation is displayed. "animationDuration": 1000, // The animation curve, which can be set to linear|easeInOutQuad|easeInOutExpo. "animationEasing": "linear" } }
-

icon to enable the label style. 

or
icon on the right to add or delete a data series. Click the
or
icon to configure the arrangement style of multiple data series. Click the
icon to copy the selected data series configurations and add a data series with the same configurations. 



