Renders a single-value radial bar (gauge) chart using ApexCharts, with colours drawn from the def_colour_palette table.
Radial bar — set as ReportType in def_report.
def Render(self, Param1="", Param2="", Param3="") -> str:
Returns an HTML <div> and inline <script> that initialise an ApexCharts radialBar chart. The query must return a single numeric value (the percentage to display). The chart centre label is set to the last field name from the query. Colours are loaded from fullhouse.axion.def_colour_palette and applied as the chart colour array.
Requires apexcharts/apexcharts. Colour palette is fetched at render time from the database (colour_1 through colour_10).