]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
hoverMode: "single" tooltips
authorTanner Linsley <tannerlinsley@gmail.com>
Tue, 12 May 2015 21:47:24 +0000 (15:47 -0600)
committerTanner Linsley <tannerlinsley@gmail.com>
Tue, 12 May 2015 21:47:24 +0000 (15:47 -0600)
src/Chart.Core.js

index f3b000806f738bcbc1eb14f4d0593c5110a8d7b2..db7d16da42f8214a5c072f6ea71b0b11c5e5711c 100755 (executable)
                        switch(this._options.hoverMode){
                                case 'single':
                                        helpers.extend(this, {
-                                               text: template(this._tooltipTemplate, this._active)
+                                               text: template(this._options.tooltipTemplate, this._active)
                                        });
                                        return this;