Commit cd91f432 authored by olau@iola.dk's avatar olau@iola.dk

Remove getAxis function, nothing seems to use it and it is of dubious

quality anyway after the setupGrid refactoring


git-svn-id: https://flot.googlecode.com/svn/trunk@311 1e0a6537-2640-0410-bfb7-f154510ff394
parent 2ab5ce87
...@@ -167,12 +167,6 @@ ...@@ -167,12 +167,6 @@
return o; return o;
}; };
plot.getData = function () { return series; }; plot.getData = function () { return series; };
plot.getAxis = function (dir, number) {
var a = (dir == "x" ? xaxes : yaxes)[number - 1];
if (a && !a.used)
a = null;
return a;
};
plot.getAxes = function () { plot.getAxes = function () {
var res = {}, i; var res = {}, i;
$.each(xaxes.concat(yaxes), function (_, axis) { $.each(xaxes.concat(yaxes), function (_, axis) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment