
NOTICE: All information contained herein is, and remains
the property of TechnoCore.
The intellectual and technical concepts contained
herein are proprietary to TechnoCore and dissemination of this information or reproduction of this material
is strictly forbidden unless prior written permission is obtained
from TechnoCore.
The ObjTextGauge object is responsible for rendering a client-side gauge chart. It replaces the deprecated Google Image Charts API with the modern, animated JustGage.js library.
The object generates the necessary HTML and JavaScript to create a responsive SVG-based gauge.
Process(Param1: str, Param2: str, Param3: str, ...)This method takes the parameters needed to configure and render the gauge.
Parameters:
Param1 (str): The numerical value to display on the gauge. Defaults to 0.Param2 (str): The title or label to display above the gauge. Defaults to an empty string.Param3 (str): The maximum value of the gauge. Defaults to 100.Returns:
Example Usage:
gauge = ObjProcessText()
# Create a gauge with a value of 75, a title of "CPU Usage", and a max value of 100
gauge_html = gauge.Process(Param1="75", Param2="CPU Usage", Param3="100")
print(gauge_html)
This will output the necessary code to render a gauge like this:

(Image from justgage.com)