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

Fix bug in backwards compatibility code for multi-axis support, reported by

mystic414 (issue 393)


git-svn-id: https://flot.googlecode.com/svn/trunk@265 1e0a6537-2640-0410-bfb7-f154510ff394
parent 48ae5047
...@@ -262,7 +262,7 @@ ...@@ -262,7 +262,7 @@
if (options.yaxis.noTicks && options.yaxis.ticks == null) if (options.yaxis.noTicks && options.yaxis.ticks == null)
options.yaxis.ticks = options.yaxis.noTicks; options.yaxis.ticks = options.yaxis.noTicks;
if (options.x2axis) { if (options.x2axis) {
options.y2axis.position = "top"; options.x2axis.position = "top";
options.xaxes[1] = options.x2axis; options.xaxes[1] = options.x2axis;
} }
if (options.y2axis) { if (options.y2axis) {
......
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