<div id="example" class="meter-example"></div>
var meter = new hx.Meter('#example')
meter.value({
unitText: 'Completed',
total: 1000,
completed: 642,
tracker: 570,
marker: 870,
markerText: 'Marker: ' + 870
})
.meter-example {
width: 100%;
height: 100%;
min-height: 100px;
}
meter.value({
unitText: 'Completed',
total: 1000,
completed: 246,
tracker: 570,
marker: 120,
markerText: 'Marker: ' + 120
})