I have a meter widget that I send values to via curl. The arc of the meter appears, but it never shows the value on the arc; that is, the meter's arc is a single light gray color. Here's a sample of what I send to it:
{"auth_token": "myAw3s0metOken", "value": 34}
That updates the displayed value properly, but it does not change the meter graphic at all. The graphic appears as would be expected with a value of 0. Here's the widget from my .erb file:
<div data-id="testmeter" data-view="Meter" data-title="Used Space %" data-min="0" data-max="100"></div>
Any suggestions about why the meter graphic does not update to reflect the sent value? Thank you.
I have a meter widget that I send values to via curl. The arc of the meter appears, but it never shows the value on the arc; that is, the meter's arc is a single light gray color. Here's a sample of what I send to it:
{"auth_token": "myAw3s0metOken", "value": 34}
That updates the displayed value properly, but it does not change the meter graphic at all. The graphic appears as would be expected with a value of 0. Here's the widget from my .erb file:
<div data-id="testmeter" data-view="Meter" data-title="Used Space %" data-min="0" data-max="100"></div>
Any suggestions about why the meter graphic does not update to reflect the sent value? Thank you.