Commit Graph

1979 Commits

Author SHA1 Message Date
Evert Timberg
5367d56f49 Merge pull request #2675 from FROGGS/patch-1
Fix links to 09-Advanced.md (was 07-Advanced.md)
2016-05-31 11:52:51 -04:00
Tobias Leich
9d7a0fb93e Fix links to 09-Advanced.md (was 07-Advanced.md) 2016-05-31 15:26:34 +02:00
Evert Timberg
600f5b9ba0 Improve core and polar area 2016-05-30 21:55:58 -04:00
Evert Timberg
11345b6c89 Polar area controller improvements 2016-05-30 21:42:15 -04:00
Evert Timberg
a5167cc42d Reduce duplicated code in doughnut controller 2016-05-30 21:33:11 -04:00
Evert Timberg
fcff496301 Improve bubble controller minification and code duplication. 2016-05-30 19:07:31 -04:00
Evert Timberg
daeb804358 Merge pull request #2668 from zachpanz88/restructure-issues
Change templates for issues/PRs
2016-05-30 11:46:05 -04:00
Zach Panzarino
99c5b672f0 Change templates for issues/PRs 2016-05-30 15:37:19 +00:00
Evert Timberg
bd6c4870af Update colors for chart that is created 2016-05-29 16:30:31 -04:00
Evert Timberg
a5ab4521a1 Merge pull request #2661 from chartjs/tooltip-improvements-and-tests
Improve tooltip performance and added new options
2016-05-29 12:10:30 -04:00
Evert Timberg
d29a0158b8 Merge pull request #2664 from chartjs/fix/1980-and-2662
Linear and RadialLinear scales now derive from a common base class
2016-05-29 10:49:00 -04:00
Evert Timberg
876ddc8931 Update radial linear scale docs 2016-05-29 10:31:58 -04:00
Evert Timberg
3cd21c8053 Linear and RadialLinear scales now derive from a common base class 2016-05-29 10:16:47 -04:00
Evert Timberg
8e8cc5b61f Merge branch 'tooltip-improvements-and-tests' of https://github.com/nnnick/Chart.js into tooltip-improvements-and-tests
Conflicts:
	test/core.tooltip.tests.js
