diff --git a/jquery.flot.time.js b/jquery.flot.time.js index ee8639e..6421337 100644 --- a/jquery.flot.time.js +++ b/jquery.flot.time.js @@ -361,4 +361,10 @@ for details. version: '1.0' }); + // Time-axis support used to be in Flot core, which exposed the + // formatDate function on the plot object. Various plugins depend + // on the function, so we need to re-expose it here. + + $.plot.formatDate = formatDate; + })(jQuery);