Permalink
Browse files

Small documentation change

  -- variable names (className, data) out of order
  • Loading branch information...
1 parent 2db2c12 commit 32c80a4adc9b831e0e63f24c7f4a9f063aeca224 @calvinwiebe calvinwiebe committed Mar 8, 2013
Showing with 2 additions and 2 deletions.
  1. +1 −1 docs/docs.html
  2. +1 −1 docs/docs.json
View
@@ -141,7 +141,7 @@
<pre><code data-language="javascript">var line = xChart.getVis('line');
var myVis = {
- enter: function (self, storage, data, className) {
+ enter: function (self, storage, className, data) {
line.enter.apply(this, arguments);
// Do your custom actions here
},
View
@@ -282,8 +282,8 @@
"arguments": {
"self": "The xChart instance",
"storage": "A persistent object specific to this vis type for you to store data for later retrieval.",
- "data": "The data that should be used for drawing this vis.",
"className": "A set of CSS classNames, dot-separated, that are recommended to be appended to the main element of this vis."
+ "data": "The data that should be used for drawing this vis.",
}
},
"update": {

0 comments on commit 32c80a4

Please sign in to comment.