Commits on Mar 29, 2012
  1. Moving this colon inside the span allows you to style the labels to h…

    …ave space between the name and the value. Otherwise they are awkwardly orphaned, like ugly, unloved children.
    committed Mar 29, 2012
Commits on Mar 25, 2012
  1. @danvk
Commits on Mar 23, 2012
  1. @danvk

    destroy mouseUpHandler

    danvk committed Mar 23, 2012
  2. @danvk
  3. @danvk
  4. fix some trailing commas in dygraph-interaction-model.js

    Dan Vanderkam committed Mar 23, 2012
Commits on Mar 22, 2012
  1. @danvk

    Fix Issue 279: Strange animations when zooming animations are enabled…

    … and double click zooming
    danvk committed Feb 25, 2012
  2. @danvk
  3. @danvk
  4. update changes.html to reflect auto_tests

    Dan Vanderkam committed Mar 22, 2012
Commits on Mar 19, 2012
  1. @danvk

    Add support for touch gestures: swipe & pinch-to-zoom.

    The interactions are a bit slow at the moment, but we can work on that.
    danvk committed Mar 18, 2012
Commits on Mar 17, 2012
  1. @danvk

    Fix unboxed-spark test.

    display: "inline" elements cannot have an explicit width/height, but
    "inline-block" elements can.
    danvk committed Mar 17, 2012
  2. @danvk
Commits on Mar 13, 2012
  1. Merge branch 'master' of github.com:danvk/dygraphs

    Dan Vanderkam committed Mar 13, 2012
  2. Fix issue 255: date supplied as YYYY-MM-DD shows previous day's date...

    JavaScript date parsing is stunningly complex. This was broken by
    danvk@769e8bc
    
    The underlying issue is that new Date("YYYY-MM-DD") parses the date in
    UTC, but new Date("YYYY/MM/DD") parses it in the local time zone.
    Dan Vanderkam committed Mar 13, 2012
  3. @danvk

    Merge pull request #139 from klausw-g/stacked-NaN

    Fix NaN handling for stacked graphs.
    danvk committed Mar 13, 2012
  4. @klausw

    Fix NaN handling for stacked graphs.

    Dygraph was handling NaNs inconsistently, drawing lines and shaded areas
    for values encountered while stacking until it ran into a NaN, then
    stopping at that point due to NaN contagion, with the effect that it
    drew some lines and partial gaps.
    
    Change this to create a clean gap in the data by propagatng the NaN contagion
    in both directions.
    
    Note that users can preprocess the data to replace NaNs with zeros if
    they prefer that, but this should not happen by default since it's
    irreversible and can lead to confusing graphs that don't match actual
    data.
    klausw committed Mar 13, 2012
Commits on Mar 9, 2012
  1. @danvk
Commits on Mar 8, 2012
  1. @danvk
Commits on Mar 4, 2012
  1. @danvk

    Merge pull request #136 from klausw-g/non-logscale-x

    Keep the X axis ticks when logscale is set globally.
    danvk committed Mar 4, 2012
  2. @danvk

    Merge pull request #137 from klausw-g/highlight-stacked

    Fix highlighting for zoomed graphs
    danvk committed Mar 4, 2012
  3. @danvk
  4. @danvk

    Fix a bug involving calls to updateOptions() while panning.

    This showed up with data that gets updated periodically, i.e. the once/second
    updates in dynamic-update.html. Previously the chart would disappear whenever
    an update occurred.
    danvk committed Mar 4, 2012
Commits on Mar 2, 2012
  1. @klausw

    Fix connectSeparatedPoints, add test

    The original connectSeparatedPoints code renumbered points within series, with the effect that 'row' as used in setSelection didn't work as expected - it selects unrelated points.
    
    This change keeps the point numbering intact, and instead moves the logic to skip missing points to the canvas renderer and setSelection().
    
    A new auto_test confirms this behavior.
    klausw committed Mar 2, 2012
  2. @klausw
  3. Merge pull request #138 from klausw-g/highlight-series-gallery

    Pulled this in, thanks! (Dan, do lmk if this is an issue)
    Add closest-series highlighting demo to gallery
    Robert Konigsberg committed Mar 1, 2012
  4. @klausw

    Add closest-series highlighting demo to gallery

    This is a port of tests/series-highlight.html.
    klausw committed Mar 1, 2012
Commits on Mar 1, 2012
  1. @klausw

    Fix highlighting for zoomed graphs

    The code wasn't correctly applying the left boundary offset when converting a row index in the pruned data to/from a row index for the full data set.
    
    Add a getLeftBoundary_ helper method and replace the existing loops that attempted to find the first defined record. Not sure why it saves multiple boundaryIds anyway, the code assumes it can just use the first one.
    
    Also fix an apparently-invalid usage in getSelection().
    klausw committed Mar 1, 2012
  2. @klausw

    Keep the X axis ticks when logscale is set globally.

    Currently, setting {logscale: true} at the toplevel options with a
    numeric X axis attempts to use logarithmic ticks for the X axis too,
    with strange results since the X values aren't scaled logarithmically.
    This resulted in tests/logscale.html skipping the "6" and "8" numbers on
    the ticker, and the modified demo with a large X value shows the effect
    more clearly.
    
    This change wraps the numericTicks generator as numericLinearTicks,
    ignoring 'logscale' in its axis options, and uses that for the X axis
    numeric ticker. Arguably doing it the other way around would be clearer,
    but that would be a much larger refactoring.
    
    (Note that date-valued X axes as used in the stock demo weren't affected
    by this issue.)
    klausw committed Feb 29, 2012
Commits on Feb 29, 2012
  1. @danvk

    Merge pull request #135 from klausw-g/highlight-NaN-3

    New approach to fix NaN handling in highlighting
    danvk committed Feb 29, 2012
  2. @klausw
  3. @danvk

    Merge pull request #134 from timeu/bugfix_upstream

    Bugfix: Avoid getting stuck when the first datapoint has a NaN value
    danvk committed Feb 29, 2012
  4. @danvk

    Merge pull request #133 from klausw-g/fix-stuck-highlighting

    Fix stuck fading animation for series highlighting
    danvk committed Feb 29, 2012
  5. @timeu