1. 27 May, 2013 2 commits
    • David Schnur's avatar
      Fix incorrect check for the innermost axis. · 1f9e3ba7
      David Schnur authored
      An axis is innermost when it's first among those not just in its
      direction, but also on its side, i.e. left/right, of the plot. So the
      inArray check should be against the samePosition list, not all.
      Resolves #1056.
      1f9e3ba7
    • David Schnur's avatar
      Always set the axis innermost property. · ed3f1489
      David Schnur authored
      It doesn't make sense to calculate the innermost property only when no
      tickLength has been provided; the two have little to do with each other.
      ed3f1489
  2. 23 May, 2013 1 commit
  3. 22 May, 2013 3 commits
  4. 08 May, 2013 2 commits
  5. 06 May, 2013 2 commits
  6. 05 May, 2013 3 commits
  7. 28 Apr, 2013 4 commits
  8. 27 Apr, 2013 2 commits
  9. 26 Apr, 2013 2 commits
  10. 24 Apr, 2013 1 commit
    • goorpy's avatar
      Override colors array after extend in parseOptions · fccc8a6e
      goorpy authored
      (Realted to flot issue #1031: https://github.com/flot/flot/issues/1031)
      
      Currently, if the user declares a custom color palette with less than 5 colors (say, n), $.extend(true, options, opts) only modifies the first n colors of the default palette and leaves the last 5-n in place. When the number of series is >n, colors are used that are not part of user-defined palette, contrary to description of colors array in API.
      
      This line overrides the extended colors array and replaces it with exactly the user-defined colors array, when present. Afterwards, the user color palette is respected by the auto tinting/shading system for when there are more series than colors.
      fccc8a6e
  11. 23 Apr, 2013 1 commit
  12. 21 Apr, 2013 1 commit
  13. 20 Apr, 2013 2 commits
  14. 19 Apr, 2013 2 commits
  15. 13 Apr, 2013 2 commits
    • David Schnur's avatar
      Updated credits for #1016 exception fix. · a2503c2e
      David Schnur authored
      a2503c2e
    • David Schnur's avatar
      Initialize time-mode support in processOptions. · ec7322e4
      David Schnur authored
      Resolves #1016.  Initialization consists of adding the tickGenerator and
      tickFormatter functions to each axis.  This should happen exactly once
      per plot, but since the code was previously using the processDatapoints
      hook, it was called once per series.  When no series were present, it
      ran zero times, triggering an exception when we later checked for the
      existence of the functions.
      
      Binding to the processOptions hook ensures that the axes are always
      modified once, regardless of how many series there are.  The axes are
      already initialized by the point the hook runs, so this change shouldn't
      cause any problems.
      ec7322e4
  16. 12 Apr, 2013 3 commits
  17. 10 Apr, 2013 1 commit
  18. 08 Apr, 2013 3 commits
  19. 06 Apr, 2013 2 commits
    • David Schnur's avatar
      Updated credits for #987, #861, and #1000. · f3976977
      David Schnur authored
      f3976977
    • David Schnur's avatar
      Always recalculate tickDecimals and tickSize. · 209fe533
      David Schnur authored
      Resolves #1000.  In Flot 0.7 we only calculated tickDecimals and
      tickSize once, when creating the tickGenerator for the first time.  This
      meant that calls to setupGrid failed to recalculate the values, as
      reported in #860.  #861 fixed the problem by moving calculation into
      tickGenerator, but this turned out to cause a new problem, since the
      function doesn't run when an explicit ticks array is provided.
      
      This commit solves both by always recalculating the values outside of
      the tickGenerator function.  As far as I can tell the only reason it
      wasn't done this way from the beginning was to avoid unnecessary work in
      the case where tickGenerator is already provided in the options.  But
      the extra work is negligible, and it's actually more consistent for the
      properties to always be set.
      209fe533
  20. 03 Apr, 2013 1 commit
    • David Schnur's avatar
      Switch back to 'middle' baseline rendering. · 35a16ae7
      David Schnur authored
      Ole's original implementation used 'middle', which I switched away from.
      After a great deal of testing it turns out that 'middle' does in fact
      provide the most consistent results, so we're switching back to it.
      35a16ae7