Skip to content

Commit

Permalink
updating example.html to be more consistent with flot plugin passing …
Browse files Browse the repository at this point in the history
…(plot, data, options)
  • Loading branch information
Jason Roman committed Dec 7, 2014
1 parent dba880a commit 5dc992d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
11 changes: 5 additions & 6 deletions example.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@
var dataVertical = [[0, 1], [1, 9], [2, 7], [3, 14], [4, 10], [5, 2]];
var dataHorizontal = [[1, 0], [9, 1], [7, 2], [14, 3], [10, 4], [2, 5]];

$.plot("#placeholder", [
$.plot("#placeholder", [dataVertical],
{
data: dataVertical,
bars: {
show: true,
barWidth: 0.9,
Expand All @@ -43,10 +42,10 @@
}
}
}
]);
$.plot("#placeholder-horizontal", [
);

$.plot("#placeholder-horizontal", [dataHorizontal],
{
data: dataHorizontal,
bars: {
show: true,
barWidth: 0.9,
Expand All @@ -63,7 +62,7 @@
}
}
}
]);
);
});

</script>
Expand Down
2 changes: 1 addition & 1 deletion jquery.flot.barnumbers.enhanced.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,4 +207,4 @@
version: '1.0'
});

})(jQuery);
})(jQuery);
2 changes: 1 addition & 1 deletion jquery.flot.barnumbers.enhanced.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5dc992d

Please sign in to comment.