1. 02 Apr, 2013 1 commit
  2. 31 Mar, 2013 3 commits
    • David Schnur's avatar
      Fix incorrect default for xaxes/yaxes tickColor. · 55e671b7
      David Schnur authored
      The way in which xaxes/yaxes inherit options from xaxis/yaxis resulted
      in a minor bug, where tickColor defaulted to the xaxis/yaxis color
      instead of the color for its axis.  Fixed by applying the default before
      extending the per-axis options, resolving #984.
      
      There's still some questionable behavior here; this section should be
      revisited for 0.9, especially with an eye towards removing some of the
      code that only exists for backwards-compatibility.
      55e671b7
    • David Schnur's avatar
      4e8d8535
    • David Schnur's avatar
      A better fix for the font-size 'smaller' problem. · a1b4afc5
      David Schnur authored
      This resolves #991, replacing the earlier temporary patch.  It takes
      advantage of the fact that line-height can take the form of a unit-less
      integer, in which case it mirrors the font-size, even when it is
      something abstract, like 'smaller'.  We can then read the dummy
      element's height to learn the effective font-size.
      a1b4afc5
  3. 30 Mar, 2013 1 commit
    • David Schnur's avatar
      Replace the stylesheet hack with inline styles. · df0875e5
      David Schnur authored
      The purpose of the stylesheet hack was to provide a default without
      having to use inline styles on containers.  We can do this much more
      neatly by instead just giving the inline styles to a parent container,
      leaving users free to customize the children.
      df0875e5
  4. 14 Mar, 2013 1 commit
  5. 12 Mar, 2013 2 commits
  6. 11 Mar, 2013 1 commit
  7. 10 Mar, 2013 1 commit
    • David Schnur's avatar
      Ensure that axis lines align with their ticks. · 4e9c0c0b
      David Schnur authored
      Add an extra pixel to ensure that the lines cleanly join both top and
      bottom ticks.  Also apply the sub-pixel offset only in the necessary
      direction, so the lines don't start a pixel off from where they should.
      4e9c0c0b
  8. 07 Mar, 2013 2 commits
  9. 06 Mar, 2013 8 commits
  10. 05 Mar, 2013 4 commits
  11. 03 Mar, 2013 7 commits
  12. 02 Mar, 2013 1 commit
  13. 01 Mar, 2013 1 commit
  14. 27 Feb, 2013 3 commits
  15. 26 Feb, 2013 3 commits
    • rlinehan's avatar
      Make minSize customizable · 458656f3
      rlinehan authored
      Previously, the minimum size a selection could be was set at five
      pixels. This commit adds the ability to customize this value.
      458656f3
    • rlinehan's avatar
      Add option to always show selection rectangle · 51485c03
      rlinehan authored
      Previously, if the selected area was very small, the selection
      rectangle would not be displayed. This commit adds an "alwaysShow"
      option so that, when true, the selection rectangle will always be
      displayed. When the selected area is very small, the selection
      rectangle will become a line.
      51485c03
    • rlinehan's avatar
      Add option for lineJoin shape · 0a3db845
      rlinehan authored
      This commit adds an option for the shape of the corners of the
      selection rectangle. By default the shape is set to "round" (the
      previous setting for lineJoin). The other options are "bevel" and
      "miter".
      0a3db845
  16. 24 Feb, 2013 1 commit
    • David Schnur's avatar
      Break text styles into their own cache tier. · a2dd0645
      David Schnur authored
      Previously the cache was divided only by layer, with entries keyed on a
      string built from the text and style.  Now the style has its own tier in
      the cache, i.e. layers > styles > text > info.
      
      This introduces some complexity, since the nested for loops are ugly,
      but at the same time we avoid having to create the cache-key strings.
      More importantly it solves the problem of uniqueness that exists when we
      try to join strings that may contain arbitrary text.  It also allows a
      further optimization in the canvas plugin, which can now set text style
      and color just once per distinct style, instead of with every string.
      a2dd0645