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 ObjTextKnob module provides a text processing object that generates a circular, dial-like input control known as a "knob." It is designed to be used within the Axion text processing engine to create interactive, visually appealing controls for numeric input.
This module generates the necessary HTML and CSS to render a knob control using the jQuery.knob.js library. It also dynamically adds the required JavaScript and CSS files to the page resources. The knob displays a value, which can be adjusted by the user, and an optional label underneath.
The Process method accepts the following parameters:
| Parameter | Description | Type |
|---|---|---|
Param1 |
The initial value to display on the knob. | String |
Param2 |
An optional label to display below the knob. | String |
Param3 |
Not used. | - |
Param4 |
Not used. | - |
Param5 |
Not used. | - |
Param6 |
Not used. | - |
Param7 |
Not used. | - |
Param8 |
Not used. | - |
To create a knob control with a value of 75 and the label "CPU Usage", you can use the following syntax within a text field processed by the engine:
{knob:75:CPU Usage}
This will generate an interactive knob element on the page.
cythonize -3 -a -i ObjTextKnob.py
Compiling /home/axion/projects/axion/factory.text/ObjTextKnob.py because it changed..[1/1] Cythonizing /home/axion/projects/axion/factory.text/ObjTextKnob.py
Updated : 2025-10-02