]> git.ipfire.org Git - thirdparty/Chart.js.git/log
thirdparty/Chart.js.git
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 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

9 years agoMerge pull request #2348 from nnnick/doc-cleanup
Evert Timberg [Sun, 24 Apr 2016 21:28:57 +0000 (17:28 -0400)] 
Merge pull request #2348 from nnnick/doc-cleanup

Add tables for each chart type listing options that can go in each dataset

9 years agoRemove unnecessary partial sentence 2348/head
Evert Timberg [Sun, 24 Apr 2016 21:12:29 +0000 (17:12 -0400)] 
Remove unnecessary partial sentence

9 years agoDoc updates for other chart types
Evert Timberg [Sun, 24 Apr 2016 21:07:41 +0000 (17:07 -0400)] 
Doc updates for other chart types

9 years agoPoint styles
Evert Timberg [Sun, 24 Apr 2016 20:30:19 +0000 (16:30 -0400)] 
Point styles

9 years agoLine chart docs
Evert Timberg [Sun, 24 Apr 2016 20:28:47 +0000 (16:28 -0400)] 
Line chart docs

9 years agoMention what type of color options are supported
Evert Timberg [Sun, 24 Apr 2016 20:28:10 +0000 (16:28 -0400)] 
Mention what type of color options are supported

9 years agoMerge pull request #2343 from nnnick/fix/2152
Evert Timberg [Sun, 24 Apr 2016 13:40:34 +0000 (09:40 -0400)] 
Merge pull request #2343 from nnnick/fix/2152

Only update the size of boxes that are not full width

9 years agoMerge pull request #2345 from nnnick/fix/2176
Evert Timberg [Sun, 24 Apr 2016 13:23:40 +0000 (09:23 -0400)] 
Merge pull request #2345 from nnnick/fix/2176

Only use valid label moments

9 years agoOnly use valid label moments 2345/head
Evert Timberg [Sun, 24 Apr 2016 13:14:21 +0000 (09:14 -0400)] 
Only use valid label moments

9 years agoOnly update the size of boxes that are not full width 2343/head
Evert Timberg [Sun, 24 Apr 2016 12:20:36 +0000 (08:20 -0400)] 
Only update the size of boxes that are not full width

9 years agoMerge pull request #2340 from DaanDeMeyer/documentation-fixes
Evert Timberg [Sat, 23 Apr 2016 22:27:35 +0000 (18:27 -0400)] 
Merge pull request #2340 from DaanDeMeyer/documentation-fixes

Documentation fixes

9 years agoChanged occurrences of "charts.defaults.Bar" to "charts.defaults.bar" 2340/head
Daan De Meyer [Sat, 23 Apr 2016 21:54:40 +0000 (23:54 +0200)] 
Changed occurrences of "charts.defaults.Bar" to "charts.defaults.bar"

9 years agoChanged occurrence of "charts.defaults.Line" to "charts.defaults.line"
Daan De Meyer [Sat, 23 Apr 2016 21:52:26 +0000 (23:52 +0200)] 
Changed occurrence of "charts.defaults.Line" to "charts.defaults.line"

9 years agoMerge pull request #2339 from nnnick/docs/2.0-updates
Evert Timberg [Sat, 23 Apr 2016 21:45:16 +0000 (17:45 -0400)] 
Merge pull request #2339 from nnnick/docs/2.0-updates

Docs/2.0 updates

9 years agoMerge pull request #2338 from DaanDeMeyer/documentation-fixes 2339/head
Evert Timberg [Sat, 23 Apr 2016 21:08:09 +0000 (17:08 -0400)] 
Merge pull request #2338 from DaanDeMeyer/documentation-fixes

Documentation fixes

9 years agoChanged two occurrences of percentageInnerCutout to cutoutPercentage which is the... 2338/head
Daan De Meyer [Sat, 23 Apr 2016 20:55:16 +0000 (22:55 +0200)] 
Changed two occurrences of percentageInnerCutout to cutoutPercentage which is the actual field name in the doughnut/pie options

