RectangularRangeIndicator format like triangular using dojo

iroveb

New Member
I'm trying to add an indicator to my vertical gauge but the format of the indicator is like a triangle, but I want it a large line.This is JSFIDDLE example.The code : \[code\] require(['dojo/parser', 'dojox/dgauges/components/default/VerticalLinearGauge','dojox/dgauges/RectangularRangeIndicator', 'dojo/domReady!'], function (parser, VerticalLinearGauge) { parser.parse(); var ri = new dojox.dgauges.RectangularRangeIndicator(); ri.set("start",0 ); ri.set("value", 30); ri.set("startThicknesstroke",100); ri.set("endThicknesstroke",100); gauge.getElement("scale").addIndicator("ri", ri, false); });\[/code\]
 
Back
Top