]> git.ipfire.org Git - thirdparty/Chart.js.git/log
thirdparty/Chart.js.git
9 years agoDoh!! removed the built files 2508/head
Tarqwyn [Tue, 10 May 2016 14:23:02 +0000 (15:23 +0100)] 
Doh!! removed the built files

9 years agoAdded new plugin Callback `afterScaleUpdate`
Tarqwyn [Tue, 10 May 2016 14:01:30 +0000 (15:01 +0100)] 
Added new plugin Callback `afterScaleUpdate`

Following a Slack conversation tadd new Callback to allow updates to datasets config (ie borderColor) based on results of the calculated scale, A typical use case would be apply a Gradient fill.

On branch feature_New_plugin_interface_afterScaleUpdate
Changes to be committed:
modified:   dist/Chart.bundle.js
modified:   dist/Chart.bundle.min.js

9 years agoMerge pull request #2505 from tomduncalf/add_min_rotation
Evert Timberg [Tue, 10 May 2016 13:03:47 +0000 (09:03 -0400)] 
Merge pull request #2505 from tomduncalf/add_min_rotation

Add minRotation support

9 years agoAdd minRotation support 2505/head
Tom Duncalf [Tue, 10 May 2016 11:10:01 +0000 (12:10 +0100)] 
Add minRotation support

9 years agoallow callback or userCallback in the time scale
Evert Timberg [Mon, 9 May 2016 22:14:25 +0000 (18:14 -0400)] 
allow callback or userCallback in the time scale

9 years agoMake the afterUpdate plugin method more useful
Evert Timberg [Mon, 9 May 2016 22:14:15 +0000 (18:14 -0400)] 
Make the afterUpdate plugin method more useful

9 years agoUpdate CDN in Readme to 2.1.2
Zach Panzarino [Sun, 8 May 2016 20:19:36 +0000 (16:19 -0400)] 
Update CDN in Readme to 2.1.2

9 years agoCasually codify 1.x policy. Fixes #2305
William Entriken [Sun, 8 May 2016 19:02:32 +0000 (15:02 -0400)] 
Casually codify 1.x policy. Fixes #2305

9 years ago2.1.2 release v2.1.2
Evert Timberg [Sun, 8 May 2016 15:26:48 +0000 (11:26 -0400)] 
2.1.2 release

9 years agoMerge pull request #2493 from chartjs/fix/2492
Evert Timberg [Sun, 8 May 2016 15:11:48 +0000 (11:11 -0400)] 
Merge pull request #2493 from chartjs/fix/2492

Calculate tick width for bars using number of ticks

9 years agoEnsure that when calculating tick width in the bar controller, we use the number... 2493/head
Evert Timberg [Sun, 8 May 2016 01:28:13 +0000 (21:28 -0400)] 
Ensure that when calculating tick width in the bar controller, we use the number of ticks in the scale, not the number of data points.

9 years agoMerge pull request #2490 from chartjs/fix/2476
Evert Timberg [Sat, 7 May 2016 21:04:37 +0000 (17:04 -0400)] 
Merge pull request #2490 from chartjs/fix/2476

beginAtZero and linear scales with no data should play nice

9 years agobeginAtZero and linear scales with no data should play nice 2490/head
Evert Timberg [Sat, 7 May 2016 20:56:04 +0000 (16:56 -0400)] 
beginAtZero and linear scales with no data should play nice

9 years agoMerge pull request #2489 from chartjs/fix/2480
Evert Timberg [Sat, 7 May 2016 20:44:26 +0000 (16:44 -0400)] 
Merge pull request #2489 from chartjs/fix/2480

Use local variables + don't include text width for vertical scales with mirrored text

9 years agoUse local variables + don't include text width for vertical scales with mirrored... 2489/head
Evert Timberg [Sat, 7 May 2016 20:26:44 +0000 (16:26 -0400)] 
Use local variables + don't include text width for vertical scales with mirrored text

9 years agoMerge pull request #2488 from chartjs/fix/2472
Evert Timberg [Sat, 7 May 2016 18:24:19 +0000 (14:24 -0400)] 
Merge pull request #2488 from chartjs/fix/2472

Scales should have 0 cross size when not displayed

9 years agoScales should have 0 cross size when not displayed 2488/head
Evert Timberg [Sat, 7 May 2016 18:18:36 +0000 (14:18 -0400)] 
Scales should have 0 cross size when not displayed

9 years agoMerge pull request #2486 from chartjs/fix/2330
Evert Timberg [Sat, 7 May 2016 15:47:21 +0000 (11:47 -0400)] 
Merge pull request #2486 from chartjs/fix/2330

Allow updating scale defaults

9 years agoAllow updating scale defaults 2486/head
Evert Timberg [Sat, 7 May 2016 15:43:24 +0000 (11:43 -0400)] 
Allow updating scale defaults

9 years agoUpdate CDN in README to 2.1.1
Zach Panzarino [Sat, 7 May 2016 15:42:51 +0000 (11:42 -0400)] 
Update CDN in README to 2.1.1

9 years agoMerge pull request #2484 from chartjs/release/2.1.1 v2.1.1
Evert Timberg [Sat, 7 May 2016 12:16:14 +0000 (08:16 -0400)] 
Merge pull request #2484 from chartjs/release/2.1.1

2.1.1 release build

9 years ago2.1.1 release build 2484/head
Evert Timberg [Sat, 7 May 2016 12:07:09 +0000 (08:07 -0400)] 
2.1.1 release build

9 years agoMerge pull request #2475 from chartjs/fix/2471
Evert Timberg [Sat, 7 May 2016 11:55:27 +0000 (07:55 -0400)] 
Merge pull request #2475 from chartjs/fix/2471

Fix time scale grid lines

9 years agoFix time scale grid lines 2475/head
Evert Timberg [Fri, 6 May 2016 11:57:28 +0000 (07:57 -0400)] 
Fix time scale grid lines

9 years agoMerge pull request #2473 from chartjs/fix/tension
Evert Timberg [Fri, 6 May 2016 11:29:04 +0000 (07:29 -0400)] 
Merge pull request #2473 from chartjs/fix/tension

Fix line tension drawing, especially when set to 0

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)