9 years agoAdded dots to labels options in global.defaults.legend .
Daan De Meyer [Sat, 23 Apr 2016 20:54:13 +0000 (22:54 +0200)] 
Added dots to labels options in global.defaults.legend .

9 years agoFix adding data to pie, doughnut, and polar area charts
Evert Timberg [Sat, 23 Apr 2016 14:52:02 +0000 (10:52 -0400)] 
Fix adding data to pie, doughnut, and polar area charts

9 years agoFix #2324
Evert Timberg [Sat, 23 Apr 2016 14:45:23 +0000 (10:45 -0400)] 
Fix #2324

9 years agoMerge pull request #2336 from nnnick/docs/2.0-updates
Evert Timberg [Sat, 23 Apr 2016 13:46:58 +0000 (09:46 -0400)] 
Merge pull request #2336 from nnnick/docs/2.0-updates

Documentation tweaks for 2.0 relase

9 years agoUpdate browser support spec for 2.0 2336/head
Nick Downie [Sat, 23 Apr 2016 13:34:57 +0000 (14:34 +0100)] 
Update browser support spec for 2.0

9 years agoUpdate colours + example values in docs
Nick Downie [Sat, 23 Apr 2016 13:25:58 +0000 (14:25 +0100)] 
Update colours + example values in docs

9 years agoMerge pull request #2314 from jachstet-sea/consistent_option_names_pt1
Evert Timberg [Sat, 23 Apr 2016 02:52:34 +0000 (22:52 -0400)] 
Merge pull request #2314 from jachstet-sea/consistent_option_names_pt1

Consistent option names pt1

9 years agoAdd in a beforeRender plugin event. Makes it easier to handle things that need to...
Evert Timberg [Sat, 23 Apr 2016 01:04:55 +0000 (21:04 -0400)] 
Add in a beforeRender plugin event. Makes it easier to handle things that need to happen once at the start of animation but not on every frame

9 years agoMerge pull request #2333 from nnnick/fix/2023
Evert Timberg [Sat, 23 Apr 2016 00:54:56 +0000 (20:54 -0400)] 
Merge pull request #2333 from nnnick/fix/2023

Fix/2023

9 years agoRemove commented code 2333/head
Evert Timberg [Sat, 23 Apr 2016 00:49:44 +0000 (20:49 -0400)] 
Remove commented code

9 years agoSupport radar tooltip mode 'label'
Evert Timberg [Sat, 23 Apr 2016 00:48:41 +0000 (20:48 -0400)] 
Support radar tooltip mode 'label'

9 years agoMerge pull request #2332 from sashamjolnir/patch-2 2387/head
Evert Timberg [Fri, 22 Apr 2016 20:58:31 +0000 (16:58 -0400)] 
Merge pull request #2332 from sashamjolnir/patch-2

this fix small typo

9 years agothis fix small typo 2332/head
Alexander Mansurov [Fri, 22 Apr 2016 20:47:16 +0000 (23:47 +0300)] 
this fix small typo

9 years agoMerge pull request #2329 from zachpanz88/build-fix
Jake [Fri, 22 Apr 2016 15:07:23 +0000 (11:07 -0400)] 
Merge pull request #2329 from zachpanz88/build-fix

Fix build to include comment at top of file

9 years agoFix build to include comment at top of file 2329/head
Zach Panzarino [Fri, 22 Apr 2016 15:03:52 +0000 (15:03 +0000)] 
Fix build to include comment at top of file

9 years agoMerge pull request #2326 from johnw86/master
Evert Timberg [Fri, 22 Apr 2016 14:08:18 +0000 (10:08 -0400)] 
Merge pull request #2326 from johnw86/master

Scaled bar width fix

9 years agoScaled bar width fix 2326/head
John Walker [Fri, 22 Apr 2016 13:59:28 +0000 (14:59 +0100)] 
Scaled bar width fix

Add logic for calculating bar width when ticks are less than the data labels

9 years agoMerge pull request #2318 from Janpot/destroy-typo
Evert Timberg [Thu, 21 Apr 2016 15:47:20 +0000 (11:47 -0400)] 
Merge pull request #2318 from Janpot/destroy-typo

Fix typo in plugin 'destroy'