]> git.ipfire.org Git - thirdparty/Chart.js.git/log
thirdparty/Chart.js.git
9 years agoFix line tension drawing, especially when set to 0 2473/head
Evert Timberg [Fri, 6 May 2016 11:19:38 +0000 (07:19 -0400)] 
Fix line tension drawing, especially when set to 0

9 years agoMerge pull request #2468 from dmk2014/master
Evert Timberg [Thu, 5 May 2016 16:09:27 +0000 (12:09 -0400)] 
Merge pull request #2468 from dmk2014/master

Update Legend Documentation

9 years agoUpdate legend docs -> parameter 'data' has changed to 'chart'. 2468/head
Darren Keane [Thu, 5 May 2016 15:57:50 +0000 (16:57 +0100)] 
Update legend docs -> parameter 'data' has changed to 'chart'.

9 years agoMerge pull request #2463 from chartjs/file-size-reduction
Evert Timberg [Thu, 5 May 2016 02:21:36 +0000 (22:21 -0400)] 
Merge pull request #2463 from chartjs/file-size-reduction

File size reduction

9 years agoFix jshint issue 2463/head
Evert Timberg [Thu, 5 May 2016 02:16:07 +0000 (22:16 -0400)] 
Fix jshint issue

9 years agoSize reduction for elements
Evert Timberg [Thu, 5 May 2016 02:08:55 +0000 (22:08 -0400)] 
Size reduction for elements

9 years agocore dataset controller update
Evert Timberg [Thu, 5 May 2016 01:32:40 +0000 (21:32 -0400)] 
core dataset controller update

9 years agoReduce core.title.js size
Evert Timberg [Thu, 5 May 2016 01:08:59 +0000 (21:08 -0400)] 
Reduce core.title.js size

9 years agoMinor legend fix when going to next line
Evert Timberg [Thu, 5 May 2016 01:06:19 +0000 (21:06 -0400)] 
Minor legend fix when going to next line

9 years agoPlugin system is slightly smaller
Evert Timberg [Wed, 4 May 2016 23:35:01 +0000 (19:35 -0400)] 
Plugin system is slightly smaller

9 years agoReduce size of on-canvas legend
Evert Timberg [Wed, 4 May 2016 23:28:22 +0000 (19:28 -0400)] 
Reduce size of on-canvas legend

9 years agoMerge pull request #2462 from zachpanz88/build-fix
Evert Timberg [Wed, 4 May 2016 23:07:41 +0000 (19:07 -0400)] 
Merge pull request #2462 from zachpanz88/build-fix

Fix build to remove all comments other than header

9 years agoFix build to remove all comments other than header 2462/head
Zach Panzarino [Wed, 4 May 2016 22:54:10 +0000 (22:54 +0000)] 
Fix build to remove all comments other than header

9 years agoMerge pull request #2416 from brizido/fix-tooltip-body
Evert Timberg [Wed, 4 May 2016 20:34:29 +0000 (16:34 -0400)] 
Merge pull request #2416 from brizido/fix-tooltip-body

Fix tooltip body

9 years agoUpdate bower.json to include correct homepage URL
Zach Panzarino [Wed, 4 May 2016 15:06:39 +0000 (11:06 -0400)] 
Update bower.json to include correct homepage URL

9 years agoUpdate README to include CDN for newest version (2.1.0)
Zach Panzarino [Wed, 4 May 2016 14:57:25 +0000 (10:57 -0400)] 
Update README to include CDN for newest version (2.1.0)

9 years ago2.1.0 build 2.1.0
Tanner Linsley [Tue, 3 May 2016 21:53:09 +0000 (16:53 -0500)] 
2.1.0 build

9 years agoFeature #73 - Horizontal Bar Chart (#2448)
potatopeelings [Tue, 3 May 2016 21:45:43 +0000 (07:45 +1000)] 
Feature #73 - Horizontal Bar Chart (#2448)

* Horizontal bar chart type

* Mentioned horizontal bar chart in bar documentation

* Sample file for horizontal bar chart

* Missing semicolon

* Fix for borderSkipped index

