Skip to content
Commits on Jun 15, 2012
  1. @mbostock
Commits on May 31, 2012
  1. @mbostock

    Merge branch '1.2.0'

    mbostock committed
  2. @mbostock
Commits on May 15, 2012
  1. @mbostock

    Default graphite.summarize; metrics for rules.

    mbostock committed
    Graphite metrics now default to using summarize with the method "sum", so that
    even if you forget to apply a summarize, you get reasonable default behavior.
    This commit also adds metric supports for the rule primitive, so that you can
    display event markers (e.g., deploys) on top of other charts.
  2. @mbostock

    Merge branch '1.0.2'

    mbostock committed
  3. @mbostock

    Add summarize method for graphite metrics.

    mbostock committed
    This makes it easier to implement summarize correctly for Graphite metrics: the
    metric can use the associated context's step interval to determine the
    appropriate interval string for Graphite's summarize function.
Commits on May 10, 2012
  1. @mbostock
  2. @mbostock

    Fix a bug with missing data on first axis tick.

    mbostock committed
    By using select, we were inadvertantly overwriting the data of the first tick.
Commits on May 2, 2012
  1. @mbostock

    Simplify logic slightly.

    mbostock committed
  2. @mbostock
  3. @mbostock
Commits on Apr 25, 2012
  1. @mbostock

    Add metric.alias.

    mbostock committed
Commits on Apr 23, 2012
  1. @mbostock

    Release 1.0.0.

    mbostock committed
  2. @mbostock

    Comparison chart improvements.

    mbostock committed
    Use slightly darker colors for the primary metric for greater contrast. Observe
    the minimum value of the extent. Consistent overplotting.
  3. @mbostock
  4. @mbostock

    Remove version test.

    mbostock committed
  5. @mbostock

    Update README.

    mbostock committed
Commits on Apr 22, 2012
  1. @mbostock

    Fix a Firefox error.

    mbostock committed
Commits on Apr 21, 2012
  1. @mbostock

    Add the ability to dispose of contexts & charts.

    mbostock committed
    You can now stop a context by calling stop. You can also remove an associated
    horizon chart by calling horizon.remove on a given selection. Similar methods
    are available for the other chart components.
  2. @mbostock

    Slight tweak to logic.

    mbostock committed
  3. @mbostock
Commits on Apr 20, 2012
  1. @mbostock

    Expose context.metric.

    mbostock committed
    You can now write your own metric implementations. Hooray!
Commits on Apr 13, 2012
  1. @mbostock
Commits on Apr 6, 2012
  1. @mbostock
Commits on Apr 5, 2012
  1. @mbostock

    Fix a positioning bug with rule.

    mbostock committed
    Also, bump version to 0.1.0.
  2. @mbostock

    Fix race conditions and order dependence.

    mbostock committed
    Metrics are now stored in a single array, rather than creating a temporary copy.
    In addition, we make sure that new values are written to the correct place, even
    if multiple context change events are received while requests are in-flight.
    
    Metrics now listen to a "beforechange" event which occurs immediately before the
    "change" event, allowing the metrics to update their stored values (shifting, if
    necessary) before any charts attempt to display them. New values are appended to
    the end of the array on a successful "prepare" event, thus avoiding any conflict
    or temporary missing data. This also means that the first metric change event
    reports times that are consistent with change, rather than with prepare.
  3. @mbostock

    Fix bug in double-buffered update.

    mbostock committed
    The horizon chart gets notified by both the metric and the context, so we must
    distinguish between the two when shifting previously-drawn pixels.
  4. @mbostock

    Fix another potential race condition on change.

    mbostock committed
    If the valuesNext start time doesn't match the change start time, we must shift
    the values to match the display.
  5. @mbostock
  6. @mbostock
  7. @mbostock
  8. @mbostock

    Swap to new array on context change.

    mbostock committed
    This guarantees that the metric is consistent with the context. Previously, the
    metric was inconsistent after a successful request (from beforechange) and the
    next change event.
  9. @mbostock

    Avoid race condition using temporary array.

    mbostock committed
    Previously, we'd be missing values between the beforechange event and subsequent
    change event. Also, using a temporary array is safer for concurrent requests.
  10. @mbostock
  11. @mbostock
Something went wrong with that request. Please try again.