Hi Dave,
Greetings from Syncfusion,
We have analyzed your query with the provided code snippet. You are using the refresh method after the setPointerValue method. In the setPointerValue method, you can pass the axis index, pointer index, and pointer value as parameters and with this method itself, the gauge will refresh with provided parameters, so there is no need to call the refresh method. But if you call the refresh method after the setPointerValue method, gauge refresh with present API’s in the sample level. If you want to change any instance of gauge, you can change and refresh by calling the refresh method. Otherwise, while using the public method like setPointerValue, you no need call the refresh method.
Please find the below code snippet to achieve this requirement,
gauge.setPointerValue(
0, // AxisIndex
0, // Pointer Index
pointerValue // Pointer Value
); |
Sample your reference, can be found from below link,
Kindly revert us, if you have any concerns.
Regards,
Dharani.