]> git.ipfire.org Git - thirdparty/Chart.js.git/log
thirdparty/Chart.js.git
6 years agoRename addEventListener and removeEventListener (#6046)
Jukka Kurkela [Wed, 6 Feb 2019 07:26:53 +0000 (09:26 +0200)] 
Rename addEventListener and removeEventListener (#6046)

Prevent conflict with `window.addEventListener` and `window.removeEventListener` (global scope).

6 years agoFix duplicate anchor (#6038)
Ben McCann [Tue, 5 Feb 2019 01:00:44 +0000 (17:00 -0800)] 
Fix duplicate anchor (#6038)

* Fix broken documentation anchors

* Revert changes to installation docs

6 years agoProvide a rectangle getArea implementation for horizontal bars (#6027)
Evert Timberg [Mon, 4 Feb 2019 08:56:38 +0000 (03:56 -0500)] 
Provide a rectangle getArea implementation for horizontal bars (#6027)

6 years agoRemove unused eslint directive (#6040)
Ben McCann [Mon, 4 Feb 2019 07:19:40 +0000 (23:19 -0800)] 
Remove unused eslint directive (#6040)

6 years agoFix padding of horizontal axes when labels are rotated (#6021)
Jukka Kurkela [Sat, 2 Feb 2019 08:46:27 +0000 (10:46 +0200)] 
Fix padding of horizontal axes when labels are rotated (#6021)

6 years agoReplace deprecated gulp-util and remove unused watchify (#6032)
Ben McCann [Sat, 2 Feb 2019 01:03:31 +0000 (17:03 -0800)] 
Replace deprecated gulp-util and remove unused watchify (#6032)

* Replace deprecated gulp-util and remove unused watchify

* Remove logging

6 years agoEnforce tooltip item `label` and `value` to be strings (#6030)
Akihiko Kusanagi [Fri, 1 Feb 2019 08:21:53 +0000 (16:21 +0800)] 
Enforce tooltip item `label` and `value` to be strings (#6030)

Also update the docs for `xLabel` and `yLabel` to also accept a `number`.

6 years agoPrevent infinite resize when vertical scrollbar appears (#6011)
Jukka Kurkela [Wed, 30 Jan 2019 10:43:42 +0000 (12:43 +0200)] 
Prevent infinite resize when vertical scrollbar appears (#6011)

If the container size shrank during chart resize, let's assume scrollbar appeared. So we resize again with the scrollbar visible effectively making chart smaller and the scrollbar hidden again. Because we are inside `throttled`, and currently `ticking`, scroll events are ignored during this whole 2 resize process. If we assumed wrong and something else happened, we are resizing twice in a frame (potential performance issue)

6 years agoReplace tooltip item xLabel and yLabel with label and value (#5996)
Jukka Kurkela [Wed, 30 Jan 2019 10:41:19 +0000 (12:41 +0200)] 
Replace tooltip item xLabel and yLabel with label and value (#5996)

6 years agoOmit inconsistent note about scriptable options (#6026)
Janelle deMent [Wed, 30 Jan 2019 08:24:26 +0000 (04:24 -0400)] 
Omit inconsistent note about scriptable options (#6026)

6 years agoMake moment optional from our UMD builds (#5978)
Simon Brunel [Tue, 29 Jan 2019 16:54:22 +0000 (17:54 +0100)] 
Make moment optional from our UMD builds (#5978)

6 years agoDeprecate configMerge and scaleMerge helpers (#6022)
Simon Brunel [Tue, 29 Jan 2019 16:52:21 +0000 (17:52 +0100)] 
Deprecate configMerge and scaleMerge helpers (#6022)

These methods shouldn't have been public since they are specific to the chart controller internal logic. Note that this scale custom merging will be removed in v3.

6 years agoCommon logic for resolving line element options (#6005)
Ben McCann [Tue, 29 Jan 2019 13:45:56 +0000 (05:45 -0800)] 
Common logic for resolving line element options (#6005)

6 years agoFix typos and make the docs consistent (#6020)
Akihiko Kusanagi [Tue, 29 Jan 2019 12:34:16 +0000 (20:34 +0800)] 
Fix typos and make the docs consistent (#6020)

6 years agoFix typo in test utils comment (#6017)
Ben McCann [Mon, 28 Jan 2019 18:40:07 +0000 (10:40 -0800)] 
Fix typo in test utils comment (#6017)

6 years agoFix pointBackgroundColor in radar sample (#6013)
Jukka Kurkela [Fri, 25 Jan 2019 10:48:01 +0000 (12:48 +0200)] 
Fix pointBackgroundColor in radar sample (#6013)

6 years agoSupply correct start param for insertElements in onDataPush (#6008)
Jukka Kurkela [Fri, 25 Jan 2019 09:27:22 +0000 (11:27 +0200)] 
Supply correct start param for insertElements in onDataPush (#6008)

6 years agoStop drawing radialLinear scale twice (#6007)
Jukka Kurkela [Wed, 23 Jan 2019 14:45:02 +0000 (16:45 +0200)] 
Stop drawing radialLinear scale twice (#6007)

6 years agoHandle any element in triggerMouseEvent in tests (#5994)
Jukka Kurkela [Sun, 20 Jan 2019 07:09:21 +0000 (09:09 +0200)] 
Handle any element in triggerMouseEvent in tests (#5994)

6 years agoTrigger mouse events at the center of arc (#5991)
Jukka Kurkela [Fri, 18 Jan 2019 12:46:13 +0000 (14:46 +0200)] 
Trigger mouse events at the center of arc (#5991)

6 years agoReturn correct label for value type axis (#5920)
Jukka Kurkela [Thu, 17 Jan 2019 15:04:08 +0000 (17:04 +0200)] 
Return correct label for value type axis (#5920)

6 years agoFaster date operations (#5982)
Ben McCann [Thu, 17 Jan 2019 15:01:27 +0000 (07:01 -0800)] 
Faster date operations (#5982)

6 years agoUpdate contributors guide and issue templates (#5962)
Ben McCann [Wed, 16 Jan 2019 08:35:14 +0000 (00:35 -0800)] 
Update contributors guide and issue templates (#5962)

6 years agoImplement scriptable options for points in line charts (#5973)
Evert Timberg [Tue, 15 Jan 2019 08:24:12 +0000 (03:24 -0500)] 
Implement scriptable options for points in line charts (#5973)

6 years agoUpdate the responsive docs about resizing the parent node (#5974)
Janelle deMent [Sun, 13 Jan 2019 20:20:25 +0000 (16:20 -0400)] 
Update the responsive docs about resizing the parent node (#5974)

Add a note about resizing the chart height with maintainAspectRatio

6 years agoImplement scriptable options for polar area charts (#5976)
Evert Timberg [Sun, 13 Jan 2019 20:17:27 +0000 (15:17 -0500)] 
Implement scriptable options for polar area charts (#5976)

6 years agoFix labelOffset description (#5979)
Akihiko Kusanagi [Sat, 12 Jan 2019 00:29:39 +0000 (08:29 +0800)] 
Fix labelOffset description (#5979)

6 years agoImplement adapter to abstract date/time features (#5960)
Simon Brunel [Fri, 11 Jan 2019 07:03:28 +0000 (08:03 +0100)] 
Implement adapter to abstract date/time features (#5960)

6 years agoFix typo / grammar in the responsive docs (#5975)
Ben McCann [Fri, 11 Jan 2019 06:31:36 +0000 (22:31 -0800)] 
Fix typo / grammar in the responsive docs (#5975)

6 years agoFix modifying ticks in afterBuildTicks (#5913)
Jukka Kurkela [Fri, 11 Jan 2019 06:29:38 +0000 (08:29 +0200)] 
Fix modifying ticks in afterBuildTicks (#5913)

6 years agoImplement scriptable options for doughnut charts (#5966)
Evert Timberg [Thu, 10 Jan 2019 15:00:36 +0000 (10:00 -0500)] 
Implement scriptable options for doughnut charts (#5966)

6 years agoMake the main controller importable (#5969)
Simon Brunel [Wed, 9 Jan 2019 13:40:11 +0000 (14:40 +0100)] 
Make the main controller importable (#5969)

Merge `core/core.js` in `core/core.controller.js`, split default options next to their associated code and deprecate `Chart.types` (not sure what it was for).

6 years agoRemove unused parameter in removeResizeListener invocation (#5970)
Daniel Ruf [Wed, 9 Jan 2019 13:39:20 +0000 (14:39 +0100)] 
Remove unused parameter in removeResizeListener invocation (#5970)

6 years agoTest default tooltip callbacks for scatter charts (#5967)
Nodar Nutsubidze [Wed, 9 Jan 2019 13:37:25 +0000 (07:37 -0600)] 
Test default tooltip callbacks for scatter charts (#5967)

This moves the mouse over the drawn point and verifies that there is no title in the tooltip and that the body contains expected content.

6 years agoFix contribution docs about gulp-cli (#5968)
Alexander Wunschik [Wed, 9 Jan 2019 07:10:58 +0000 (08:10 +0100)] 
Fix contribution docs about gulp-cli (#5968)

Update the docs so that only gulp-cli is installed globally

6 years agoFix generateTicks when working with tiny numbers (#5948)
Jukka Kurkela [Wed, 9 Jan 2019 06:58:13 +0000 (08:58 +0200)] 
Fix generateTicks when working with tiny numbers (#5948)

6 years agoRefactoring using helpers.options.resolve (#5965)
Akihiko Kusanagi [Tue, 8 Jan 2019 15:50:33 +0000 (23:50 +0800)] 
Refactoring using helpers.options.resolve (#5965)

6 years agoFix title, body and footer alignment inside tooltip (#5925)
Jukka Kurkela [Tue, 8 Jan 2019 12:37:36 +0000 (14:37 +0200)] 
Fix title, body and footer alignment inside tooltip (#5925)

6 years agoFix fitWithPointLabels calculation in radialLinear scale (#5963)
Akihiko Kusanagi [Mon, 7 Jan 2019 11:48:57 +0000 (19:48 +0800)] 
Fix fitWithPointLabels calculation in radialLinear scale (#5963)

6 years agoUse `Chart.min.js` in samples (#5958)
Simon Brunel [Sun, 6 Jan 2019 14:56:58 +0000 (15:56 +0100)] 
Use `Chart.min.js` in samples (#5958)

Samples are supposed to show good practices and in most cases we don't use the time scale but require `Chart.bundle.js`, which is not correct. Instead, we should require the non-bundled version in its minified version (`Chart.min.js`). Paradoxically, time based examples don't use `Chart.bundle.js` but require moment manually side to `Chart.min.js`, which IMO is also the correct way since it allows users to configure and use moment globally (TZ, locales, etc.) and doesn't enforce a specific moment version.

Also remove the `data-labelling.html` example because we now have an [official plugin](https://github.com/chartjs/chartjs-plugin-datalabels) that implements this feature and don't want to deal with user custom code anymore.

6 years agoCleanup scales export for better import strategy (#5953)
Simon Brunel [Sat, 5 Jan 2019 13:37:54 +0000 (14:37 +0100)] 
Cleanup scales export for better import strategy (#5953)

Scales now export their class and associated defaults (`_defaults`), the registration being done globally in `src/chart.js`.

6 years agoPrevent bezier points from being capped when a data point is off the chart (#5937)
Akihiko Kusanagi [Sat, 5 Jan 2019 11:28:15 +0000 (19:28 +0800)] 
Prevent bezier points from being capped when a data point is off the chart (#5937)

6 years agoMake animation duration consistent across browsers (#5331)
serhii-yakymuk [Wed, 2 Jan 2019 15:13:56 +0000 (17:13 +0200)] 
Make animation duration consistent across browsers (#5331)

6 years agoFix time scale ticks.reverse issue (#5933)
Akihiko Kusanagi [Wed, 2 Jan 2019 15:00:55 +0000 (23:00 +0800)] 
Fix time scale ticks.reverse issue (#5933)

6 years agoCast getRightValue to number in the bar controller (#5947)
Jukka Kurkela [Wed, 2 Jan 2019 14:55:27 +0000 (16:55 +0200)] 
Cast getRightValue to number in the bar controller (#5947)

6 years agoImprove tick generation for linear scales (#5938)
Akihiko Kusanagi [Tue, 1 Jan 2019 13:38:09 +0000 (21:38 +0800)] 
Improve tick generation for linear scales (#5938)

* Improve tick generation for linear scales
* Simplify the tick generation code
* Refactor getTickLimit

6 years agoFix RangeError exception when merging too many labels (#5936)
CK [Mon, 31 Dec 2018 12:35:51 +0000 (04:35 -0800)] 
Fix RangeError exception when merging too many labels (#5936)

Fix "RangeError: Maximum call stack size exceeded" exception when calling `Array.push.apply` with too many items (>125000).

6 years agoProperly calculate space needed by tick label on autoSkip (#5922)
Jukka Kurkela [Fri, 21 Dec 2018 06:56:53 +0000 (08:56 +0200)] 
Properly calculate space needed by tick label on autoSkip (#5922)

6 years agoAdd `reverse` support to time scale (#5927)
Jukka Kurkela [Thu, 20 Dec 2018 15:08:13 +0000 (17:08 +0200)] 
Add `reverse` support to time scale (#5927)

6 years agoAdd scale.pointLabels.lineHeight and scale.ticks.lineHeight options (#5914)
Akihiko Kusanagi [Thu, 20 Dec 2018 08:56:06 +0000 (17:56 +0900)] 
Add scale.pointLabels.lineHeight and scale.ticks.lineHeight options (#5914)

6 years agoAdd support for typed arrays (#5905)
Jukka Kurkela [Tue, 18 Dec 2018 13:49:39 +0000 (15:49 +0200)] 
Add support for typed arrays (#5905)

6 years agoAdd 'middle' interpolation to stepped plots (#5908)
Angus Comrie [Tue, 18 Dec 2018 13:47:24 +0000 (15:47 +0200)] 
Add 'middle' interpolation to stepped plots (#5908)

6 years agoAdd support for 'inner' border for arc elements (#5841)
Akihiko Kusanagi [Tue, 18 Dec 2018 12:58:02 +0000 (21:58 +0900)] 
Add support for 'inner' border for arc elements (#5841)

6 years agoAdd support for hiding axis when all linked datasets are hidden (#5885)
Dave Salomon [Tue, 18 Dec 2018 08:33:03 +0000 (08:33 +0000)] 
Add support for hiding axis when all linked datasets are hidden (#5885)

When `display: 'auto'`, the axis is visible only if at least one associated dataset is visible.

6 years agoUse HTTPS instead of HTTP for URLs supporting it
Simon Brunel [Sun, 16 Dec 2018 10:58:29 +0000 (11:58 +0100)] 
Use HTTPS instead of HTTP for URLs supporting it

6 years agoAdd omi-chart to extensions.md (#5912)
当耐特 [Sat, 15 Dec 2018 11:27:08 +0000 (19:27 +0800)] 
Add omi-chart to extensions.md (#5912)

6 years agoUse HTTPS in documentation links where possible (#5915)
Ben McCann [Sat, 15 Dec 2018 10:28:17 +0000 (02:28 -0800)] 
Use HTTPS in documentation links where possible (#5915)

6 years agoMigrate from Browserify to rollup (#5904)
Simon Brunel [Fri, 14 Dec 2018 19:20:43 +0000 (20:20 +0100)] 
Migrate from Browserify to rollup (#5904)

Browserify isn't optimal bundling Chart.js because it adds too many internal wrappers, doesn't handle external/global dependencies and doesn't provide a way to generate ESM builds. Therefore, it seems the right choice to switch to rollup, so move all the build process in `rollup.config.js` and make Gulp to execute `rollup -c`.

We also had to switch to Terser instead of UglifyJS because this last one contains a breaking bug. Note that tests now use the exact same rollup config as our builds (the minified one) to ensure that the bundling and minification steps don't break anything. Finally, replace the `gulp watch` task by `gulp build --watch` to be consistent with the other `unittest` and `docs` watching syntax.

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)