9 years agoMerge pull request #2433 from vincchan/fix-doc-links-anchors
Evert Timberg [Mon, 2 May 2016 14:21:57 +0000 (10:21 -0400)] 
Merge pull request #2433 from vincchan/fix-doc-links-anchors

fixes anchors and links in docs

9 years agochanges repo link to chartjs org 2433/head
Vincent Chan [Mon, 2 May 2016 14:01:26 +0000 (16:01 +0200)] 
changes repo link to chartjs org

9 years agofixes several anchors
Vincent Chan [Mon, 2 May 2016 13:57:32 +0000 (15:57 +0200)] 
fixes several anchors

9 years agoImprove time scale for zoom and pan
Evert Timberg [Sun, 1 May 2016 16:40:14 +0000 (12:40 -0400)] 
Improve time scale for zoom and pan

* Improve time scale for zoom and pan
Improve category scale when zoomed

* Fix CI test

9 years agoUpdated build
Evert Timberg [Sat, 30 Apr 2016 15:16:34 +0000 (11:16 -0400)] 
Updated build

9 years agoImplement getValueForPixel for category scale
Evert Timberg [Sat, 30 Apr 2016 12:39:18 +0000 (08:39 -0400)] 
Implement getValueForPixel for category scale

9 years agoIncrease tolerance for CI
Evert Timberg [Sat, 30 Apr 2016 00:07:42 +0000 (20:07 -0400)] 
Increase tolerance for CI

9 years agoMerge from feature/pan-support
Evert Timberg [Sat, 30 Apr 2016 00:03:15 +0000 (20:03 -0400)] 
Merge from feature/pan-support
All tests are passing

9 years agoMerge pull request #2421 from mchateloin/pie-demo-randomize-colors
Evert Timberg [Fri, 29 Apr 2016 22:18:38 +0000 (18:18 -0400)] 
Merge pull request #2421 from mchateloin/pie-demo-randomize-colors

Randomize data button randomizes colors in pie chart demo

9 years agoRandomize data button randomizes colors in pie chart demo 2421/head
Miguel Chateloin [Fri, 29 Apr 2016 21:47:27 +0000 (17:47 -0400)] 
Randomize data button randomizes colors in pie chart demo

9 years agoInclude correct script in pie custom tooltips sample
Zach Panzarino [Fri, 29 Apr 2016 17:08:59 +0000 (17:08 +0000)] 
Include correct script in pie custom tooltips sample
Fixes issue #2369

9 years agoFix tooltip body 2416/head
Ricardo Brizido [Fri, 29 Apr 2016 11:11:15 +0000 (12:11 +0100)] 
Fix tooltip body

9 years agoAdd license field to package files
Zach Panzarino [Fri, 29 Apr 2016 03:23:13 +0000 (03:23 +0000)] 
Add license field to package files

9 years agoMerge pull request #2412 from zachpanz88/patch-3
Evert Timberg [Fri, 29 Apr 2016 00:21:39 +0000 (20:21 -0400)] 
Merge pull request #2412 from zachpanz88/patch-3

Enable line tests

9 years agoMerge pull request #2413 from dougmolineux/master
Evert Timberg [Fri, 29 Apr 2016 00:18:46 +0000 (20:18 -0400)] 
Merge pull request #2413 from dougmolineux/master

Added a <br>

9 years agoEnable line tests 2412/head
Zach Panzarino [Thu, 28 Apr 2016 23:05:18 +0000 (23:05 +0000)] 
Enable line tests

9 years agoAdded a <br> 2413/head
Doug Molineux [Thu, 28 Apr 2016 22:52:40 +0000 (16:52 -0600)] 
Added a <br>

The additional line will make the legend accessible.
https://github.com/chartjs/Chart.js/issues/2389

9 years agoMerge pull request #2411 from zachpanz88/shared-data
Evert Timberg [Thu, 28 Apr 2016 22:36:43 +0000 (18:36 -0400)] 
Merge pull request #2411 from zachpanz88/shared-data

Update line tests to match new metadata system

9 years agoChange spaces to tabs in line tests 2411/head
Zach Panzarino [Thu, 28 Apr 2016 22:30:19 +0000 (22:30 +0000)] 
Change spaces to tabs in line tests