2016-05-28 21:17:30 -04:00
Evert Timberg
6bc917c8e3 Improve testing on the CI 2016-05-28 21:08:20 -04:00
Evert Timberg
6667832392 Fix CI & JShint issues 2016-05-28 21:01:10 -04:00
Evert Timberg
da1c51f149 Improve testing on CI 2016-05-28 20:55:20 -04:00
Evert Timberg
b646f6d816 Add a way of sorting tooltip items with a custom sort function 2016-05-28 20:47:36 -04:00
Evert Timberg
af5344462e Improve tooltip minification 2016-05-28 19:39:15 -04:00
Evert Timberg
8d20379e29 Initial tooltip tests + fix a bug when the tooltip beforeLabel and afterLabel callbacks returned strings 2016-05-28 15:26:46 -04:00
Evert Timberg
9269411799 Merge pull request #2657 from chartjs/tooltip-color-callback
Provide a way to configure the colour of tooltip items
2016-05-28 12:14:27 -04:00
Evert Timberg
c1b8839a69 Merge pull request #2660 from chartjs/fix/2613
When destroying the chart, any animations should be stopped.
2016-05-28 11:26:09 -04:00
Evert Timberg
f247536b4a When destroying the chart, any animations should be stopped. 2016-05-28 11:05:02 -04:00
Evert Timberg
528680d666 Merge pull request #2658 from chartjs/fix/2580
Allow turning off lines on a per dataset basis
2016-05-28 10:56:25 -04:00
Evert Timberg
d79bcb74ba Merge pull request #2659 from chartjs/fix/2639
Fix pie custom tooltip sample
2016-05-28 10:52:42 -04:00
Evert Timberg
1b277a71e4 Fix pie custom tooltip sample 2016-05-28 10:48:33 -04:00
Evert Timberg
327b8d82f5 Allow turning off lines on a per dataset basis 2016-05-27 22:20:51 -04:00
Evert Timberg
b3f8a53ea5 Merge pull request #2640 from chartjs/legend-and-title-as-plugins
Legend and title as plugins
2016-05-27 21:19:28 -04:00
Evert Timberg
66aa65be68 Tooltip now has a callback for configuring the colors of items displayed. Added docs and improved the options passed to the tooltip 2016-05-27 21:07:02 -04:00
Evert Timberg
bcd17e5840 Merge pull request #2649 from chartjs/fix/2647
Line points always need to pivot
2016-05-26 20:23:10 -04:00
Evert Timberg
c6eb8bf58c Line points need always need to pivot after regardless of whether or not bezier points are updated. Bezier points should only be updated if the line tension is not 0. 2016-05-26 20:02:46 -04:00
Evert Timberg
464adcc94b Merge pull request #2648 from chartjs/fix/2607
Don't use translates and rotates for drawing rotated rectangles
2016-05-26 19:42:37 -04:00
Evert Timberg
cca4c76c00 Don't use translates and rotates for drawing rotated rectangles 2016-05-26 19:38:27 -04:00
Evert Timberg
ae01f1726c Fix tests 2016-05-26 19:22:11 -04:00
Evert Timberg
40d76b6a7b 2.1.4 release 2016-05-26 18:43:39 -04:00
Evert Timberg
1801f56d8f Merge pull request #2645 from Rowno/patch-1
docs: fix the bar chart default axis id's
2016-05-26 17:51:27 -04:00
Roland Warmerdam
127ed8ddb3 docs: fix the bar chart default axis id's 2016-05-26 14:38:53 -07:00
Evert Timberg
46fc96bf4d Remove unused code from core controller. 2016-05-25 21:30:22 -04:00
Evert Timberg
d6289c6129 Convert title block to a plugin 2016-05-25 21:28:02 -04:00
Evert Timberg
1ae0f5e4d4 Legend is attached to the graph as a plugin. 2016-05-25 21:23:46 -04:00
Evert Timberg
8876cd8887 Merge pull request #2625 from chartjs/fix/2344
Start on Documentation Update
2016-05-25 18:50:32 -04:00
Evert Timberg
93e5e52c65 Merge branch 'master' into fix/2344 2016-05-25 18:43:35 -04:00
Evert Timberg
81aedf4df0 Fix scale typos 2016-05-25 18:39:43 -04:00
Simon Brunel
451a9a4515 Fix #2418 Firefox old version compatibility
Old versions of FF doesn't accept accessing the computed style via the 'max-width' and 'max-height' CSS notations using brackets, in which case the returned value is undefined. Changed the constraint methods to use maxWidth and mawHeight instead and make sure to test valid values.
2016-05-25 18:39:42 -04:00
Vanderhoven Nick
07b7db14e9 This fixes documentation issue #2628 2016-05-25 18:39:42 -04:00
Simon Brunel
1fc71a4a89 Decomplexify Chart.core.controller.eventHandler
Refactor redundant code, use local variables and introduce a new helper to compare arrays (Chart.helpers.arrayEquals).
2016-05-25 18:39:42 -04:00
Simon Brunel
07595d3271 Refactor controller scale methods
Rewrite these two methods to reduce code duplication. Note that options.scale is not anymore mapped to 'radialScale' ID but to 'scale' ID (see ensureScalesHaveIDs), since this ID is not referenced anywhere in the code base.
2016-05-25 18:39:42 -04:00
Simon Brunel
381aeaa19f Refactor addElements and addElementAndReset
Data controllers should now rarely implement addElements and addElementAndReset but instead should define dataElementType (and optionally datasetElementType). Also remove some dead code (e.g. numBars, colorForNewElement, etc.).
2016-05-25 18:39:42 -04:00
Simon Brunel
d513ba0ef7 Refactor scale base pixel and point calculation. 2016-05-25 18:39:42 -04:00
Zach Panzarino
e78d06d3e8 Clean up gulpfile even more 2016-05-25 18:39:42 -04:00