]> git.ipfire.org Git - thirdparty/Chart.js.git/log
thirdparty/Chart.js.git
7 years agoEnhance the rounded rectangle implementation (#5597) 5610/head
Simon Brunel [Tue, 26 Jun 2018 15:58:32 +0000 (17:58 +0200)] 
Enhance the rounded rectangle implementation (#5597)

Use `arcTo` instead of `quadraticCurveTo` (both methods have the same compatibility level) because it generates better results when the final rect is a circle but also when it's actually a rectangle and not a square. This change is needed by the datalabels plugin where the user can configure the `borderRadius` and thus generate circle from a rounded rectangle.

7 years agoUse comment for pull request template (#5595)
Daniel Ruf [Tue, 26 Jun 2018 07:47:12 +0000 (09:47 +0200)] 
Use comment for pull request template (#5595)

7 years agoRestore original styles when removing hover (#5570)
Ben McCann [Tue, 26 Jun 2018 06:56:53 +0000 (23:56 -0700)] 
Restore original styles when removing hover (#5570)

Refactor `updateElement` and `removeHoverStyle` and fix tests.

7 years agoCall update() and render() with a config object (#5592)
Akihiko Kusanagi [Sun, 24 Jun 2018 18:31:51 +0000 (04:31 +1000)] 
Call update() and render() with a config object (#5592)

7 years agoAdded 'angle' option to Polar Charts (#5279)
Shayne Linhart [Sun, 17 Jun 2018 15:56:57 +0000 (09:56 -0600)] 
Added 'angle' option to Polar Charts (#5279)

* added 'angle' option to polar charts. image comparison test is work in progress; not currently passing

* removed unnecessary variable assignment

* code cleanup based on PR; for 'angle' option on polarCharts

* Made polar chart image comparison test pass by removing debug flag. Also explicitly marked _computeAngle as private.

* Removed visibleCount computation in polar chart

* split out code related to updating the radius in polar chart's update function, into it's own 'updateRadius' function

* made updateRadius method private

* fix linting error

* updated polar charts to read custom angles from "chart.options.elements.arc.angle" instead of "chart.options.angle"

7 years agoDirect questions and support to StackOverflow (#5571)
Ben McCann [Sat, 16 Jun 2018 16:54:47 +0000 (09:54 -0700)] 
Direct questions and support to StackOverflow (#5571)

7 years agoHandle '\n' as new line in tooltips (#5521)
Matt Haff [Tue, 5 Jun 2018 07:14:37 +0000 (03:14 -0400)] 
Handle '\n' as new line in tooltips (#5521)

7 years agoclarify moment.js included in bundle cannot be used outside of chartjs (#5528)
Guiomar Valderrama [Mon, 4 Jun 2018 12:14:04 +0000 (14:14 +0200)] 
clarify moment.js included in bundle cannot be used outside of chartjs (#5528)

7 years agoFix time documentation (#5507)
Antoine Aumjaud [Sat, 26 May 2018 07:55:44 +0000 (09:55 +0200)] 
Fix time documentation (#5507)

7 years agoBug: Avoid updating Chart when `responsive: true` and Chart is hidden. (#5172)
jcopperfield [Wed, 23 May 2018 01:11:28 +0000 (03:11 +0200)] 
Bug: Avoid updating Chart when `responsive: true` and Chart is hidden. (#5172)

* Bug: Avoid updating Chart when `responsive: true` and Chart is hidden.

* Prevent `drawing` when width/height is invalid.

7 years agoFix typo in README.md (#5504)
Marc Poulhiès [Tue, 22 May 2018 20:23:24 +0000 (22:23 +0200)] 
Fix typo in README.md  (#5504)

7 years agoUpdate gulpfile.js to use in strict mode (#5478)
Krystian Sokołowski [Wed, 9 May 2018 07:15:04 +0000 (09:15 +0200)] 
Update gulpfile.js to use in strict mode (#5478)

7 years agoFix responsive in IE11 with padding as percentage (#4620)
andi-b [Sun, 22 Apr 2018 18:32:42 +0000 (19:32 +0100)] 
Fix responsive in IE11 with padding as percentage (#4620)

When the chart is responsive to the parent container, the calculations for padding assumes that the figure is in pixels so that 20% is taken to be 20 (pixels), which results in the chart exceeding the parent container. This appears to be an IE11 only issue.

7 years agoProper tick position for right positioned axis (#5401)
Evert Timberg [Wed, 11 Apr 2018 22:16:32 +0000 (18:16 -0400)] 
Proper tick position for right positioned axis (#5401)

* Proper tick position for right positioned axis
* Test for tick mark drawing

7 years agoSkip point outside the clipping area (#5363)
veggiesaurus [Fri, 6 Apr 2018 07:29:33 +0000 (09:29 +0200)] 
Skip point outside the clipping area (#5363)

7 years agoFix line clipping at the chart area borders (#5321)
serhii-yakymuk [Tue, 3 Apr 2018 07:23:16 +0000 (10:23 +0300)] 
Fix line clipping at the chart area borders  (#5321)

7 years agoMake `Chart.Scale/scaleService` importable (#5383)
Simon Brunel [Mon, 2 Apr 2018 21:43:28 +0000 (23:43 +0200)] 
Make `Chart.Scale/scaleService` importable (#5383)

7 years agoMake `Chart.Animation/animations/Tooltip` importable (#5382)
Simon Brunel [Mon, 2 Apr 2018 08:55:52 +0000 (10:55 +0200)] 
Make `Chart.Animation/animations/Tooltip` importable (#5382)

7 years agoAdd `ticks.precision` option to linear scale. (#4841)
Evert Timberg [Sun, 1 Apr 2018 16:56:45 +0000 (12:56 -0400)] 
Add `ticks.precision` option to linear scale.  (#4841)

If defined and `stepSize` is not specified, the step size will be rounded to this many decimal places.

7 years agoFix typo in the legend documentation (#5348)
Juan Eugenio Abadie [Tue, 20 Mar 2018 14:37:56 +0000 (11:37 -0300)] 
Fix typo in the legend documentation (#5348)

7 years agoTime Point Data sample works correctly (#5328)
Evert Timberg [Tue, 13 Mar 2018 22:52:19 +0000 (18:52 -0400)] 
Time Point Data sample works correctly (#5328)

7 years agoAdd undefined guard for window.devicePixelRatio (#5324)
Sean Sobey [Sat, 10 Mar 2018 15:57:27 +0000 (17:57 +0200)] 
Add undefined guard for window.devicePixelRatio (#5324)

7 years agoShow how to use circumference and rotation options (#5326)
Pierre GIRAUD [Sat, 10 Mar 2018 15:56:27 +0000 (16:56 +0100)] 
Show how to use circumference and rotation options (#5326)

7 years agoAdd a link to chartjs-plugin-streaming to extensions.md (#5309)
Akihiko Kusanagi [Sat, 3 Mar 2018 01:13:41 +0000 (09:13 +0800)] 
Add a link to chartjs-plugin-streaming to extensions.md (#5309)

7 years agoBump version to 2.7.2 (#5307) 5145/head
Simon Brunel [Thu, 1 Mar 2018 21:20:53 +0000 (22:20 +0100)] 
Bump version to 2.7.2 (#5307)

7 years agoBugfix: Improve polyfill function of log10 to return whole powers of 10 (#5275)
jcopperfield [Tue, 20 Feb 2018 23:44:01 +0000 (00:44 +0100)] 
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.

7 years agoMake both README.md and installation.md clearer (#5274)
Wilson Lin [Tue, 20 Feb 2018 12:29:10 +0000 (04:29 -0800)] 
Make both README.md and installation.md clearer (#5274)

Address the ambiguity of "Selecting the Correct Build" section

7 years agoImprove title of generated documentation (#5256)
Winter Zhong [Fri, 16 Feb 2018 00:25:49 +0000 (08:25 +0800)] 
Improve title of generated documentation (#5256)

7 years agoSupport multiple font colors for radial chart labels (#5240)
Laura Cressman [Thu, 15 Feb 2018 02:22:19 +0000 (21:22 -0500)] 
Support multiple font colors for radial chart labels (#5240)

* Support multiple font colors in array

* Address linting error

7 years agoFix label vertical alignment on vertical scales (#5248)
Michael [Fri, 9 Feb 2018 22:20:06 +0000 (17:20 -0500)] 
Fix label vertical alignment on vertical scales (#5248)

7 years agoRemove trailing spaces from docs (#5227)
Ben McCann [Sun, 4 Feb 2018 11:27:50 +0000 (03:27 -0800)] 
Remove trailing spaces from docs (#5227)

7 years agoSetup HTML and JS linters for samples (#5195)
Loïc Bourgois [Sat, 3 Feb 2018 12:28:54 +0000 (13:28 +0100)] 
Setup HTML and JS linters for samples (#5195)

7 years agoAdd Charba GWT integration to extensions.md (#5225)
stockiNail [Fri, 2 Feb 2018 09:17:24 +0000 (10:17 +0100)] 
Add Charba GWT integration to extensions.md (#5225)

7 years agoFix Slack invitation link (#5217)
Simon Brunel [Thu, 1 Feb 2018 02:35:08 +0000 (03:35 +0100)] 
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.

7 years agoDon't draw tick across axis/border (#5178)
Jackson Haenchen [Sun, 28 Jan 2018 17:59:22 +0000 (11:59 -0600)] 
Don't draw tick across axis/border (#5178)

7 years agoFix variable name error on developer api documentation for (#5173)
Jonathan Quach [Sat, 27 Jan 2018 14:47:51 +0000 (15:47 +0100)] 
Fix variable name error on developer api documentation for (#5173)

7 years agoUpdate custom tooltip documentation and samples (#5166)
Evert Timberg [Sun, 21 Jan 2018 21:47:50 +0000 (16:47 -0500)] 
Update custom tooltip documentation and samples (#5166)

7 years agoRemove copy-pasta error in polar area and doughnut chart docs (#5169)
Evert Timberg [Sun, 21 Jan 2018 21:47:25 +0000 (16:47 -0500)] 
Remove copy-pasta error in polar area and doughnut chart docs (#5169)

7 years agoTooltip label callback example (#5168)
Evert Timberg [Sun, 21 Jan 2018 21:47:04 +0000 (16:47 -0500)] 
Tooltip label callback example (#5168)

7 years agoResponsive printing docs (#5167)
Evert Timberg [Sun, 21 Jan 2018 21:46:28 +0000 (16:46 -0500)] 
Responsive printing docs (#5167)

7 years agoTreat negative values in doughnut charts as positive (#5165)
Evert Timberg [Sun, 21 Jan 2018 17:12:33 +0000 (12:12 -0500)] 
Treat negative values in doughnut charts as positive (#5165)

7 years agoAdd tests related to showLines for controller.scatter (#5150)
Loïc Bourgois [Tue, 16 Jan 2018 09:29:49 +0000 (09:29 +0000)] 
Add tests related to showLines for controller.scatter (#5150)

7 years agoLog gulp error to Chart.js (#5143)
Loïc Bourgois [Sat, 13 Jan 2018 17:17:38 +0000 (17:17 +0000)] 
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

7 years agoFormat the label in the time scale tooltip (#5095)
Ben McCann [Sat, 13 Jan 2018 15:39:17 +0000 (07:39 -0800)] 
Format the label in the time scale tooltip (#5095)

7 years agoFix updating plugin options (#5144)
Simon Brunel [Sat, 13 Jan 2018 13:23:50 +0000 (14:23 +0100)] 
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.

7 years agoIgnore package-lock.json (#5138)
Simon Brunel [Thu, 11 Jan 2018 11:51:03 +0000 (12:51 +0100)] 
Ignore package-lock.json (#5138)

7 years agoFix GitBook error with the shared ESLint config (#5133)
Simon Brunel [Thu, 11 Jan 2018 08:03:16 +0000 (09:03 +0100)] 
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

7 years agoRename Chart.layout to Chart.layouts (#5118)
Simon Brunel [Tue, 9 Jan 2018 13:12:40 +0000 (14:12 +0100)] 
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).

7 years agoMake `Chart.plugins` importable (#5114)
Simon Brunel [Mon, 8 Jan 2018 10:48:59 +0000 (11:48 +0100)] 
Make `Chart.plugins` importable (#5114)

Explicitly deprecate (since 2.1.5) `Chart.Legend` and `Chart.Title`.

7 years agoMake `Chart.layout(Service)` importable (#5113)
Simon Brunel [Sun, 7 Jan 2018 22:38:26 +0000 (23:38 +0100)] 
Make `Chart.layout(Service)` importable (#5113)

Rename (and deprecate) `Chart.layoutService` to `Chart.layout` and make it importable.

7 years agoUse the Chart.js shared ESLint config (#5112)
Simon Brunel [Sat, 6 Jan 2018 22:59:13 +0000 (23:59 +0100)] 
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.

7 years agoAdd back Chart.Ticks.formatters (#5088)
Ben McCann [Sat, 6 Jan 2018 17:59:47 +0000 (09:59 -0800)] 
Add back Chart.Ticks.formatters (#5088)

7 years agoUpdate license year and copyright holders (#5053)
Simon Brunel [Sun, 31 Dec 2017 14:17:22 +0000 (15:17 +0100)] 
Update license year and copyright holders (#5053)

7 years agoAdding helpful note about legendCallback (#5094)
Cameron Childress [Fri, 29 Dec 2017 07:52:17 +0000 (02:52 -0500)] 
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.

7 years agoOptimization: prevent double ticks array reverse for vertical logarithmic axis (...
jcopperfield [Sat, 23 Dec 2017 13:34:55 +0000 (14:34 +0100)] 
Optimization: prevent double ticks array reverse for vertical logarithmic axis (#5076)

with ticks option 'reverse: true'.

7 years agoImprove point.xRange and point.yRange performance (#5062)
Boyi C [Mon, 18 Dec 2017 19:24:02 +0000 (03:24 +0800)] 
Improve point.xRange and point.yRange performance (#5062)

7 years agoUse time.unit option to create default min/max for empty chart (#5045)
jcopperfield [Fri, 15 Dec 2017 17:10:30 +0000 (18:10 +0100)] 
Use time.unit option to create default min/max for empty chart (#5045)

7 years agoFix issue #5029 (#5041)
jcopperfield [Thu, 14 Dec 2017 15:03:07 +0000 (16:03 +0100)] 
Fix issue #5029 (#5041)

- infinite loop in generating time axis, due to insufficient bounds checking.

7 years agoFix issues #4572 and #4703 (#4959)
jcopperfield [Tue, 12 Dec 2017 23:43:51 +0000 (00:43 +0100)] 
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

7 years agoFix tooltip animation when target changes while animating (#5005)
jcopperfield [Tue, 12 Dec 2017 23:43:17 +0000 (00:43 +0100)] 
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

7 years agoFix issue #4928: linear tick generator doesn't round values to needed precision....
jcopperfield [Sat, 2 Dec 2017 14:24:57 +0000 (15:24 +0100)] 
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

7 years agoImplement equally sized bars (#4994)
Simon Brunel [Sat, 2 Dec 2017 11:38:36 +0000 (12:38 +0100)] 
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).

7 years agoAdd Angular2+ libraries for Chart.js in docs (#5006)
JohnShaft [Fri, 1 Dec 2017 17:56:49 +0000 (18:56 +0100)] 
Add Angular2+ libraries for Chart.js in docs (#5006)

7 years agoFix typos and broken links in the docs (#5010)
beiz23 [Thu, 30 Nov 2017 13:41:32 +0000 (22:41 +0900)] 
Fix typos and broken links in the docs (#5010)

7 years agoFix scale options update (#4198)
Xingan Wang [Wed, 29 Nov 2017 21:52:23 +0000 (13:52 -0800)] 
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

7 years agoFix issue #4441 - y-axis labels partially hidden due to restrictive initial fitting...
jcopperfield [Sat, 25 Nov 2017 13:28:57 +0000 (14:28 +0100)] 
Fix issue #4441 - y-axis labels partially hidden due to restrictive initial 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

7 years agoAdd an Ember.js Integration in the Documentation (#4984)
Jean-Philippe Sirois [Sat, 25 Nov 2017 00:31:58 +0000 (19:31 -0500)] 
Add an Ember.js Integration in the Documentation (#4984)

7 years agoFix line to time axis documentation in bar chart docs (#4979)
Evert Timberg [Wed, 22 Nov 2017 23:07:36 +0000 (18:07 -0500)] 
Fix line to time axis documentation in bar chart docs (#4979)

7 years agoadd check on overwriting canvas height/width (#4874)
anders [Wed, 22 Nov 2017 00:04:26 +0000 (18:04 -0600)] 
add check on overwriting canvas height/width (#4874)

* add check on overwriting canvas height/width

* unit test for this

7 years agoFix bumpy line on smooth data set (#4944)
jcopperfield [Tue, 14 Nov 2017 12:56:45 +0000 (13:56 +0100)] 
Fix bumpy line on smooth data set (#4944)

Linear scale getPixelForValue() method doesn't round the returned value anymore.

7 years agoCorrectly handle stacked groups when not adjacent (#4937)
jcopperfield [Tue, 14 Nov 2017 09:33:36 +0000 (10:33 +0100)] 
Correctly handle stacked groups when not adjacent (#4937)

Only the dataset index was used for indexing the stack

7 years agoAvoid tooltip truncation in x axis if there is enough space (#3998)
Kaido Hallik [Sat, 11 Nov 2017 23:02:05 +0000 (01:02 +0200)] 
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

7 years agoFix log scale when value is 0 (#4913)
jcopperfield [Fri, 10 Nov 2017 08:16:48 +0000 (09:16 +0100)] 
Fix log scale when value is 0 (#4913)

7 years agoReset only when animating (#4923)
Ben McCann [Tue, 7 Nov 2017 23:26:37 +0000 (15:26 -0800)] 
Reset only when animating (#4923)

7 years agoUpdate extensions.md (#4930)
Martin Alex Philip Dawson [Tue, 7 Nov 2017 23:25:11 +0000 (00:25 +0100)] 
Update extensions.md (#4930)

Removed trailing space from waterfall-plugin.

7 years agoRelax dependencies semver range (#4891)
Jonathan Grimes [Tue, 7 Nov 2017 18:12:33 +0000 (12:12 -0600)] 
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)

7 years agoAdd link to chartjs-plugin-waterfall (#4921)
Martin Alex Philip Dawson [Mon, 6 Nov 2017 09:39:39 +0000 (10:39 +0100)] 
Add link to chartjs-plugin-waterfall (#4921)

7 years agoFix incorrect samples titles (#4914)
Aspaldiko [Thu, 2 Nov 2017 12:51:36 +0000 (16:51 +0400)] 
Fix incorrect samples titles (#4914)

7 years agoSuppress coveralls errors if run from fork (#4699)
andig [Wed, 1 Nov 2017 15:00:41 +0000 (16:00 +0100)] 
Suppress coveralls errors if run from fork (#4699)

7 years agoUpgrade dependencies (incl. ESLint 4) (#4738)
Ben McCann [Wed, 1 Nov 2017 15:00:10 +0000 (08:00 -0700)] 
Upgrade dependencies (incl. ESLint 4) (#4738)

7 years agoBump version to 2.7.1 (#4877) 4876/head 4906/head
Ben McCann [Sat, 28 Oct 2017 08:22:20 +0000 (01:22 -0700)] 
Bump version to 2.7.1 (#4877)

7 years agoReset tooltip when calling Chart.update (#4840)
Evert Timberg [Sat, 28 Oct 2017 08:20:34 +0000 (04:20 -0400)] 
Reset tooltip when calling Chart.update (#4840)

7 years agoMove extend and inherits helpers in helpers.core.js (#4878)
Simon Brunel [Tue, 24 Oct 2017 17:11:40 +0000 (19:11 +0200)] 
Move extend and inherits helpers in helpers.core.js (#4878)

Fix Rollup issue caused by early access of the `extend` and `inherits` helpers not yet part of the `helpers/index` import. Also added (basic) unit tests for whose methods.

7 years agoAdd jsDelivr as CDN install option (#4881)
Simon Brunel [Sun, 22 Oct 2017 17:18:24 +0000 (19:18 +0200)] 
Add jsDelivr as CDN install option (#4881)

7 years agoAttempt to fix test flakiness (Firefox) (#4880)
Ben McCann [Sun, 22 Oct 2017 15:32:39 +0000 (08:32 -0700)] 
Attempt to fix test flakiness (Firefox) (#4880)

These settings deal with browser disconnects. We had seen test flakiness from Firefox:
[Firefox 56.0.0 (Linux 0.0.0)]: Disconnected (1 times), because no message in 10000 ms

7 years agoUpdate supported browser section (#4818)
Evert Timberg [Sat, 21 Oct 2017 12:43:31 +0000 (08:43 -0400)] 
Update supported browser section (#4818)

7 years agoRespect min and max when building ticks (#4860)
Ben McCann [Fri, 20 Oct 2017 07:03:38 +0000 (00:03 -0700)] 
Respect min and max when building ticks (#4860)

Generate time scale ticks (`ticks.source: 'auto'`) based on the effective visualized range instead of the actual data range, meaning that the computed units and/or step size may change if the time options min and max are different from the data min and max.

7 years agominor doc fixes (#4851)
minusf [Mon, 16 Oct 2017 22:45:54 +0000 (00:45 +0200)] 
minor doc fixes (#4851)

7 years agoAdd "beforeTooltipDraw" and "afterTooltipDraw" plugin hooks (#4793)
JewelsJLF [Sat, 14 Oct 2017 21:29:35 +0000 (15:29 -0600)] 
Add "beforeTooltipDraw" and "afterTooltipDraw" plugin hooks (#4793)

7 years agoFixes #4772: added scope for tooltip position mode call and added docs (#4784)
Florian Scholz [Tue, 10 Oct 2017 22:33:25 +0000 (00:33 +0200)] 
Fixes #4772: added scope for tooltip position mode call and added docs (#4784)

* added scope for tooltip position mode call and added docs

* added test for positioner

* removed named func for lint

* resolved pull-request comments

7 years agoFix choosing of formatting unit (#4779)
Ben McCann [Mon, 9 Oct 2017 13:54:27 +0000 (06:54 -0700)] 
Fix choosing of formatting unit (#4779)

* Don't change minorFormat when determining label capacity

* Fix choosing of formatting unit

7 years agoFix markdown (#4827)
Ben McCann [Sun, 8 Oct 2017 12:09:39 +0000 (05:09 -0700)] 
Fix markdown (#4827)

7 years agoClarify that x/y coordinates only work with the time scale (#4826)
Ben McCann [Sun, 8 Oct 2017 02:18:50 +0000 (19:18 -0700)] 
Clarify that x/y coordinates only work with the time scale (#4826)

7 years agoFix responsive issue when the chart is recreated (#4774)
Simon Brunel [Sat, 7 Oct 2017 15:43:09 +0000 (17:43 +0200)] 
Fix responsive issue when the chart is recreated (#4774)

Chrome specific issue that happens when destroying a chart and re-creating it immediately (same animation frame?). The CSS animation used to detect when the canvas become visible is not re-evaluated, breaking responsiveness. Accessing the `offsetParent` property will force a reflow and re-evaluate the CSS animation.

7 years agofixed typo (#4819)
Fabio Poloni [Fri, 6 Oct 2017 11:36:39 +0000 (13:36 +0200)] 
fixed typo (#4819)

7 years agofix colour settings of BeforeLabel and BeforeBody (#4783)
Rittyan [Mon, 2 Oct 2017 22:33:03 +0000 (07:33 +0900)] 
fix colour settings of BeforeLabel and BeforeBody (#4783)

* fix colour settings of BeforeLabel and BeforeBody

* delete redundant variable declaration

* collect label colour setting.

7 years agoFix handling of null labels (#4795)
Ben McCann [Fri, 29 Sep 2017 11:52:33 +0000 (04:52 -0700)] 
Fix handling of null labels (#4795)

7 years agoError if style is null (#4781)
Rydori [Fri, 29 Sep 2017 11:30:41 +0000 (13:30 +0200)] 
Error if style is null (#4781)

I tested in Chrome and when style(line 50) is null, style.toString is undefined
Reason: typeof null equals "object" (at least in Chrome)

7 years agoRename INTERVALS.major to INTERVALS.common (#4777)
Ben McCann [Fri, 29 Sep 2017 11:06:09 +0000 (04:06 -0700)] 
Rename INTERVALS.major to INTERVALS.common (#4777)

7 years agoFix regression in x-axis interaction mode (#4762)
Evert Timberg [Sat, 16 Sep 2017 12:01:26 +0000 (08:01 -0400)] 
Fix regression in x-axis interaction mode (#4762)