Commit bb0acac9 authored by David Schnur's avatar David Schnur

Give tick labels the 'tickLabel' class.

The tickLabel class is deprecated in favor of flot-tick-label, but we'll
continue to use it until the release of version 1.0.0, for
backwards-compatibility.
parent e3540717
...@@ -1274,7 +1274,7 @@ Licensed under the MIT license. ...@@ -1274,7 +1274,7 @@ Licensed under the MIT license.
var opts = axis.options, ticks = axis.ticks || [], var opts = axis.options, ticks = axis.ticks || [],
axisw = opts.labelWidth || 0, axish = opts.labelHeight || 0, axisw = opts.labelWidth || 0, axish = opts.labelHeight || 0,
layer = "flot-" + axis.direction + "-axis flot-" + axis.direction + axis.n + "-axis", layer = "flot-" + axis.direction + "-axis flot-" + axis.direction + axis.n + "-axis",
font = opts.font || "flot-tick-label"; font = opts.font || "flot-tick-label tickLabel";
for (var i = 0; i < ticks.length; ++i) { for (var i = 0; i < ticks.length; ++i) {
...@@ -2015,7 +2015,7 @@ Licensed under the MIT license. ...@@ -2015,7 +2015,7 @@ Licensed under the MIT license.
var box = axis.box, var box = axis.box,
layer = "flot-" + axis.direction + "-axis flot-" + axis.direction + axis.n + "-axis", layer = "flot-" + axis.direction + "-axis flot-" + axis.direction + axis.n + "-axis",
font = axis.options.font || "flot-tick-label", font = axis.options.font || "flot-tick-label tickLabel",
tick, x, y, halign, valign; tick, x, y, halign, valign;
surface.removeText(layer); surface.removeText(layer);
......
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