Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Commits on Jan 21, 2013
  1. @dnschnur
  2. @dnschnur

    Merge pull request #934 from NIA/threshold-fixes

    dnschnur authored
    flot.threshold: insert generated series after original, not in the end
Commits on Jan 18, 2013
  1. @NIA

    flot.threshold: insert generated series after original, not in the end

    NIA authored
    Thus, prevent it from becoming topmost (it may cause strange looks if
    original series is not topmost: some part of it becomes topmost and
    overwrites some lines and points that should be above it instead).
Commits on Jan 14, 2013
  1. @dnschnur

    Merge pull request #929 from hizhengfu/master

    dnschnur authored
    Fix an error in plot offset calculation.
  2. @hizhengfu

    Correction calculation error margin

    hizhengfu authored
    Correction calculation error margin 
Commits on Jan 13, 2013
  1. @dnschnur

    Merge pull request #861 from thecountofzero/master

    dnschnur authored
    Ensure that tickSize updates on subsequent calls to setupGrid.
Commits on Jan 12, 2013
  1. @dnschnur

    Cleaned up jQuery plugins site manifest.

    dnschnur authored
    Fixed jQuery version dependency (we require 1.2.6, not 1.3.2) and
    whitespace.
  2. @dnschnur

    Updated Bower component.json version info.

    dnschnur authored
    Flot's semver is 0.8.0-alpha, and it (for now) requires jQuery 1.2.6,
    not 1.3.2.
  3. @dnschnur

    Merge pull request #843 from ralphholzmann/bower

    dnschnur authored
    Adding component.json for bower.
  4. @dnschnur
Commits on Jan 11, 2013
  1. @dnschnur

    Merge pull request #911 from dnschnur/series-zero-option

    dnschnur authored
    Added a series 'zero' option to control automatic scaling.
  2. @dnschnur

    Draw selection on half-pixels to avoid aliasing.

    dnschnur authored
    Adapted from pull request #17.
  3. @dnschnur

    Merge pull request #925 from danxshap/master

    dnschnur authored
    Always draw crosshair on half-pixels to prevent aliasing.
  4. @danxshap
  5. @dnschnur

    Merge pull request #923 from NIA/patch-1

    dnschnur authored
    Add passing offsets over plotpan event
Commits on Jan 10, 2013
  1. @dnschnur
  2. @dnschnur
  3. @dnschnur
  4. @dnschnur

    Mirror the zero option to the categories plugin.

    dnschnur authored
    Due to limitations in our plugin architecture, the categories plugin
    duplicates code from Flot's core for adding a dummy point to snap the y
    axis to zero.  We can get rid of this duplication in 0.9; for now we'll
    just update the duplicate to match the change in core that introduced
    the new 'zero' option.
  5. @dnschnur

    Restrict zero to bars and filled lines only.

    dnschnur authored
    This also includes a tweak to zero's default.  Previously zero only
    received a value if lines were visible; now it always receives a value,
    matching the behavior of other contextual options.
  6. @NIA

    Add passing offsets over plotpan event

    NIA authored
    Unified this behavior with plotzoom event as in pull #34 flot/flot@1b6c4e9
  7. @dnschnur

    Fixed jQuery 1.2.6 mouseleave issue from #920.

    dnschnur authored
    Use bind, rather than .mouseleave, because we officially still support
    jQuery 1.2.6, which doesn't define a shortcut for mouseenter or
    mouseleave.  This was a bug/oversight that was fixed somewhere around
    1.3.x.  We can return to using .mouseleave when we drop support for
    1.2.6.
Commits on Jan 3, 2013
  1. @dnschnur
  2. @dnschnur

    Merge pull request #918 from jtward/patch-1

    dnschnur authored
    Change evaluation order for calculating percentage.
  3. @jtward

    Change evaluation order for calculating percentage

    jtward authored
    Rounding errors are introduced when calculating the percentage when the total is 100 (for example if percentages have already been calculated). Calculating (total/100) first eliminates the error in this case.
Commits on Dec 23, 2012
  1. @dnschnur

    Update auto-scaling to support the zero option.

    dnschnur authored
    Added a format option 'autoscale' that controls whether the given point
    is considered when determining an automatic scale.
    
    The lines & bars 'zero' option controls whether autoscale is set on the
    dummy point that is inserted to create the series lower-bound.
  2. @dnschnur

    Added a 'zero' option for lines and bars.

    dnschnur 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.
Commits on Dec 22, 2012
  1. @dnschnur

    Enforce left-to-right canvas layout orientation.

    dnschnur 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.
  2. @dnschnur

    Prevent color generation with all fixed indexes.

    dnschnur 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.
  3. @dnschnur
  4. @dnschnur
Commits on Dec 21, 2012
  1. @dnschnur
  2. @dnschnur

    Merge pull request #910 from dnschnur/pie-resize-fix

    dnschnur authored
    Allow the pie chart to redraw on resize or update.
  3. @dnschnur

    Allow the pie to redraw on resize or update.

    dnschnur authored
    When a pie's labels don't fit within its container, the pie is redrawn
    with a smaller radius until the labels fit, or a fixed number of retry
    attempts are exhausted. The redraw flag was not reset on success,
    however, which prevented the pie from being redrawn again after a resize
    or update.
  4. @dnschnur

    Check dimensions on draw, not just on startup.

    dnschnur authored
    Previously the container dimensions were checked only once, which
    prevented the pie from changing in size as its container was resized.
Something went wrong with that request. Please try again.