Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 2.7.2 #5145

Merged
merged 56 commits into from
Mar 1, 2018
Merged

Version 2.7.2 #5145

merged 56 commits into from
Mar 1, 2018

Commits on Nov 1, 2017

  1. Configuration menu
    Copy the full SHA
    ffbdb48 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7f751c8 View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2017

  1. Configuration menu
    Copy the full SHA
    3470982 View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2017

  1. Configuration menu
    Copy the full SHA
    95d7d8c View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2017

  1. Relax dependencies semver range (#4891)

    Prevent duplicate version of moment.js (which is pretty large) when an app also depends on moment (with less strict semver range)
    jsg2021 authored and simonbrunel committed Nov 7, 2017
    Configuration menu
    Copy the full SHA
    67479c2 View commit details
    Browse the repository at this point in the history
  2. Update extensions.md (#4930)

    Removed trailing space from waterfall-plugin.
    MartinDawson authored and etimberg committed Nov 7, 2017
    Configuration menu
    Copy the full SHA
    52790f6 View commit details
    Browse the repository at this point in the history
  3. Reset only when animating (#4923)

    benmccann authored and etimberg committed Nov 7, 2017
    Configuration menu
    Copy the full SHA
    d415e61 View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2017

  1. Configuration menu
    Copy the full SHA
    939756c View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2017

  1. Avoid tooltip truncation in x axis if there is enough space (#3998)

    * In tooltip x align calculation take into account caretSize
    
    Truncation up to caretSize pixels could happen if label text produced tooltip element with size width:
    * left side tooltip: width < x and width > x - caretSize
    * right side tooltip: width < chartWidth - x and width > chartWidth - x - caretSize
    Default caretSize = 5, so with default configuration truncation up to 5 pixels could happen.
    
    * avoid tooltip truncation if possible
    use whole chart area for displaying tooltip
    
    * in xAlign calculation take into account caretPadding
    
    * add tests for tooltip truncation avoid logic
    
    * use caretX instead of xCaret
    
    * fix lint errors
    kaidohallik authored and etimberg committed Nov 11, 2017
    Configuration menu
    Copy the full SHA
    683e86e View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2017

  1. Correctly handle stacked groups when not adjacent (#4937)

    Only the dataset index was used for indexing the stack
    jcopperfield authored and simonbrunel committed Nov 14, 2017
    Configuration menu
    Copy the full SHA
    447ca40 View commit details
    Browse the repository at this point in the history
  2. Fix bumpy line on smooth data set (#4944)

    Linear scale getPixelForValue() method doesn't round the returned value anymore.
    jcopperfield authored and simonbrunel committed Nov 14, 2017
    Configuration menu
    Copy the full SHA
    e080e78 View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2017

  1. add check on overwriting canvas height/width (#4874)

    * add check on overwriting canvas height/width
    
    * unit test for this
    andersponders authored and etimberg committed Nov 22, 2017
    Configuration menu
    Copy the full SHA
    6b824d9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8ce7a91 View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2017

  1. Configuration menu
    Copy the full SHA
    e2dd448 View commit details
    Browse the repository at this point in the history
  2. Fix issue #4441 - y-axis labels partially hidden due to restrictive i…

    …nitial fitting. (#4942)
    
    * Fix issue 4441:
     - y-axis labels partially hidden due to restrictive initial fitting.
    
    * Add regression test to linear scale
    
    * Moved regression test from linear scale to core layout service
    jcopperfield authored and etimberg committed Nov 25, 2017
    Configuration menu
    Copy the full SHA
    42d3d91 View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2017

  1. Fix scale options update (#4198)

    - allow options to be updated in-place or as a new object
    - re-merge new options and rebuild scales & tooltips
    - preserve reference to old scale if id/type not changed
    - related tests and new sample also added.
    - update document about options update
    - update doc and example
    xg-wang authored and simonbrunel committed Nov 29, 2017
    Configuration menu
    Copy the full SHA
    333f2eb View commit details
    Browse the repository at this point in the history

Commits on Nov 30, 2017

  1. Fix typos and broken links in the docs (#5010)

    beiz23 authored and simonbrunel committed Nov 30, 2017
    Configuration menu
    Copy the full SHA
    9a7182b View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2017

  1. Configuration menu
    Copy the full SHA
    b835df0 View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2017

  1. Implement equally sized bars (#4994)

    When `barThickness: undefined|null` (default), we compute an optimal sample size based on the smallest tick interval reduced to prevent any bar to overlap (bar equally sized). Also added support for a special `barThickness: 'flex'` value (previous default) that globally arranges bars side by side to prevent any gap when percentage options are 1 (variable bar sizes).
    simonbrunel authored Dec 2, 2017
    Configuration menu
    Copy the full SHA
    15d1056 View commit details
    Browse the repository at this point in the history
  2. Fix issue #4928: linear tick generator doesn't round values to needed…

    … precision. (#4943)
    
    * Fix issue 4928
     - linear tick generator doesn't round values to needed precision.
    
    * Improve: replace toPrecision() in toString() to improve readability.
    
    * Fix: logarithmic tick generator doesn't round values to needed precision.
    
    * Fix: rounding tick values didn't work for negative values.
    
    * Add: Core ticks tests
    jcopperfield authored and etimberg committed Dec 2, 2017
    Configuration menu
    Copy the full SHA
    6f34b22 View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2017

  1. Fix tooltip animation when target changes while animating (#5005)

    * Fix issue #4989
     - tooltip in 'index' mode doesn't animate smoothly.
    
    * Change: different approach for smooth tooltip animation in 'index'
            mode, when target doesn't change.
    
    * Fix: jslint error
    
    * Fix: remove spyOn pivot from test
    
    * Add: setAnimating-flag in transition used to set on tooltip.transition
         to keep track of tooltip animation.
    
    * Decrease code complexity
    
    * Revert transition and complexity changes
    Add: use 'tooltip._start' as workaround check for tooltip animation status
    jcopperfield authored and etimberg committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    4e47c17 View commit details
    Browse the repository at this point in the history
  2. Fix issues #4572 and #4703 (#4959)

    - issue #4572: logarithmic type if all numbers are zero browser crashes "Out of memory"
     - issue #4703: [BUG] Browser unresponsive on bubble chart with logarithmic axes
    jcopperfield authored and etimberg committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    f0bf395 View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2017

  1. Fix issue #5029 (#5041)

    - infinite loop in generating time axis, due to insufficient bounds checking.
    jcopperfield authored and etimberg committed Dec 14, 2017
    Configuration menu
    Copy the full SHA
    f9beedb View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2017

  1. Configuration menu
    Copy the full SHA
    b04ce94 View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2017

  1. Configuration menu
    Copy the full SHA
    ce1fc28 View commit details
    Browse the repository at this point in the history

Commits on Dec 23, 2017

  1. Optimization: prevent double ticks array reverse for vertical logarit…

    …hmic axis (#5076)
    
    with ticks option 'reverse: true'.
    jcopperfield authored and etimberg committed Dec 23, 2017
    Configuration menu
    Copy the full SHA
    92d033b View commit details
    Browse the repository at this point in the history

Commits on Dec 29, 2017

  1. Adding helpful note about legendCallback (#5094)

    I didn't realize you had to call generateLegend() manually and a quick search tells me that lots of other people have run into this too.
    cameroncf authored and simonbrunel committed Dec 29, 2017
    Configuration menu
    Copy the full SHA
    9874a75 View commit details
    Browse the repository at this point in the history

Commits on Dec 31, 2017

  1. Configuration menu
    Copy the full SHA
    fcd4633 View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2018

  1. Configuration menu
    Copy the full SHA
    33c7d94 View commit details
    Browse the repository at this point in the history
  2. Use the Chart.js shared ESLint config (#5112)

    An ESLint shareable config has been created (from this repository) in the attempt to homogenize Chart.js hosted projects and plugins style. Rename `.eslintrc` files to `.eslintrc.yml` since the name has been deprecated.
    
    Fix the CC badge (maintainability) and disable CodeClimate ESLint plugin because it doesn't support custom shareable config but also because it already executes relevant checks as part of the regular process.
    simonbrunel authored and etimberg committed Jan 6, 2018
    Configuration menu
    Copy the full SHA
    9ddb449 View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2018

  1. Make Chart.layout(Service) importable (#5113)

    Rename (and deprecate) `Chart.layoutService` to `Chart.layout` and make it importable.
    simonbrunel authored Jan 7, 2018
    Configuration menu
    Copy the full SHA
    ce27fe5 View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2018

  1. Make Chart.plugins importable (#5114)

    Explicitly deprecate (since 2.1.5) `Chart.Legend` and `Chart.Title`.
    simonbrunel authored Jan 8, 2018
    Configuration menu
    Copy the full SHA
    fb3ea03 View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2018

  1. Rename Chart.layout to Chart.layouts (#5118)

    Chart.layouts seems more consistent with other service names (Chart.plugins, Chart.scales, etc.) but also more inline with the service which handle many layout (one per charts).
    simonbrunel authored Jan 9, 2018
    Configuration menu
    Copy the full SHA
    6bea15e View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2018

  1. Fix GitBook error with the shared ESLint config (#5133)

    `gitbook-cli install` failed when trying to fetch eslint-config-chartjs because of the way it was installed (ie. using the GitHub repository URL). The shared config is now published on npmjs: https://www.npmjs.com/package/eslint-config-chartjs
    simonbrunel authored Jan 11, 2018
    Configuration menu
    Copy the full SHA
    1d5619d View commit details
    Browse the repository at this point in the history
  2. Ignore package-lock.json (#5138)

    simonbrunel authored and etimberg committed Jan 11, 2018
    Configuration menu
    Copy the full SHA
    2f5a3e1 View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2018

  1. Fix updating plugin options (#5144)

    Cached plugin descriptors hold a reference on the plugin options, which break if the plugin options object is replaced. That case happens when the user updates the plugin options with a new object, but also since the new config update logic (#4198) that now always clones the plugin options. The fix consists in explicitly invalidating that cache before updating the chart.
    simonbrunel authored and etimberg committed Jan 13, 2018
    Configuration menu
    Copy the full SHA
    2d7f0a4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    37ec838 View commit details
    Browse the repository at this point in the history
  3. Log gulp error to Chart.js (#5143)

    * Log errors and skip for buildTask
    
    * Write gulp error to Chart.js
    + Add intentional error to core to check if travis fails
    
    * Remove unused require
    
    * Remove error + Proper require fs
    
    * Fix newline
    
    * Refactor
    
    * Put back browser errors
    
    * Use options
    
    * Fix intentional error
    
    * Use yargs + Refactor
    
    * remove space
    
    * Fefactor
    
    * Use booleans
    loicbourgois authored and etimberg committed Jan 13, 2018
    Configuration menu
    Copy the full SHA
    e585c75 View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2018

  1. Configuration menu
    Copy the full SHA
    6d58a6a View commit details
    Browse the repository at this point in the history

Commits on Jan 21, 2018

  1. Configuration menu
    Copy the full SHA
    26c44cf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9a0117a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d668882 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f82c8ad View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    274fca6 View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2018

  1. Configuration menu
    Copy the full SHA
    98ef394 View commit details
    Browse the repository at this point in the history

Commits on Jan 28, 2018

  1. Configuration menu
    Copy the full SHA
    e61392a View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2018

  1. Fix Slack invitation link (#5217)

    Setup a new Heroku app based on rauchg/slackin, using Slack legacy token from the Chart.js (chartjs.slack@...) user and reCAPTCHA from the same Google account.
    simonbrunel authored and tannerlinsley committed Feb 1, 2018
    Configuration menu
    Copy the full SHA
    c268185 View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2018

  1. Configuration menu
    Copy the full SHA
    97ff458 View commit details
    Browse the repository at this point in the history

Commits on Feb 3, 2018

  1. Configuration menu
    Copy the full SHA
    182270e View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2018

  1. Configuration menu
    Copy the full SHA
    bba29e5 View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2018

  1. Configuration menu
    Copy the full SHA
    584d1c6 View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2018

  1. Support multiple font colors for radial chart labels (#5240)

    * Support multiple font colors in array
    
    * Address linting error
    flaurida authored and etimberg committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    d6ce5c0 View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2018

  1. Configuration menu
    Copy the full SHA
    be6660c View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2018

  1. Make both README.md and installation.md clearer (#5274)

    Address the ambiguity of "Selecting the Correct Build" section
    Wilson Lin authored and simonbrunel committed Feb 20, 2018
    Configuration menu
    Copy the full SHA
    c90cf2e View commit details
    Browse the repository at this point in the history
  2. Bugfix: Improve polyfill function of log10 to return whole powers of …

    …10 (#5275)
    
    * Bugfix: Improve polyfill function of log10 to return whole powers of 10
            as integer values, as it caused endless loop in IE11 in the tick
            creation loop.
    
    * Compare floating-point numbers directly instead of using unnecessary division.
    jcopperfield authored and etimberg committed Feb 20, 2018
    Configuration menu
    Copy the full SHA
    c2a5b12 View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2018

  1. Bump version to 2.7.2 (#5307)

    simonbrunel authored and etimberg committed Mar 1, 2018
    Configuration menu
    Copy the full SHA
    ac088a0 View commit details
    Browse the repository at this point in the history