]> git.ipfire.org Git - thirdparty/Chart.js.git/log
thirdparty/Chart.js.git
6 years agoRemove `innerHTML` usage from our DOM platform (#5909)
Simon Brunel [Fri, 14 Dec 2018 02:19:42 +0000 (03:19 +0100)] 
Remove `innerHTML` usage from our DOM platform (#5909)

Prevent "Unsafe assignment to innerHTML" reported by Firefox when submitting addon to their store.

6 years agoRemove autoSkip logic to always display last tick (#5891)
Steve Gray [Sun, 9 Dec 2018 17:56:51 +0000 (11:56 -0600)] 
Remove autoSkip logic to always display last tick (#5891)

This changes the behavior of `autoSkip` so that it does not force the
display of the last tick. If the last tick can be displayed with equal
spacing to the rest of the ticks, it will be. Otherwise, it is not.

6 years agoFix the rounding issue of floating point numbers in category scale (#5880)
Akihiko Kusanagi [Sun, 9 Dec 2018 10:34:34 +0000 (21:34 +1100)] 
Fix the rounding issue of floating point numbers in category scale (#5880)

- Remove `Math.round` in the category scale code
- Add `helpers._alignPixel` to align grid/tick/axis border lines
- Fix grid/tick/axis border line calculation
- Add a check of the width of the axis border
- Refactor core.scale code

6 years agoRemove gaps on the left and right when the axis offset is true (#5884)
Akihiko Kusanagi [Wed, 5 Dec 2018 16:59:07 +0000 (03:59 +1100)] 
Remove gaps on the left and right when the axis offset is true (#5884)

6 years agoFix docs about bar chart indexable options (#5876)
Akihiko Kusanagi [Tue, 4 Dec 2018 08:10:15 +0000 (19:10 +1100)] 
Fix docs about bar chart indexable options (#5876)

6 years agoRefactor data generation in scatter basic example (#5877)
generic-github-user [Tue, 4 Dec 2018 08:07:35 +0000 (03:07 -0500)] 
Refactor data generation in scatter basic example (#5877)

Replace repeated function call with compact function, generateData

6 years agoRemove gulp-connect and add jsdelivr/unpkg paths (#5875)
Simon Brunel [Sat, 1 Dec 2018 07:35:43 +0000 (08:35 +0100)] 
Remove gulp-connect and add jsdelivr/unpkg paths (#5875)

6 years agoMake Chart.controllers.* importable (#5871)
Simon Brunel [Thu, 29 Nov 2018 20:06:34 +0000 (21:06 +0100)] 
Make Chart.controllers.* importable (#5871)

`controllers.*.js` and `core.datasetController.js` are now importable (no more function export), that's why there is so many changes mainly due to one indentation level removed. Split code for `bar/horizontalBar` and `doughnut/pie` in separate files, added a global controllers import (`src/controllers/index.js`) and add tests to check that all dataset controllers are correctly registered under `chart.controllers.{type}`.

6 years agoFix test failures on Windows (#5872)
Akihiko Kusanagi [Thu, 29 Nov 2018 20:05:36 +0000 (04:05 +0800)] 
Fix test failures on Windows (#5872)

6 years agoAdd support for CanvasPattern and CanvasGradient in tooltip (#5869)
Akihiko Kusanagi [Thu, 29 Nov 2018 12:52:56 +0000 (20:52 +0800)] 
Add support for CanvasPattern and CanvasGradient in tooltip (#5869)

6 years agoDeprecate Chart.{Type} classes (#5868)
Simon Brunel [Thu, 29 Nov 2018 06:56:20 +0000 (07:56 +0100)] 
Deprecate Chart.{Type} classes (#5868)

It looks like these classes are a legacy from version 1 but we actually never promoted their usage. Instead, the regular way to create a chart is to set the type in the config, for example: `new Chart(ctx, {type: 'bar'})`. Some types are actually missing (no `Chart.HorizontalBar` or `Chart.Pie`) but it's also not scalable because it can easily conflict with other classes scoped under the `Chart` namespace.

6 years agoFix cut off tick labels in radial scale (#5848)
Akihiko Kusanagi [Wed, 28 Nov 2018 07:35:15 +0000 (15:35 +0800)] 
Fix cut off tick labels in radial scale (#5848)

Fix the issue that the topmost tick label and the bottom of the chart area are cut off with a radial scale.

6 years agoEnhance documentation for bar specific scale options (#5854)
jedrekdomanski [Wed, 28 Nov 2018 06:56:41 +0000 (07:56 +0100)] 
Enhance documentation for bar specific scale options (#5854)

6 years agoAdjust the size of rectRounded/rectRot point to fit pointRadius (#5858)
Akihiko Kusanagi [Wed, 28 Nov 2018 06:53:41 +0000 (14:53 +0800)] 
Adjust the size of rectRounded/rectRot point to fit pointRadius (#5858)

- Calculate the vertices of the shapes so that they are inscribed in the circle that has the radius of `pointRadius`
- Remove `translate()` and `rotate()` to fix the regression introduced by #5319
- Refactor `rectRounded` for better performance

6 years agoMake getHoverColor() return the original value if it is CanvasGradient (#5865)
Akihiko Kusanagi [Wed, 28 Nov 2018 00:54:03 +0000 (08:54 +0800)] 
Make getHoverColor() return the original value if it is CanvasGradient (#5865)

6 years agoFix nearest interaction mode to return all items (#5857)
Jukka Kurkela [Tue, 27 Nov 2018 15:26:41 +0000 (17:26 +0200)] 
Fix nearest interaction mode to return all items (#5857)

Return all items that are at the nearest distance to the point and add unit tests for nearest + axis: 'x' and nearest + axis: 'y'

6 years agoDraw radial scale angle lines before tick labels (#5855)
Stef Louwers [Tue, 27 Nov 2018 14:14:41 +0000 (15:14 +0100)] 
Draw radial scale angle lines before tick labels (#5855)

Moved drawing of radial lines before drawing the tick labels, such that the radial lines are not drawn on top of the tick labels and their backdrop.

6 years agoAdd support for gridLines/angleLines borderDash for polarArea/radar charts (#5850)
Akihiko Kusanagi [Mon, 26 Nov 2018 07:57:31 +0000 (15:57 +0800)] 
Add support for gridLines/angleLines borderDash for polarArea/radar charts (#5850)

6 years agoCorrect calculation of padding in percent (#5846)
chtheis [Wed, 21 Nov 2018 08:35:49 +0000 (09:35 +0100)] 
Correct calculation of padding in percent (#5846)

6 years agoUse empty labels for tests so as not to be affected by the font width (#5842)
Akihiko Kusanagi [Wed, 21 Nov 2018 07:58:39 +0000 (15:58 +0800)] 
Use empty labels for tests so as not to be affected by the font width (#5842)

6 years agoFix axis line width when option is an array (#5751)
Evert Timberg [Sun, 18 Nov 2018 08:45:41 +0000 (03:45 -0500)] 
Fix axis line width when option is an array (#5751)

When the axis lineWidth setting is set to an array, use the first item when determining the size of the axis area.

6 years agoIs node shadow root check improved (#5828)
Kakhaber [Sun, 18 Nov 2018 08:36:21 +0000 (12:36 +0400)] 
Is node shadow root check improved (#5828)

6 years agoUpgrade dev dependencies to reduce vulnerabilities (#5840)
Simon Brunel [Sun, 18 Nov 2018 08:33:34 +0000 (09:33 +0100)] 
Upgrade dev dependencies to reduce vulnerabilities (#5840)

6 years agoCorrect spelling mistake. (#5831)
Thomas David Baker [Thu, 15 Nov 2018 14:41:02 +0000 (06:41 -0800)] 
Correct spelling mistake. (#5831)

Use a simpler phrase for this heading.

6 years agoAdd regression test for legend layout issue (#5776)
Jan Tagscherer [Wed, 14 Nov 2018 10:12:57 +0000 (11:12 +0100)] 
Add regression test for legend layout issue (#5776)

6 years agoCheck pixel values using the pixel proximity matcher (#5833)
Jan Tagscherer [Wed, 14 Nov 2018 10:08:40 +0000 (11:08 +0100)] 
Check pixel values using the pixel proximity matcher (#5833)

6 years agoMake bar styling options scriptable (#5780)
Simon Brunel [Mon, 12 Nov 2018 20:15:37 +0000 (21:15 +0100)] 
Make bar styling options scriptable (#5780)

The bar `backgroundColor`, `borderColor`, `borderWidth` and `borderSkipped` options are now scriptable (unit tests, docs and a basic sample). Also fix the gulp task that generates the documentation on Windows.

6 years agoSupport decimal stepSize (#5786)
Akihiko Kusanagi [Mon, 12 Nov 2018 20:12:09 +0000 (04:12 +0800)] 
Support decimal stepSize (#5786)

6 years agoChange .editorconfig to include final newlines (#5827)
Jan Tagscherer [Mon, 12 Nov 2018 20:06:59 +0000 (21:06 +0100)] 
Change .editorconfig to include final newlines (#5827)

6 years agoFix legend item layout issue (#5816)
Akihiko Kusanagi [Mon, 12 Nov 2018 07:57:16 +0000 (15:57 +0800)] 
Fix legend item layout issue (#5816)

6 years agoAdd a link to chartjs-plugin-colorschemes to extensions.md (#5813)
Akihiko Kusanagi [Mon, 5 Nov 2018 17:56:29 +0000 (01:56 +0800)] 
Add a link to chartjs-plugin-colorschemes to extensions.md (#5813)

6 years agoConsistent use of punctuation and quick review in docs (#5796)
Bart Deslagmulder [Fri, 2 Nov 2018 07:46:06 +0000 (08:46 +0100)] 
Consistent use of punctuation and quick review in docs (#5796)

6 years agoFix offsetGridLine behavior with a single data point (#5609)
Akihiko Kusanagi [Fri, 2 Nov 2018 07:44:10 +0000 (16:44 +0900)] 
Fix offsetGridLine behavior with a single data point (#5609)

6 years agoDocument padding option for ticks configuration (#5795)
Jordan Ephron [Thu, 1 Nov 2018 15:28:12 +0000 (11:28 -0400)] 
Document padding option for ticks configuration (#5795)

6 years agoRemove dead and broken code from gulpfile (#5794)
Hendrik Röhm [Thu, 1 Nov 2018 15:26:20 +0000 (16:26 +0100)] 
Remove dead and broken code from gulpfile (#5794)

In commit c216c0af76, the task unittestWatch was removed. However, the watch task links to it, when executed with the test flag. As watching the unittest is possible with `gulp unittest --watch`, this code is not needed anymore and thus removed.

6 years agoAdd error margin for detecting if a point or line is in the chartArea (#5790)
Akihiko Kusanagi [Sat, 27 Oct 2018 15:55:11 +0000 (23:55 +0800)] 
Add error margin for detecting if a point or line is in the chartArea (#5790)

6 years agoEnsure that when we check typeof x == 'number' we also check instanceof Number (...
Evert Timberg [Mon, 22 Oct 2018 07:52:05 +0000 (03:52 -0400)] 
Ensure that when we check typeof x == 'number' we also check instanceof Number (#5752)

6 years agoRadar code cleanup (#5624)
Ben McCann [Sun, 21 Oct 2018 19:56:57 +0000 (12:56 -0700)] 
Radar code cleanup (#5624)

6 years agoAdd support for *.js test fixture config (#5777)
Simon Brunel [Sat, 20 Oct 2018 09:38:48 +0000 (11:38 +0200)] 
Add support for *.js test fixture config (#5777)

JSON doesn't support functions which are needed to create scriptable options, so implement a very basic method to load a JavaScript file exporting the config in `module.exports`. Also rename test sources (remove the `jasmine.` prefix), cleanup `karma.conf.js` and add an example .js fixture config (bubble radius option).

6 years agoIntroduce the 'minBarLength' bar option (#5741)
Alexandre Dubé [Thu, 18 Oct 2018 20:28:56 +0000 (16:28 -0400)] 
Introduce the 'minBarLength' bar option (#5741)

6 years agoEnsure that when the time axis accesses `data.labels` it actually exists (#5750)
Evert Timberg [Thu, 18 Oct 2018 19:28:49 +0000 (15:28 -0400)] 
Ensure that when the time axis accesses `data.labels` it actually exists (#5750)

6 years agoAdd 'parser' instead of deprecated 'format' in samples (#5769)
Niladri Dutta [Tue, 16 Oct 2018 21:12:51 +0000 (02:42 +0530)] 
Add 'parser' instead of deprecated 'format' in samples (#5769)

6 years agoBump version to 2.7.3 5732/head
Simon Brunel [Mon, 15 Oct 2018 16:48:00 +0000 (18:48 +0200)] 
Bump version to 2.7.3

6 years agoAdd aspectRatio property to responsive doc (#5756)
Daniel Correa [Tue, 9 Oct 2018 16:20:09 +0000 (11:20 -0500)] 
Add aspectRatio property to responsive doc (#5756)

7 years agoAdd scatter link in charts documentation (#5736)
Miguel Martínez Serrano [Fri, 21 Sep 2018 19:22:31 +0000 (21:22 +0200)] 
Add scatter link in charts documentation (#5736)

7 years agoAdded Wicked-Charts to the Popular Extensions Page (#5734)
Maxim Atanasov [Fri, 21 Sep 2018 19:21:34 +0000 (21:21 +0200)] 
Added Wicked-Charts to the Popular Extensions Page (#5734)

Wicked-Charts is a Java wrapper around Chart.js and allows users to create charts in Java using the Wicket framework. The latest version of Wicked-Charts (3.1.0) supports Chartjs and Wicket 8.

7 years agoFix scale when data is all small numbers (#5723)
Carl Osterwisch [Sun, 16 Sep 2018 09:33:48 +0000 (05:33 -0400)] 
Fix scale when data is all small numbers (#5723)

* Add test for correct handling of small numbers

* Calculate tick precision for arbitrarily small numbers

* Use scientific notation for very small tick numbers

* Calculate significant digits for exponential tick values

7 years agoAdd "Accessibility" documentation page (#5719)
Wei-Wei Wu [Tue, 11 Sep 2018 07:12:28 +0000 (00:12 -0700)] 
Add "Accessibility" documentation page (#5719)

7 years agoAdd gulp watch task for docs (#5724)
Wei-Wei Wu [Sun, 9 Sep 2018 18:42:18 +0000 (11:42 -0700)] 
Add gulp watch task for docs (#5724)

gulp docs --watch

7 years agoEvent handling to use target instead currentTarget (#5575)
Colin [Fri, 10 Aug 2018 07:32:35 +0000 (08:32 +0100)] 
Event handling to use target instead currentTarget (#5575)

If you attach event handlers to a container rather than directly to the canvas then the currentTarget is the container, event.target is the canvas that triggers the event. It's useful to do this if you have many charts or are creating them dynamically.

7 years agoFix adding and removing datasets in bar samples (#5663)
Tom Pullen [Wed, 8 Aug 2018 16:52:56 +0000 (17:52 +0100)] 
Fix adding and removing datasets in bar samples (#5663)

Account for zero indexing of arrays when creating a name for an added dataset and remove the last dataset in the array when removing a dataset rather than removing the first.

7 years agoAdd color to financial time series sample (#5661)
Tom Pullen [Wed, 8 Aug 2018 16:44:53 +0000 (17:44 +0100)] 
Add color to financial time series sample (#5661)

7 years agoDisable hardware acceleration for unit tests
Simon Brunel [Sun, 29 Jul 2018 11:23:31 +0000 (13:23 +0200)] 
Disable hardware acceleration for unit tests

Explicitly disable hardware acceleration to make image diff more stable when ran on Travis and dev machine.

7 years agoAdd "point style" image tests
Simon Brunel [Mon, 9 Jul 2018 19:14:25 +0000 (21:14 +0200)] 
Add "point style" image tests

Replace the old style canvas "mock" context checks by image based unit tests which are easier to maintain and allow more flexibility in the drawing logic since we are not testing the context calls but the final painted result.

7 years agoReplace ES6 by Webpack in the integration docs (#5555)
Sebastiaan Lokhorst [Sun, 29 Jul 2018 20:16:10 +0000 (22:16 +0200)] 
Replace ES6 by Webpack in the integration docs (#5555)

7 years agoFix min and max option checks in linear scales (#5209)
Colin [Sun, 29 Jul 2018 16:09:16 +0000 (17:09 +0100)] 
Fix min and max option checks in linear scales (#5209)

When 0, the min and max options was considered not being set, instead we should check for null or undefined.

7 years agoRefactor helpers.canvas.drawPoint() (#5623)
Akihiko Kusanagi [Sun, 29 Jul 2018 09:31:28 +0000 (16:31 +0700)] 
Refactor helpers.canvas.drawPoint() (#5623)

Bring ctx.beginPath() before switch and replace ctx.fillRect()/ctx.strokeRect() with ctx.rect()/ctx.fill() to make it consistent with the other styles. It is also preferable that helpers.canvas.roundedRect() include ctx.closePath() at the end because CanvasRenderingContext2D.rect() closes the subpath.

Get rid of ctx.closePath() for cross, crossRot, star, line and dash because these have no closed path shape, and it should be avoided that ctx.closePath() makes a round-trip path.

7 years agoFix positioning in the custom tooltip example (#5454)
Jung Oh [Sat, 14 Jul 2018 08:06:02 +0000 (01:06 -0700)] 
Fix positioning in the custom tooltip example (#5454)

7 years agoUpdate the descriptions of barThickness, offsetGridLines and offset (#5600)
Akihiko Kusanagi [Sat, 14 Jul 2018 07:57:16 +0000 (15:57 +0800)] 
Update the descriptions of barThickness, offsetGridLines and offset (#5600)

7 years agoAdd circular option documentation for grid lines (#5637)
Niel Mistry [Sat, 14 Jul 2018 07:52:49 +0000 (03:52 -0400)] 
Add circular option documentation for grid lines (#5637)

7 years agoAdd a link to chartjs-plugin-style to extensions.md (#5638)
Akihiko Kusanagi [Sat, 14 Jul 2018 07:51:50 +0000 (15:51 +0800)] 
Add a link to chartjs-plugin-style to extensions.md (#5638)

7 years agoFix the example of Linear Radial Axis (#5633)
Akihiko Kusanagi [Wed, 11 Jul 2018 22:59:16 +0000 (06:59 +0800)] 
Fix the example of Linear Radial Axis (#5633)

7 years agoAdd label for first dataset in progress-bar example (#5625)
Bart Deslagmulder [Mon, 9 Jul 2018 18:27:43 +0000 (20:27 +0200)] 
Add label for first dataset in progress-bar example (#5625)

While the second dataset already has a label ("My Second dataset") the first dataset showed "undefined" as a label. Added a label to the first dataset object.

7 years agoEnable arbitrary rotation of datapoints (#5319)
Joel Hamilton [Sat, 7 Jul 2018 15:54:05 +0000 (11:54 -0400)] 
Enable arbitrary rotation of datapoints (#5319)

7 years agoAdd support for Shadow DOM (#5585)
Réda Housni Alaoui [Sat, 7 Jul 2018 15:52:29 +0000 (17:52 +0200)] 
Add support for Shadow DOM (#5585)

https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot/host

7 years agoAdd 15 minutes time steps (#5613)
Alec Fenichel [Sat, 7 Jul 2018 15:51:02 +0000 (11:51 -0400)] 
Add 15 minutes time steps (#5613)

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.