Renders a single text value that auto-updates on a configurable interval by fetching it via RPC.
Inferred as STRINGRPC — set as ReportType in def_report.
def Render(self, Param1="", Param2="", Param3="") -> str:
Returns an HTML <div> containing the initial string value and an inline <script> that polls RpcGetstring via RemoteProcedureCall and updates the div's innerText on each tick. The initial value is taken from the first column of the query result, or from self._Query directly if no data rows are returned. The polling interval defaults to 1000 ms and can be overridden via self._Options.
RpcGetstring(data)Reads the report's query from def_report, substitutes $param1$ and $param2$, executes it, and returns the single result value.
Options read from self._Options JSON:
refresh — polling interval in milliseconds (default: 1000)Requires axion.rpc.js. Uses shortuuid to generate unique element IDs.