0

I am trying to create a chart with custom tool tip. You can see the JSFIDDLE example here.

I have added a custom tooltip which does not appear. I can see the event fires(with the help of console.log) but the tooltip somehow does not appear(as if the rendering is not not happening) :(

 var tip = new Tooltip(c, "default", {
            text: function (o) {
                console.log(o);
                return (o.y);
            }
        });

Any hint to help me going ?

4

1 回答 1

0

这只是工具提示缺少 CSS 的情况。我添加了链接

http://archive.dojotoolkit.org/nightly/dojotoolkit/dijit/themes/claro/claro.css

它工作得很好。谢谢

于 2013-11-13T11:35:16.193 回答