10-25-2019, 12:53 AM
I have a gauge rendered on my form using the raphael jquery library. The gauge renders correctly using the following code (placed inside a script property of a div element):
How can I change the "value" from Intraweb so that the gauge updates? I know it's probably simple, but I can't see an easy way to update a jquery element's value from Delphi/Intraweb.
Any help would be greatly appreciated.
Code:
$('.PEERSON').kumaGauge({
value : 20,
showNeedle : false,
valueLabel : {display : true,
fontColor : '#000',
fontSize : 20},
title : {
// show or hide this label
display : true,
// String the value of the title
value : 'PEERS ON',
// The font family of this label
fontFamily : 'Arial',
// The font color of this label
fontColor : '#000',
// Integer of The font size of this label (without px)
fontSize : 20,
// The font weight of this label
fontWeight : 'normal'
}
});
How can I change the "value" from Intraweb so that the gauge updates? I know it's probably simple, but I can't see an easy way to update a jquery element's value from Delphi/Intraweb.
Any help would be greatly appreciated.