Skip to content

Commit

Permalink
docs(demo): Correct wrong option name
Browse files Browse the repository at this point in the history
onmouseXXX option to onover/onout

Fix #72
Close #73
  • Loading branch information
netil committed Jul 18, 2017
1 parent c1dbe3b commit 07b593f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions demo/demo.js
Expand Up @@ -325,8 +325,8 @@ var demos = {
],
type : 'pie',
onclick: function (d, i) { console.log("onclick", d, i); },
onmouseover: function (d, i) { console.log("onmouseover", d, i); },
onmouseout: function (d, i) { console.log("onmouseout", d, i); }
onover: function (d, i) { console.log("onover", d, i); },
onout: function (d, i) { console.log("onout", d, i); }
}
},
func: function(chart) {
Expand Down Expand Up @@ -361,8 +361,8 @@ var demos = {
],
type : 'donut',
onclick: function (d, i) { console.log("onclick", d, i); },
onmouseover: function (d, i) { console.log("onmouseover", d, i); },
onmouseout: function (d, i) { console.log("onmouseout", d, i); }
onover: function (d, i) { console.log("onover", d, i); },
onout: function (d, i) { console.log("onout", d, i); }
},
donut: {
title: "Iris Petal Width"
Expand Down Expand Up @@ -399,8 +399,8 @@ var demos = {
],
type: 'gauge',
onclick: function (d, i) { console.log("onclick", d, i); },
onmouseover: function (d, i) { console.log("onmouseover", d, i); },
onmouseout: function (d, i) { console.log("onmouseout", d, i); }
onover: function (d, i) { console.log("onover", d, i); },
onout: function (d, i) { console.log("onout", d, i); }
},
gauge: {
// label: {
Expand Down

0 comments on commit 07b593f

Please sign in to comment.