How to design it in Power Apps
Preview
What does it consist of?
Procedure
Step 1 - create main container
Add a new Vertical Container PCF object, call it "multilevel_pie_chart" with this "DropShadow" property:
Step 2 - create header
Add a new Horizontal Container PCF object, call it "header_chart" with default properties.
Add a new Text Input object under "header_chart", call it "title_chart" with this "Text" property:
Add a new Dropdown PCF object under "header_chart", call it "year_chart" with this "Items" property:
Instead of default static items, you can connect your SharePoint or Dataverse table.
Step 3 - create content
Add a new Manual Container PCF object, call it "content_chart" with default properties.
Add 4 new Text Input objects under "content_chart", call it "value_1/2/3/4" with this "Text" property:
Add 4 new Circle objects under "content_chart", call it "ellipse_1/2/3/4" with this "Fill" property:
RGBA(209, 106, 81, 1)
RGBA(232, 189, 179, 1)
RGBA(238, 216, 209, 1)
RGBA(245, 235, 235, 1)
This is an output:
How to design it in Figma
Preview
What does it consist of?
Procedure
Step 1 - create a vertical frame with auto layout
Add a new Frame (F command) with vertical auto layout (SHIFT + A command) object, call it "vercont_multilevel_pie_chart" with these properties:
Step 2 - create a header frame
Add a new Frame (F command) with horizontal auto layout (SHIFT + A command) object, call it "horcont_header_chart" with these properties:
Add a new Text (T command) uder "horcont_header_chart" frame , call it "lbl_title_chart" with these properties:
Open DesignKit 3.5 version and add new Dropdown PCF component with "dropdownpcf_year_chart" name:
Step 3 - create a content frame
Add a new Frame (F command) object, call it "cont_content_chart" with these properties:
Add 4 new Texts (T command) object, call them "lbl_value_1/2/3/4" with these properties:
Add 4 new Ellipses (O command) object, call them "ci_ellipse_1/2/3/4" with these properties:
This is an output:
How to use it via DesignKit
Prerequisites
the designed component according to the instructions from the previous section Used Prefixes
vercont_multilevel_pie_chart = Vertical Container horcont_header_chart = Horizontal Container cont_content_chart = Manual Container dropdownpcf_year_chart = Dropdown YAML Output
Used Colours
Ellipses Colours - #D16A51,#E8BDB3,#EED8D1,#F5EBEB