Skip to content
Commits on Nov 26, 2013
  1. @dnschnur

    Merge pull request #1200 from dnschnur/xaxis-plot-size-fix

    Don't add padding when there's no last tick.
    dnschnur committed Nov 25, 2013
  2. @dnschnur

    Merge pull request #1199 from dnschnur/line-height-default-fix

    Default lineHeight based on the font size.
    dnschnur committed Nov 25, 2013
  3. @dnschnur

    Merge pull request #1198 from dnschnur/axis-grid-fix

    Distinguish between the first and innermost axis.
    dnschnur committed Nov 25, 2013
Commits on Nov 25, 2013
  1. @dnschnur

    Default lineHeight based on the font size.

    Flot 0.8.0 used the default font size, typically derived from the
    placeholder, as the basis for the default lineHeight.  This produced
    incorrect results when a font.size was provided explicitly, and it
    differed from the placeholder’s CSS size.
    
    Fixed by waiting to default lineHeight until the actual font size has
    been resolved.  Fixes #1131.
    dnschnur committed Nov 24, 2013
  2. @dnschnur

    Don't add padding when there's no last tick.

    Flot 0.8 added logic to account for the size of axis tick labels and add
    padding around the edges of the plot, to prevent long labels from
    sticking out.  But it padded both sides equally, which is incorrect if
    the right/top side has no last axis label.
    
    Fixed by allocating padding per-side, and checking whether the last
    label would be shown before padding the top or right.  Fixes #1048.
    dnschnur committed Nov 24, 2013
  3. @dnschnur

    Distinguish between the first and innermost axis.

    The fix for #1056 caused a regression where grid lines were drawn for
    the innermost axes on both sides instead of just the first axis.
    Fixed by properly distinguishing the first axis in each direction from
    the innermost one on each side.  Fixes #1075.
    dnschnur committed Nov 24, 2013
Commits on Nov 24, 2013
  1. @dnschnur

    Merge pull request #1130 from thgreasi/master

    Added plot.destroy() method, to properly destruct and release memory of plots.
    dnschnur committed Nov 23, 2013
Commits on Nov 14, 2013
  1. @dnschnur
Commits on Nov 10, 2013
  1. @dnschnur

    Merge pull request #1180 from anthonyryan1/complex-not-bug

    :not(selector , selector) isn't actually a valid CSS selector
    dnschnur committed Nov 9, 2013
Commits on Nov 5, 2013
  1. @anthonyryan1

    :not(selector , selector) isn't actually a valid CSS selector

    jQuery's Sizzle is the only thing that this actually works in so jQuery will fail when it passes this directly to querySelectorAll()
    anthonyryan1 committed Nov 3, 2013
  2. @dnschnur
  3. @dnschnur

    Merge pull request #1182 from Holek/patch-1

    Add Ruby examples
    dnschnur committed Nov 5, 2013
Commits on Nov 4, 2013
  1. @Holek
  2. @Holek

    Add Ruby examples

    Holek committed Nov 4, 2013
  3. @dnschnur
  4. @dnschnur

    Merge pull request #1135 from coldford/master

    Fixed a bug where plotting a chart crashes if the placeholder doesn't have a font size
    dnschnur committed Nov 3, 2013
Commits on Nov 3, 2013
  1. @dnschnur
  2. @dnschnur

    Merge pull request #1160 from luisvsilva/master

    Fixed Issue #1159 - Bug Redrawing Legend when using custom container
    dnschnur committed Nov 3, 2013
Commits on Nov 2, 2013
  1. @dnschnur
Commits on Oct 30, 2013
  1. @dnschnur

    Merge pull request #1177 from exactamedia/labelWidth_bug

    fix label's maxWidth calculation
    dnschnur committed Oct 29, 2013
Commits on Oct 29, 2013
  1. @benjamingram
Commits on Oct 14, 2013
  1. @dnschnur
  2. @dnschnur

    Merge pull request #1084 from execjosh/stop-also-at-root-element

    Also stop at root when extracting CSS color
    dnschnur committed Oct 14, 2013
  3. Added curly braces to match flot style guidelines

    Luis Silva committed Oct 14, 2013
Commits on Oct 11, 2013
Commits on Sep 23, 2013
  1. @dnschnur
  2. @dnschnur
Commits on Sep 21, 2013
  1. @execjosh

    Also stop at root when extracting CSS color

    This change adds an additional check for whether the parent element
    is `null` or `undefined` in `$.color.extract`.  This can happen when
    working with elements that have not yet been added to the DOM under
    `<body>`.
    
    Consider the following example pie chart.
    
        var elm = $("<div />")
          .css({
            width: "240px"
          , height: "320px"
          })
        var data = [
          {label: "One", data: "33"}
        , {label: "Two", data: "33"}
        , {label: "Three", data: "33"}
        ]
        var opts = {
          legend: {
            show: true
          }
        , series: {
            pie: {
              show: true
            }
          }
        }
        $.plot(elm, data, opts)
        elm.appendTo($("body"))
    
    When flot inserts each legend row, it tries to use the same color as
    the corresponding graph part, unless it was explicitly specified in
    the options.  However, in this example, `$.color.extract` runs into
    an unexpected `null` reference because `<body>` is not an ancestor
    of `elm`.  Specifically, a `TypeError: Cannot read property
    'nodeName' of undefined` would be thrown.
    execjosh committed Jun 16, 2012
Commits on Sep 15, 2013
  1. @dnschnur

    Prevent options from becoming global.

    The pie plugin was a little too clever in its use of closures.  In
    processDatapoints it set canvas, target, and options for use in other
    functions.  Since options was not declared this meant that it became
    global.  Pages containing multiple pie plots therefore saw a range of
    weird effects resulting from earlier plots receiving some of the options
    set by later ones.  Resolves #1128, resolves #1073, resolves #1055.
    dnschnur committed Sep 15, 2013
  2. @dnschnur

    Clip the pie center only when using offset auto.

    If an explicit numeric offset was provided, we should not override it.
    The clipping is only meant to apply to the case where the center is
    moved to make room for the legend in 'auto' mode, anyway.
    dnschnur committed Sep 14, 2013
Commits on Sep 13, 2013
  1. Fixed a bug where plotting a chart crashes if the placeholder doesn't…

    … have a font size
    Craig Oldford committed Sep 13, 2013
Commits on Sep 11, 2013
  1. @dnschnur

    Merge pull request #1127 from brianpeiris/patch-1

    Link to PLUGINS.md
    dnschnur committed Sep 10, 2013
Commits on Sep 9, 2013
  1. @thgreasi
Commits on Sep 4, 2013
  1. @brianpeiris

    Link to PLUGINS.md

    brianpeiris committed Sep 4, 2013
Commits on Sep 1, 2013
  1. @dnschnur

    Merge pull request #1120 from EricByers/master

    Instantiate barLeft/barRight in Bar Highlighting Section
    dnschnur committed Sep 1, 2013
Something went wrong with that request. Please try again.