widgets/bars/js/bars.js
function (div) {
        var visWidget = vis.views[vis.activeView].widgets[barsIntern.wid];
        if (visWidget === undefined) {
            for (var view in vis.views) {
                if (view === '___settings') continue;
                if (vis.views[view].widgets[barsIntern.wid]) {
                    visWidget = vis.views[view].widgets[barsIntern.wid];
                    break;
                }
            }
        }

        return visWidget;
    }
function (div) {
        var visWidget = vis.views[vis.activeView].widgets[barsIntern.wid];
        if (visWidget === undefined) {
            for (var view in vis.views) {
                if (view === '___settings') continue;
                if (vis.views[view].widgets[barsIntern.wid]) {
                    visWidget = vis.views[view].widgets[barsIntern.wid];
                    break;
                }
            }
        }

        return visWidget;
    }
function ( div ) { var visWidget = vis . views [ vis . activeView ] . widgets [ barsIntern . wid ] ; if ( visWidget === undefined ) { for ( var view in vis . views ) { if ( view === '___settings' ) continue ; if ( vis . views [ view ] . widgets [ barsIntern . wid ] ) { visWidget = vis . views [ view ] . widgets [ barsIntern . wid ] ; break ; } } } return visWidget ; }
Return widget for hqWidgets Button
Return widget for hqWidgets Button