9 years agoUpdate radial linear tests
Evert Timberg [Thu, 28 Apr 2016 22:28:57 +0000 (18:28 -0400)] 
Update radial linear tests

9 years agoRewrite line chart tests to match new metadata structure
zachpanz88 [Thu, 28 Apr 2016 22:21:56 +0000 (18:21 -0400)] 
Rewrite line chart tests to match new metadata structure

9 years agoUpdate sample for new meta system
Evert Timberg [Thu, 28 Apr 2016 11:18:05 +0000 (07:18 -0400)] 
Update sample for new meta system

9 years agoReenable time scale tests
Evert Timberg [Thu, 28 Apr 2016 01:50:31 +0000 (21:50 -0400)] 
Reenable time scale tests

9 years agoRemove bad tests from linear scale
Evert Timberg [Thu, 28 Apr 2016 01:24:13 +0000 (21:24 -0400)] 
Remove bad tests from linear scale

9 years agoLinear scale tests
Evert Timberg [Thu, 28 Apr 2016 01:19:02 +0000 (21:19 -0400)] 
Linear scale tests

9 years agoNumerical improvements to matcher
Evert Timberg [Wed, 27 Apr 2016 23:46:15 +0000 (19:46 -0400)] 
Numerical improvements to matcher

9 years agoMinor test fix
Evert Timberg [Wed, 27 Apr 2016 23:04:00 +0000 (19:04 -0400)] 
Minor test fix

9 years agoFix radar tests & reenable. support new lineTension attribute like line controller
Evert Timberg [Wed, 27 Apr 2016 23:03:52 +0000 (19:03 -0400)] 
Fix radar tests & reenable. support new lineTension attribute like line controller

9 years agodisable time tests for same reason as others
Evert Timberg [Wed, 27 Apr 2016 21:45:39 +0000 (17:45 -0400)] 
disable time tests for same reason as others

9 years agoFix doughnut test
Evert Timberg [Wed, 27 Apr 2016 21:40:56 +0000 (17:40 -0400)] 
Fix doughnut test

9 years agoMerge pull request #2394 from Lighnat0r/master
Evert Timberg [Wed, 27 Apr 2016 21:24:23 +0000 (17:24 -0400)] 
Merge pull request #2394 from Lighnat0r/master

Update time scale range only for visible datasets

9 years agoupdate isDatasetVisible call 2394/head
Lighnat0r [Wed, 27 Apr 2016 21:18:03 +0000 (23:18 +0200)] 
update isDatasetVisible call

