Skip to main content

Pie Progress

The Pie Progress Widget in Astroid displays one or more animated circular progress charts. Each chart shows a percentage value in its center, with an optional title and description below. It's ideal for showcasing skills, project completion, statistics, or goals.

pie-progress-frontend.png


โž• How to Add the Pie Progress Widgetโ€‹

๐Ÿ“ Step 1: Open the Layout Builderโ€‹

  1. Go to your Joomla Administrator Panel
  2. Navigate to: System โ†’ Site Template Styles โ†’ Click on your Astroid template
  3. Click the โ€œTemplate Optionsโ€ button
  4. Open the Layout tab
  5. Launch the Layout Builder

๐Ÿงฑ Step 2: Add the Widgetโ€‹

  1. Open the Astroid Layout Builder.
  2. Add a new Widget to your desired section.
  3. Select Pie Progress from the Utilities widget list.

add-element.jpeg

select-utilities.jpg


โš™๏ธ Main Configuration Settingsโ€‹

pie-progress-general.png

๐Ÿ—‚ General Settingsโ€‹

๐Ÿ“ Element Titleโ€‹

  • Description: The internal name of the widget, shown in the Layout Builder.

๐Ÿ“‹ Pie Progress Itemsโ€‹

  • Description: The list of pie charts to display. Click Add Item to create a new chart.
  • Each item can be reordered (drag the arrow icon), edited (โš™๏ธ), duplicated, or deleted.
  • See Pie Progress Item Settings below.

๐Ÿ“ Chart Sizeโ€‹

  • Description: The diameter of each pie progress chart.
  • Range: 50 โ€“ 1000 px
  • Responsive: Yes โ€“ set different values per device (Global, Large, Medium, Small...).
  • Example: 150px creates a chart with a diameter of 150 pixels.

๐Ÿ”  Chart Label Sizeโ€‹

  • Description: The width/height of the inner label circle that holds the percentage value. A larger value makes the ring thinner.
  • Range: 50 โ€“ 1000 px
  • Default: 100px. The stylesheet falls back to 70% of the Chart Size only when no --apb-label-size override is generated.
  • Responsive: Yes
  • Tip: Keep it smaller than the Chart Size so the progress ring stays visible.

๐ŸŽจ Chart Background Colorโ€‹

  • Description: The color of the chart track (the unfilled part of the circle).
  • Supports separate Light and Dark mode colors.
  • Example: #f0f0f0 (light gray).

๐ŸŽจ Chart Fill Colorโ€‹

  • Description: The color of the filled portion that represents the percentage value.
  • Supports Light and Dark mode colors.
  • Example: #3498db (blue).

โœ… Chart Done Colorโ€‹

  • Description: The color used when the chart reaches 100% (completed).
  • Supports Light and Dark mode colors.
  • Example: #2ecc71 (green).

๐Ÿท Chart Label Background Colorโ€‹

  • Description: The background color of the inner circle behind the percentage label.
  • Supports Light and Dark mode colors.
  • Example: #ffffff (white).

๐Ÿ–‹ Chart Label Colorโ€‹

  • Description: The text color of the percentage label.
  • Supports Light and Dark mode colors.
  • Example: #000000 (black).

๐Ÿงฉ Pie Progress Item Settingsโ€‹

Click the โš™๏ธ icon on an item to edit it. Remember to click Apply Changes after editing.

pie-progress-item.png

General Tabโ€‹

๐Ÿ“Š Percentโ€‹
  • Description: How much of the pie is filled.
  • Range: 0 โ€“ 100 %
  • Default: 75
โฑ Durationโ€‹
  • Description: The animation duration in milliseconds.
  • Range: 200 โ€“ 5000 ms
  • Default: 1200
  • Example: 2000 animates the chart over 2 seconds.
๐Ÿ“ Titleโ€‹
  • Description: The title displayed below the chart. Supports dynamic content.
๐Ÿ“„ Descriptionโ€‹
  • Description: Rich text content displayed below the title, edited with the WYSIWYG editor (or View Source for HTML). Supports dynamic content.

Advanced Tabโ€‹

๐Ÿ”— Dynamic Contentโ€‹
  • Description: Select a dynamic content source to populate the item's Title and Description automatically.

๐Ÿ”ฒ Grid Optionsโ€‹

Controls how the pie charts are arranged in columns on different devices.

๐Ÿ“ฑ column_responsiveโ€‹

  • Select the device to configure: XXL, XL, LG (default), MD, SM, XS.

๐Ÿงฎ Columnsโ€‹

  • Number of columns per row: 1 โ€“ 6 (or Inherit).
  • Defaults: LG: 3, MD: 1, SM: 1, XS: 1.

โ†•๏ธ Row Gutter / โ†”๏ธ Column Gutterโ€‹

  • Spacing between rows and columns: Collapse, X-Small, Small, Medium, Large, X-Large (or Inherit, except on XS).
  • Defaults: XXL/XL: Inherit, LG: Large, MD/SM/XS: Medium.

๐Ÿท Title Optionsโ€‹

title_html_elementโ€‹

  • HTML tag for the item title: h1 โ€“ h6 or div.
  • Default: h3

title_font_styleโ€‹

  • Typography settings for the title (font family, size, weight, color, etc.).

title_heading_marginโ€‹

  • Margin around the title (Top, Right, Bottom, Left).

๐Ÿ“„ Content Optionsโ€‹

content_font_styleโ€‹

  • Typography settings for the item description.

๐ŸŽž Animation & Advanced Settingsโ€‹

  • Animation: Apply an entrance animation to the whole widget.
  • Advanced: Configure spacing, background, border, custom CSS class/ID, and responsive visibility.

๐Ÿ“„ Assignment Settingsโ€‹

assignment_typeโ€‹

  • Controls where the widget is shown:
    • On All Pages
    • No Pages
    • Selected Pages

assignmentโ€‹

  • If you choose Selected Pages, assign the widget to specific menu items.

โœ… Final Notesโ€‹

The Pie Progress Widget is a clean, visual way to present percentages and achievements. With responsive sizing, light/dark color support, and grid control, it fits seamlessly into any section of your site.


๐Ÿ’ก Tipsโ€‹

  • Use the Chart Done Color to highlight completed goals (100%) with a distinct color.
  • Adjust the gap between Chart Size and Chart Label Size to control the ring thickness.
  • Use 3 or 4 columns on desktop and 1 column on mobile for the best layout.