Hello.

How add tooltip to dojox.dgauges.CircularValueIndicator?



--
View this message in context: http://dojo-toolkit.33424.n3.nabble.com/Tooltip-for-CircularValueIndicator-tp3760348p3760348.html
Sent from the Dojo Toolkit mailing list archive at Nabble.com.

Search Discussions

  • Dmandrioli at Feb 20, 2012 at 9:17 am
    Hi,

    You can use dijit.Tooltip in event listeners defined in indicatorShapeFunc:

    var indicator = new CircularValueIndicator({
    indicatorShapeFunc: function(group){
    var pl = group.createPolyline([20, -6, 60, 0, 20, 6, 20,
    -6]).setFill("black").setStroke("white");
    pl.connect("onmouseenter", this, function(event){// Show tooltip});
    pl.connect("onmouseout", this, function(event){// Hide tooltip});
    return group;
    }
    });

    Damien

    --
    View this message in context: http://dojo-toolkit.33424.n3.nabble.com/Tooltip-for-CircularValueIndicator-tp3760348p3760834.html
    Sent from the Dojo Toolkit mailing list archive at Nabble.com.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupdojo-interest @
categoriesdojo
postedFeb 20, '12 at 5:23a
activeFeb 20, '12 at 9:17a
posts2
users2
websitedojotoolkit.org

2 users in discussion

Dmandrioli: 1 post Lexa45ru: 1 post

People

Translate

site design / logo © 2022 Grokbase