9 years agoMake animation options consistent for polar area and doughnut charts (#2342)
Evert Timberg [Wed, 27 Apr 2016 21:07:21 +0000 (17:07 -0400)] 
Make animation options consistent for polar area and doughnut charts (#2342)

* Make animation options consistent and fix an issue when `animateRotate === false` in the polar area chart

* Update docs for moved options

* Fix typo

9 years agoMerge branch 'master' of https://github.com/Lighnat0r/Chart.js
Lighnat0r [Wed, 27 Apr 2016 20:47:23 +0000 (22:47 +0200)] 
Merge branch 'master' of https://github.com/Lighnat0r/Chart.js

9 years agoupdate time scale range only for visible datasets
Lighnat0r [Wed, 27 Apr 2016 19:26:20 +0000 (21:26 +0200)] 
update time scale range only for visible datasets

9 years agoMerge pull request #2371 from chartjs/fix-time-scale-cutoff-bug
Evert Timberg [Wed, 27 Apr 2016 19:39:02 +0000 (15:39 -0400)] 
Merge pull request #2371 from chartjs/fix-time-scale-cutoff-bug

Time scale now compensates for rounded tick units

9 years agoMerge pull request #2346 from simonbrunel/shared-data
Evert Timberg [Wed, 27 Apr 2016 19:38:32 +0000 (15:38 -0400)] 
Merge pull request #2346 from simonbrunel/shared-data

Shared data between charts

9 years agoupdate time scale range only for visible datasets
Lighnat0r [Wed, 27 Apr 2016 19:26:20 +0000 (21:26 +0200)] 
update time scale range only for visible datasets

9 years agoMerge pull request #2393 from chartjs/docs-version-links
Nick Downie [Wed, 27 Apr 2016 18:55:06 +0000 (19:55 +0100)] 
Merge pull request #2393 from chartjs/docs-version-links

Link to previous version docs

9 years agoUpdate readme to link to previous versions 2393/head
Nick Downie [Wed, 27 Apr 2016 18:49:26 +0000 (19:49 +0100)] 
Update readme to link to previous versions

Note - this removed now not required mention of liquid tags in docs.

9 years agoLink to 1.x documentation in notes
Nick Downie [Wed, 27 Apr 2016 18:48:05 +0000 (19:48 +0100)] 
Link to 1.x documentation in notes

9 years agoFix legend tests and disable other failing tests 2346/head
Simon Brunel [Wed, 27 Apr 2016 17:42:01 +0000 (19:42 +0200)] 
Fix legend tests and disable other failing tests

9 years agoMerge pull request #2391 from samdjstevens/master
Evert Timberg [Wed, 27 Apr 2016 12:23:44 +0000 (08:23 -0400)] 
Merge pull request #2391 from samdjstevens/master

Fix incorrect default setting in documentation

9 years agochange the default setting for Chart.defaults.global.title.display from true to false... 2391/head
Sam Stevens [Wed, 27 Apr 2016 11:34:58 +0000 (12:34 +0100)] 
change the default setting for Chart.defaults.global.title.display from true to false in the docs to match the code

9 years agoMerge pull request #2387 from chartjs/v2.0-dev
Evert Timberg [Wed, 27 Apr 2016 10:50:23 +0000 (06:50 -0400)] 
Merge pull request #2387 from chartjs/v2.0-dev

V2.0 dev

9 years agoFix helpers, layoutService and logarithmic tests
Simon Brunel [Tue, 26 Apr 2016 20:44:53 +0000 (22:44 +0200)] 
Fix helpers, layoutService and logarithmic tests

9 years agoFix bar, bubble, doughnut, and polarArea tests
Simon Brunel [Mon, 25 Apr 2016 17:59:32 +0000 (19:59 +0200)] 
Fix bar, bubble, doughnut, and polarArea tests

Also replace the 2 spaces indentation in controller.bar.tests.js by tabs to match the overall code style.

9 years agoNew toBeCloseToPixel jasmine matcher
Simon Brunel [Mon, 25 Apr 2016 23:30:59 +0000 (01:30 +0200)] 
New toBeCloseToPixel jasmine matcher

Because of differences between testing platforms, introduce a new matcher for (floating) pixel values comparison (currently 2 pixels tolerance).

9 years agoNew test helpers to acquire and release charts
Simon Brunel [Mon, 25 Apr 2016 17:58:12 +0000 (19:58 +0200)] 
New test helpers to acquire and release charts

Since we changed the way how meta data are stores, now unit tests need to work on real Chart instances. This commit brings some helpers to inject/cleanup HTML canvas and it's wrapper into/from the DOM.

9 years agoAvoid meta data access in calculateCircumference
Simon Brunel [Mon, 25 Apr 2016 17:49:49 +0000 (19:49 +0200)] 
Avoid meta data access in calculateCircumference

Fix access of uninitialized meta data while calculating circumference in the polar area chart by caching the number of visible elements in the update() method. Also make the calculateTotal() of the doughnut chart tolerant of uninitialized meta data.

9 years agoHandle data visibility per chart
Simon Brunel [Sat, 23 Apr 2016 08:57:29 +0000 (10:57 +0200)] 
Handle data visibility per chart

New Chart.Element.hidden bool flag storing the visibility state of its associated data. Since elements belong to a specific chart, this change allows to manage data visibility per chart (e.g. when clicking the legend of some charts).

This commit also changes (fixes?) the polar chart animation when data visibility changes. Previous implementation was affected by an edge effect due to the use of NaN as hidden implementation.

9 years agoHandle effective dataset visibility per chart
Simon Brunel [Thu, 21 Apr 2016 17:12:12 +0000 (19:12 +0200)] 
Handle effective dataset visibility per chart

Introduced a new meta.hidden 3 states flag (null|true|false) to be able to override dataset.hidden when interacting with the chart (i.e., true or false to ignore the dataset.hidden value). This is required in order to be able to correctly share dataset.hidden between multiple charts.

For example: 2 charts are sharing the same data and dataset.hidden is initially false: the dataset will be displayed on both charts because meta.hidden is null. If the user clicks the legend of the first chart, meta.hidden is changed to true and the dataset is only hidden on the first chart. If dataset.hidden changes, only the second chart will have the dataset visibility updated and that until the user click again on the first chart legend, switching the meta.hidden to null.

9 years agoHandle dataset type per chart
Simon Brunel [Thu, 21 Apr 2016 21:43:47 +0000 (23:43 +0200)] 
Handle dataset type per chart

Dataset effective type is now stored under meta.type, allowing many charts to share the same dataset but with different types. Also move dataset.bar flag to meta.bar.

9 years agoAllow multiple charts sharing the same data
Simon Brunel [Thu, 21 Apr 2016 15:11:52 +0000 (17:11 +0200)] 
Allow multiple charts sharing the same data

Meta info are now scoped by chart and moved under the dataset._meta map { chart.id -> meta }. Meta for a specific chart (and dataset) can be accessed using chart.getDatasetMeta(datasetIndex) or from the dataset controller using getMeta(). Note that helpers.uid() now generates an int (instead of a string) to make lookups in the _meta map faster.

9 years agoMerge pull request #2376 from DaanDeMeyer/fix_scale_default_position
Evert Timberg [Tue, 26 Apr 2016 01:37:05 +0000 (21:37 -0400)] 
Merge pull request #2376 from DaanDeMeyer/fix_scale_default_position

Added default ("left") for position field in global scale defaults (fixes #2370)

9 years agoAdded default ("left") for position field in global scale defaults. 2376/head
Daan De Meyer [Tue, 26 Apr 2016 01:09:35 +0000 (03:09 +0200)] 
Added default ("left") for position field in global scale defaults.
Documented scale position field in scale docs.

9 years agoMerge pull request #2375 from DaanDeMeyer/documentation_fixes
Evert Timberg [Tue, 26 Apr 2016 00:58:58 +0000 (20:58 -0400)] 
Merge pull request #2375 from DaanDeMeyer/documentation_fixes

Removed scale option from pie/doughnut docs (not used)

9 years agoRemoved scale option from pie/doughnut docs (not used) 2375/head
Daan De Meyer [Tue, 26 Apr 2016 00:54:16 +0000 (02:54 +0200)] 
Removed scale option from pie/doughnut docs (not used)
Changed usages of tension in global element options and radar chart options to lineTension

9 years agoMerge pull request #2372 from DaanDeMeyer/documentation-fixes
Evert Timberg [Tue, 26 Apr 2016 00:20:41 +0000 (20:20 -0400)] 
Merge pull request #2372 from DaanDeMeyer/documentation-fixes

-- Replaced '-' and 'Array' with 'Object' where appropriate (fixes #2367)

9 years ago-- Replaced '-' and 'Array' with 'Object' where appropriate 2372/head
Daan De Meyer [Mon, 25 Apr 2016 23:59:11 +0000 (01:59 +0200)] 
-- Replaced '-' and 'Array' with 'Object' where appropriate
-- Removed unnecessary options from bar chart options

9 years agoTime scale now compensates for rounded tick units 2371/head
Tanner Linsley [Mon, 25 Apr 2016 22:48:21 +0000 (17:48 -0500)] 
Time scale now compensates for rounded tick units

Closes #2277

9 years agoMerge pull request #2368 from DaanDeMeyer/documentation-fixes
Evert Timberg [Mon, 25 Apr 2016 22:30:58 +0000 (18:30 -0400)] 
Merge pull request #2368 from DaanDeMeyer/documentation-fixes

Radar chart docs fix

9 years ago-- Removed linebreak added with previous fix 2368/head
Daan De Meyer [Mon, 25 Apr 2016 22:28:02 +0000 (00:28 +0200)] 
-- Removed linebreak added with previous fix

9 years ago-- tension option should be lineTension
Daan De Meyer [Mon, 25 Apr 2016 22:09:41 +0000 (00:09 +0200)] 
-- tension option should be lineTension

9 years agoMerge pull request #2359 from zachpanz88/patch-1
Evert Timberg [Mon, 25 Apr 2016 17:58:57 +0000 (13:58 -0400)] 
Merge pull request #2359 from zachpanz88/patch-1

Fix link address

9 years agoMerge pull request #2360 from vincchan/fix-anchor
Evert Timberg [Mon, 25 Apr 2016 17:58:50 +0000 (13:58 -0400)] 
Merge pull request #2360 from vincchan/fix-anchor

Fixes anchor link in docs

9 years agoUpdate gulpfile.js 2359/head
Zach Panzarino [Mon, 25 Apr 2016 17:18:25 +0000 (13:18 -0400)] 
Update gulpfile.js

9 years agoFixes anchor link in docs 2360/head
Vincent Chan [Mon, 25 Apr 2016 17:17:47 +0000 (19:17 +0200)] 
Fixes anchor link in docs

9 years agoMerge pull request #2356 from zachpanz88/patch-1
Evert Timberg [Mon, 25 Apr 2016 15:47:36 +0000 (11:47 -0400)] 
Merge pull request #2356 from zachpanz88/patch-1

Fix url address

9 years agoMerge pull request #2353 from vincchan/fix-caniuse-link
Evert Timberg [Mon, 25 Apr 2016 15:47:11 +0000 (11:47 -0400)] 
Merge pull request #2353 from vincchan/fix-caniuse-link

Fixes broken link in the docs

9 years agoUpdate package.json 2356/head
Zach Panzarino [Mon, 25 Apr 2016 15:13:50 +0000 (11:13 -0400)] 
Update package.json

9 years agofixes #2351 2353/head
Vincent Chan [Mon, 25 Apr 2016 14:47:36 +0000 (16:47 +0200)] 
fixes #2351

9 years agoMerge pull request #2352 from zachpanz88/patch-1
Jake [Mon, 25 Apr 2016 13:22:39 +0000 (09:22 -0400)] 
Merge pull request #2352 from zachpanz88/patch-1

Fix old broken links and update for new repo

9 years agoUpdate README.md 2352/head
Zach Panzarino [Mon, 25 Apr 2016 13:21:39 +0000 (09:21 -0400)] 
Update README.md

9 years agoFix old broken links and update for new repo
Zach Panzarino [Mon, 25 Apr 2016 13:18:49 +0000 (09:18 -0400)] 
Fix old broken links and update for new repo

9 years agoUpdate README.md
William Entriken [Mon, 25 Apr 2016 02:12:15 +0000 (22:12 -0400)] 
Update README.md

9 years agoUpdate coverage badge for switched location
Evert Timberg [Sun, 24 Apr 2016 23:26:55 +0000 (19:26 -0400)] 
Update coverage badge for switched location

9 years agoNew built files
Evert Timberg [Sun, 24 Apr 2016 23:24:53 +0000 (19:24 -0400)] 
New built files

9 years agoMerge pull request #2350 from zachpanz88/patch-1
Evert Timberg [Sun, 24 Apr 2016 23:02:33 +0000 (19:02 -0400)] 
Merge pull request #2350 from zachpanz88/patch-1

Update build status link in README

9 years agoUpdate build status link in README 2350/head
Zach Panzarino [Sun, 24 Apr 2016 23:00:11 +0000 (19:00 -0400)] 
Update build status link in README

9 years agoMerge pull request #2349 from nnnick/readme-2.0
Evert Timberg [Sun, 24 Apr 2016 21:37:46 +0000 (17:37 -0400)] 
Merge pull request #2349 from nnnick/readme-2.0

Fix readme to post to docs website

9 years agoUpdate link to post to 2.0 docs 2349/head
Nick Downie [Sun, 24 Apr 2016 21:33:25 +0000 (22:33 +0100)] 
Update link to post to 2.0 docs