DDDharanidharan Dharmasivam Syncfusion Team November 9, 2018 04:08 AM
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,
0, // AxisIndex
0, // Pointer Index
pointerValue // Pointer Value
Sample your reference, can be found from below link,
PRPadmini Ramamurthy Syncfusion Team November 9, 2018 11:55 PM
From: Jamison, David S CTR (US) Sent: Friday, November 9, 2018 5:25 PM To: Syncfusion Support <firstname.lastname@example.org> Subject: RE: [Non-DoD Source] Syncfusion support community forum 140829, EJ2: Trying to dynamically set the value of the pointer in linear gauge, has been updated.
Thanks, that's what I needed.
DDDharanidharan Dharmasivam Syncfusion Team November 12, 2018 04:08 AM
Most welcome. Kindly revert us if you need any further assistance.