Commit Graph

241 Commits

Author SHA1 Message Date
Evert Timberg
23722a8b25 Make the afterUpdate plugin method more useful 2016-05-09 17:14:15 -05:00
William Entriken
8a46d1915d Casually codify 1.x policy. Fixes #2305 2016-05-08 15:02:32 -04:00
Evert Timberg
fc4c23c8d2 Allow updating scale defaults 2016-05-07 11:43:24 -04:00
Darren Keane
ad9f40f841 Update legend docs -> parameter 'data' has changed to 'chart'. 2016-05-05 16:59:44 +01:00
potatopeelings
c2cc3fbb4c 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
2016-05-03 16:45:43 -05:00
Vincent Chan
29606ae21f changes repo link to chartjs org 2016-05-02 16:01:26 +02:00
Vincent Chan
adacef8194 fixes several anchors 2016-05-02 15:57:32 +02:00
Doug Molineux
4d8def904c Added a <br>
The additional line will make the legend accessible.
https://github.com/chartjs/Chart.js/issues/2389
2016-04-28 16:52:40 -06:00
Evert Timberg
03fb66751f 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
2016-04-27 16:07:21 -05:00
Nick Downie
daf04463c0 Link to 1.x documentation in notes 2016-04-27 19:48:05 +01:00
Sam Stevens
cdf0682e39 change the default setting for Chart.defaults.global.title.display from true to false in the docs to match the code 2016-04-27 12:34:58 +01:00
Daan De Meyer
73493e2c9e Added default ("left") for position field in global scale defaults.
Documented scale position field in scale docs.
2016-04-26 03:09:35 +02:00
Daan De Meyer
bb29401a0e Removed scale option from pie/doughnut docs (not used)
Changed usages of tension in global element options and radar chart options to lineTension
2016-04-26 02:54:16 +02:00
Daan De Meyer
768a3d1e9c -- Replaced '-' and 'Array' with 'Object' where appropriate
-- Removed unnecessary options from bar chart options
2016-04-26 01:59:11 +02:00
Daan De Meyer
61cef17f11 -- Removed linebreak added with previous fix 2016-04-26 00:28:02 +02:00
Daan De Meyer
b9eef5453a -- tension option should be lineTension 2016-04-26 00:09:41 +02:00
Evert Timberg
129ca591e6 Merge pull request #2360 from vincchan/fix-anchor
Fixes anchor link in docs
2016-04-25 13:58:50 -04:00
Vincent Chan
d0b5bb941d Fixes anchor link in docs 2016-04-25 19:17:47 +02:00
Vincent Chan
e6e03c29a3 fixes #2351 2016-04-25 16:47:36 +02:00
Evert Timberg
a417e78b80 Remove unnecessary partial sentence 2016-04-24 17:12:29 -04:00
Evert Timberg
57b4325709 Doc updates for other chart types 2016-04-24 17:07:41 -04:00
Evert Timberg
74199235d3 Point styles 2016-04-24 16:30:19 -04:00
Evert Timberg
1ce1f0c41a Line chart docs 2016-04-24 16:28:47 -04:00
Evert Timberg
e70a1c85cf Mention what type of color options are supported 2016-04-24 16:28:10 -04:00
Evert Timberg
c1d7725ae0 Merge pull request #2340 from DaanDeMeyer/documentation-fixes
Documentation fixes
2016-04-23 18:27:35 -04:00
Daan De Meyer
d1c3612a50 Changed occurrences of "charts.defaults.Bar" to "charts.defaults.bar" 2016-04-23 23:54:40 +02:00
Daan De Meyer
938ecdfc97 Changed occurrence of "charts.defaults.Line" to "charts.defaults.line" 2016-04-23 23:52:26 +02:00
Evert Timberg
b2e162f2d7 Merge pull request #2339 from nnnick/docs/2.0-updates
Docs/2.0 updates
2016-04-23 17:45:16 -04:00
Daan De Meyer
88148b41f5 Changed two occurrences of percentageInnerCutout to cutoutPercentage which is the actual field name in the doughnut/pie options 2016-04-23 22:55:16 +02:00
Daan De Meyer
f840216326 Added dots to labels options in global.defaults.legend . 2016-04-23 22:54:13 +02:00
Evert Timberg
d583a7bf19 Fix #2324 2016-04-23 10:45:23 -04:00
Nick Downie
907f0c9bba Update browser support spec for 2.0 2016-04-23 14:34:57 +01:00
Nick Downie
527e7d9b7a Update colours + example values in docs 2016-04-23 14:25:58 +01:00
Evert Timberg
32db92c7e1 Merge pull request #2314 from jachstet-sea/consistent_option_names_pt1
Consistent option names pt1
2016-04-22 22:52:34 -04:00
Evert Timberg
f6f8fe5959 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 2016-04-22 21:04:55 -04:00
Jannis Achstetter
b21d147608 Update the docs 2016-04-21 16:29:05 +02:00
Jannis Achstetter
4d4271e6c4 Update the docs 2016-04-21 09:41:28 +02:00
Huw
719581e2e0 Fix tooltip example caretHeight to caretSize 2016-04-19 15:59:13 +01:00
Nick Downie
fa27842736 Split doughnut/pie example into two code block
Odd change - but makes tempting the documentation a lot simpler
2016-04-18 22:30:10 +01:00
Kammy
f006541652 fix typo 2016-04-19 00:31:19 +09:00
Evert Timberg
9abc63b11e Plugin event in destroy 2016-04-17 18:55:20 -04:00
Evert Timberg
43438d6303 Update doc version # 2016-04-17 12:39:09 -04:00
Evert Timberg
3f8681a1e4 Documentation for creating plugins 2016-04-17 12:25:58 -04:00
Evert Timberg
ca461479a8 Update docs 2016-04-16 21:50:45 -04:00
Evert Timberg
d5af01b2c7 Remove old doc files 2016-04-16 21:13:44 -04:00
Evert Timberg
c74196efc7 Update docs file for start angle and sweep properties 2016-04-16 21:10:31 -04:00
Tanner Linsley
af1adf6b84 Merge branch 'master' into v2.0-dev 2016-04-16 18:13:23 -05:00
Jamie Penney
8fca9540ab Document the point radius setting 2016-04-10 11:15:55 +12:00
Jamie Penney
8c2bc34b9c Fix whitespace in Line Chart documentation 2016-04-10 11:04:23 +12:00
Evert Timberg
488826ace3 Update doc file to indicate that category scale supports min/max attributes 2016-04-02 23:07:41 -04:00
Evert Timberg
0b56ea452f Minor doc fixes 2016-04-01 22:12:37 -04:00
Evert Timberg
f39fa53a7e Fix doc titles 2016-03-26 10:57:43 -04:00
etimberg
60a429f5cb Update doc version 2016-03-23 19:22:43 -04:00
Evert Timberg
bf724abe8b Fix axis IDs in documentation 2016-03-14 19:43:21 -04:00
Ivan Samoylenko
81e1448836 Added 'borderSkipped' parameter to Rectangle. 2016-03-13 18:58:36 +03:00
Aaron Miller
668b532fbe Add angleLineInterval option to radar chart 2016-03-13 09:59:19 -04:00
Ivan Samoylenko
72b0ef2df0 Missing whitespaces and code markup fixes 2016-03-13 14:47:37 +03:00
Evert Timberg
9bcc3ca34c Allow ticks.fixedStepSize or ticks.stepSize options to mean the same thing 2016-03-06 08:56:31 -05:00
Evert Timberg
c3f765857e Fix some time rounding problems 2016-03-05 22:58:34 -05:00
Matthias Winkelmann
d5f837843e Fixes nnnick/Chart.js#2086 by introducing a new time.parser option with high priority to replace the (deprecated) time.format 2016-03-02 13:53:35 +01:00
Evert Timberg
111ada730c Fix typo in docs. Fixes #1042 2016-02-15 16:42:23 -05:00
Tanner Linsley
eb2b04a9ff Documentation Updates for UMD support 2016-02-12 23:03:44 -07:00
Robert Becker
55f9b68b0c Updated build and documentation 2016-02-09 13:04:07 +01:00
Robert Becker
e9c18f603d Merged remote-tracking branch 'upstream/v2.0-dev' into v2.0-dev to fix conflicts.
Refactored linear scale fixed step size implementation.
Added nbproject to .gitignore
2016-02-09 12:56:16 +01:00
etimberg
37883689ad Fixes #1144 with an update to the docs to indicate that labels are required for each point 2016-02-07 19:58:15 -05:00
etimberg
ee16c1edbc Update docs for #1144 2016-02-07 19:55:32 -05:00
etimberg
9cf31da4c9 Add docs for global font options 2016-02-07 19:48:39 -05:00
Robert Becker
80ede9b9bb Added documentation for fixedStepSize.
Reformatted scale.linear.js to match original indenting.
2016-02-05 09:28:50 +01:00
Mathias Küsel
655c1152eb Adds different point styles 2016-01-16 18:07:57 +01:00
Mathias Küsel
24e4a924c4 Add option to disable line drawing 2016-01-14 13:39:06 +01:00
Evert Timberg
5070059ac1 Add template option for point labels + test + doc update 2016-01-09 14:39:43 -05:00
Tyler Romeo
c5f141306f Added documentation about tooltip templates
It can be a little unclear what the actual format for tooltip templates are. Added information concerning how the tooltip templates are evaluated, and what context, i.e., variables, is available inside of them.
2016-01-08 20:02:45 -08:00
Morley Zhi
84a6eb4a3b Updates
(1) Only limit gridlines when maxTicksLimit is defined, so we don't blow up the tests.
(2) Add a note about running tests in CONTRIBUTING.md
(3) Rebuild files
2016-01-07 11:40:26 -05:00
Morley Zhi
6478f93ded Use ticks.maxTicksLimit to limit gridlines (fixes #1859); use getValueOrDefault for resolving the maxTicksLimit option 2016-01-07 10:44:56 -05:00
Evert Timberg
5a5d698b11 Fix some errors with docs that were noticed when building 2015-12-28 08:29:54 -05:00
Damian Silbergleith Cunniff
fd2344dd5f Update the docs to reflect the new feature 2015-12-26 09:47:59 -07:00
Prashanth Chandra
8e7162ca91 Add missing comma 2015-12-22 17:50:11 +08:00
Evert Timberg
63b14dc2a9 Merge pull request #1810 from olyckne/fix/ticks_callback
Fix ticks callback and auto skip
2015-12-21 08:23:55 -05:00
Mattias Lyckne
888a8dd797 Update docs 2015-12-21 14:21:51 +01:00
Evert Timberg
5f4e8a4c13 Merge pull request #1794 from nnnick/update-scale-lifecycle
Update Scale Lifcycle
2015-12-19 14:29:49 -05:00
akagroundhog
421e294e2c xPadding/yPadding fix in 00-Getting-Started.md
xPadding is horizontal padding (left & right), yPadding is vertical padding (top & bottom).
2015-12-19 00:19:32 +03:00
Evert Timberg
c8d3831152 Split out data limits step of scales into it's own step. Wire up callbacks from the options to those in the scale life-cycle. Updated the docs accordingly 2015-12-17 09:21:04 -05:00
etimberg
9aee15fe6c Updated docs 2015-12-15 20:19:32 -05:00
Evert Timberg
6d490fbbbb Merge pull request #1779 from olyckne/adds_min_and_max_to_y_axes
Adds min and max setting to axes
2015-12-14 21:55:17 -05:00
Mattias Lyckne
968db4e783 Adds min and max setting to axes 2015-12-14 09:22:34 +01:00
Evert Timberg
c2ee14dec9 Update docs. Improved pie / polar area docs. Updated advanced docs regarding extending scales / chart types 2015-12-13 15:29:57 -05:00
Evert Timberg
716e303230 Call animation callbacks. Created a sample file that shows their use by updating a progress bar during the animation. Updated the documentation to show how they are called. 2015-12-12 10:01:08 -05:00
Derek Perkins
4add69432f Merge pull request #1750 from nnnick/v2.0-legend
Legend and Title Support
2015-12-11 18:52:26 -07:00
Daniel Chesterton
4eed79ee52 Lowercase NPM package name 2015-12-11 23:58:56 +00:00
Evert Timberg
819f865723 Merge branch 'v2.0-dev' into v2.0-legend
Conflicts:
	src/controllers/controller.doughnut.js
2015-12-07 22:10:38 -05:00
Evert Timberg
a2e1a97382 Update docs + remove unused config option since we don't need 2 different callbacks. 2015-12-07 21:52:15 -05:00
Evert Timberg
20b9395585 Merge pull request #1745 from nnnick/fix/1710
Remove unused tooltip options
2015-12-07 17:46:49 -05:00
Evert Timberg
eba2fce923 Docs + move defaults to correct place. 2015-12-06 11:19:55 -05:00
Evert Timberg
7ab2a5ed9a Remove unused xOffset property from the tooltip. Use the multiKeyBackground. Update documentation accordingly. 2015-12-06 09:38:19 -05:00
Evert Timberg
28fc6841f3 Add tooltipFormat option to time scale options.
Fix bars when displayed on a time scale.
Updated sample files.
2015-12-05 19:33:33 -05:00
etimberg
ccb1c68b65 Update docs 2015-11-30 20:47:49 -05:00
Evert Timberg
e5ee242dc6 Merge branch 'v2.0-dev' into v2.0-beta1-docs
Conflicts:
	docs/01-Scales.md
2015-11-29 11:32:57 -05:00
Evert Timberg
9dbc5650ed Initial update to line and bar docs 2015-11-29 11:30:39 -05:00
Evert Timberg
0052ceb7a1 Initial update to scale documentation 2015-11-29 10:58:01 -05:00
Evert Timberg
349586e14c Merge pull request #1695 from nnnick/fix/consistent-display-parameters
Fix inconsistent display parameters
2015-11-29 10:16:20 -05:00