bg3075

How to apply an offset to scalebar dijit?

Discussion created by bg3075 on Aug 14, 2013
Latest reply on Aug 15, 2013 by ZachLiu
Can someone help me to apply an offset to the scalebar dijit? In my application, due to multiple panes and interactivity, the "attachTo:" property alone does not work for me.
var scalebar = new esri.dijit.Scalebar({
                    map: map,
                    attachTo:"top-right",
                    scalebarUnit: "english"
                });

Outcomes