Base class for all ApexCharts report types, providing the chart scaffold, RPC data-fetch loop, and series update mechanism.
APEXBASE — set as ReportType in def_report. Not intended to be used directly; subclasses override self.Type to select the ApexCharts series type.
def Render(self, Param1="", Param2="", Param3="") -> str:
Param1, Param2, and Param3 are injected into the SQL query via $param1$, $param2$, and $param3$ token replacement and are also forwarded with every RPC call so the browser can refresh data without a page reload. Returns an HTML string containing a <div> chart mount point and a <script> block.
GetTemplate()Produces the JavaScript scaffold: initialises an ApexCharts instance using options{chart_id}, renders it immediately, and starts a setInterval timer that calls RemoteProcedureCall to fetch updated series data via RpcGetseries.
RpcGetseries(data)Server-side RPC handler. Substitutes $param1$, $param2$, $param3$, $user$, and $usergroups$ into the report's SQL query and returns the result of sql_get_series().
apexcharts.js) and axion.rpc.js.client_refresh (seconds) from def_report, converted to milliseconds.document.visibilityState !== "visible")._Height on the report definition._Aswidget = Y or -).forceNiceScale: true option is applied to the Y axis.