Don’t know if this will help but this is my gauge code…
Function Form1_onshow()
'Cast Speed Gauge...
$("#CastSpd").jqxGauge({ startAngle: 40, endAngle: 300 })
$("#CastSpd").jqxGauge("max", 8)
$("#CastSpd").jqxGauge({ labels: { position: "inside" }})
$("#CastSpd").jqxGauge({ ticksDistance: "2px" })
$("#CastSpd").jqxGauge({ labels: { distance: "25px", interval: 1, position: "none", offset: [0, -10] }})
$("#CastSpd").jqxGauge({ border: { showGradient: True, size: "10%", style: { fill: "#0A1CF5",stroke: "#F4F5FF"}, visible: True }})
$("#CastSpd").jqxGauge({ style: { fill: "#E7E9FE", stroke: "#E7E9FE" }})
$("#CastSpd").jqxGauge({ pointer: { pointerType: "default", style: { fill: "#ff0000", stroke: "#ff0000" }, length: "90%", width: "10%", visible: True }})
$("#CastSpd").jqxGauge({ cap: { size: "10%", style: { fill: "#ff0000", stroke: "#00ff00" } , visible: True }})
$("#CastSpd").jqxGauge({ ticksMinor: { size: "10%", interval: .5, style: { stroke: "#0A1CF5", "stroke-width": 1 }, visible: True }})
$("#CastSpd").jqxGauge({ ticksMajor: { size: "20%", interval: 1, style: { stroke: "#0A1CF5", "stroke-width": 2 }, visible: True }})
'$("#CastSpd").jqxGauge({ caption: { value: "2.2", position: "bottom", offset: [0, 5], visible: True }})
'$("#CastSpd").jqxGauge("value", 2.2)
'Water Flow Gauge...
$("#WaterFlow").jqxGauge({ startAngle: 40, endAngle: 300 })
$("#WaterFlow").jqxGauge("max", 800)
$("#WaterFlow").jqxGauge({ labels: { position: "inside" }})
$("#WaterFlow").jqxGauge({ ticksDistance: "2px" })
$("#WaterFlow").jqxGauge({ labels: { distance: "25px", interval: 100, position: "none", offset: [0, -10] }})
$("#WaterFlow").jqxGauge({ border: { showGradient: True, size: "10%", style: { fill: "#0A1CF5",stroke: "#F4F5FF"}, visible: True }})
$("#WaterFlow").jqxGauge({ style: { fill: "#E7E9FE", stroke: "#E7E9FE" }})
$("#WaterFlow").jqxGauge({ pointer: { pointerType: "default", style: { fill: "#ff0000", stroke: "#ff0000" }, length: "90%", width: "10%", visible: True }})
$("#WaterFlow").jqxGauge({ cap: { size: "10%", style: { fill: "#ff0000", stroke: "#00ff00" } , visible: True }})
$("#WaterFlow").jqxGauge({ ticksMinor: { size: "10%", interval: 50, style: { stroke: "#0A1CF5", "stroke-width": 1 }, visible: True }})
$("#WaterFlow").jqxGauge({ ticksMajor: { size: "20%", interval: 100, style: { stroke: "#0A1CF5", "stroke-width": 2 }, visible: True }})
'$("#WaterFlow").jqxGauge({ caption: { value: "550", position: "bottom", offset: [0, 5], visible: True }})
'$("#WaterFlow").jqxGauge("value", 550)
and code goes on…
Then I call Ajax to get values from server…
req=Ajax("getdata.php",done)
Then on Ajax done, I display values…
$("#CastSpd").jqxGauge({ caption: { value: sValues(26), position: "bottom", offset: [0, 5], visible: True }})
$("#CastSpd").jqxGauge("value", CSng(sValues(26)))
$("#WaterFlow").jqxGauge({ caption: { value: sValues(27), position: "bottom", offset: [0, 5], visible: True }})
$("#WaterFlow").jqxGauge("value", CSng(sValues(27)))
Rodney