Renders a stacked ApexCharts bar chart by pivoting data rows into named series grouped along a sorted x-axis.
Apex Stacked — set as ReportType in def_report.
def Render(self, Param1="", Param2="", Param3="") -> str:
No parameters are used. The query must return three columns: x-axis category (column 0), series label (column 1), and numeric value (column 2). Field names at indices 0 and 2 are used as the x-axis and y-axis titles respectively. The x-axis categories are sorted before rendering. Returns an HTML string with an inline <script> block.
Requires the apexcharts/apexcharts resource script. The y-axis tick count is fixed at 10. Colours are resolved at runtime from fullhouse.axion.def_colour_palette and fullhouse.axion.def_colour. A fallback hardcoded colour list is defined in the class but is not used at runtime. Title is suppressed when rendered as a widget.