Hello All,
I am new at this so my ignorance will shine brightly. I am trying to connect the $(‘#gaugecontainer’).jqxGauge(‘value’, 9000); to a csv file so it can update automatically. I have used the following code but cannot get it to work….I am hoping someone can assist me with this problem….Thanks-In-Advance….
$(document).ready(function () {
var source = {
datafields: [{ name: ‘request’ }],
datatype: “csv”,
url: ‘dashboard/databases/district1wr.txt’
}
var dataAdapter = new $.jqx.dataAdapter(source);
$(‘#district1wrdial’).bind(‘valueChanging’, function (e) {
$(‘#district1wrdialvalue’).text(Math.round(e.args.value));
});
var value = $(‘#district1wrdial’).jqxGauge(‘request’);