1. 23 Dec, 2012 1 commit
    • David Schnur's avatar
      Added a 'zero' option for lines and bars. · 126cb072
      David Schnur authored
      Area and bar plots normally use a minimum of zero, since their purpose
      is to show size, and using an auto-scaled minimum distorts the plot's
      meaning.  But this behavior is undesirable in cases where the plot type
      is used in more of a decorative sense.
      
      The zero option provides a way to control this behavior.  It defauls to
      true for bars and filled lines.
      126cb072
  2. 22 Dec, 2012 4 commits
    • David Schnur's avatar
      Enforce left-to-right canvas layout orientation. · d7c58b59
      David Schnur authored
      When the placeholder has (or inherits) the HTML 'dir' attribute or CSS
      'direction' we get unexpected results from text metrics, resulting in
      visual glitches on the axes.
      
      The suggested solution in #716 was to set ltr on the placeholder, but
      this introduces its own problems, since the user probably *does* expect
      rtl on items like the legend.  So we'll instead set ltr only on the
      canvases.
      
      We should review this behavior at some point; rtl is something we need
      to handle, not work around.  It also needs to be kept in mind as we move
      canvas-text into a plugin.  But for now this solution at least ensures
      consistent behavior.
      d7c58b59
    • David Schnur's avatar
      Prevent color generation with all fixed indexes. · a6414cac
      David Schnur authored
      As pointed out in a comment to #832, initializing maxIndex to zero
      results in the creation of a single color even when all indexes are
      fixed.
      a6414cac
    • David Schnur's avatar
      Tweak comparison order for clarity. · 88e0567b
      David Schnur authored
      88e0567b
    • David Schnur's avatar
      61c1cad9
  3. 21 Dec, 2012 6 commits
  4. 20 Dec, 2012 4 commits
  5. 13 Dec, 2012 1 commit
  6. 12 Dec, 2012 10 commits
  7. 08 Dec, 2012 1 commit
  8. 04 Dec, 2012 1 commit
  9. 03 Dec, 2012 3 commits
  10. 02 Dec, 2012 3 commits
  11. 01 Dec, 2012 6 commits