function setUpTangle () {
var element = document.getElementById("barchart");
var tangle = new Tangle(element, {
initialize: function () {
this.length = 50;
},
update: function () {
element.style.width = "" + this.length + "%";
}
});
};
<div id="barchart" style="color:blue; height:50px;">
<span data-var="length" class="TKAdjustableNumber" data-min="1" data-max="100"></span>
</div>
--
You received this message because you are subscribed to a topic in the Google Groups "Tangle Talk" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tangle-talk/c104SSM0qA4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tangle-talk...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.