Ben McCann
d4109ca14e
Polar area: startAngle in degrees, 0 at top. ( #6936 )
...
* Polar area: startAngle in degrees, 0 at top.
Co-authored-by: Jukka Kurkela <jukka.kurkela@gmail.com>
2020-01-10 18:30:29 -05:00
Evert Timberg
d04cdfc21f
Add the ability to add a title to the legend ( #6906 )
...
* Add the ability to add a title to the legend
- Legend title can be specified
- Font & color options added
- Padding option added
- Positioning option added
- Legend title sample file added
2020-01-10 18:28:51 -05:00
Elina Gorshkova
8c0299483c
Typos fix ( #6924 )
...
* Fixed spelling typo
Changed 'are know' to 'are known'
* Fix spelling in the docs
Added a missing comma
* Fix spelling in the docs
Added a missing comma
2020-01-06 18:07:08 -05:00
Evert Timberg
895e746bd5
Update tooltip docs with working example ( #6918 )
2020-01-06 17:49:36 -05:00
Evert Timberg
9cb65d2c97
Add API to change data visibility ( #6907 )
2020-01-06 17:16:00 -05:00
Jukka Kurkela
b5d5ed987a
Internal data by axis instead of scale id ( #6912 )
...
* Internal data by axis instead of scale id
* Test
* Update test
* Update docs
2020-01-06 07:22:18 -05:00
Ben McCann
224fc11500
Scale cleanup ( #6916 )
2020-01-05 16:42:15 -05:00
Evert Timberg
5f6c3df6dc
Title alignment options ( #6908 )
...
* Add alignment options for title plugin.
Alignment can be set to 'start', 'center'. or 'end'. A new sample has been added as well.
* Update sample file title
2020-01-05 14:59:57 -05:00
Ben McCann
ecb0784f0d
Remove minSize ( #6910 )
2020-01-05 10:42:42 -05:00
Evert Timberg
e431554072
#5573 Link PolarArea chart docs to radial axis docs ( #6901 )
2020-01-03 14:56:22 -05:00
Jukka Kurkela
f4792306e0
Remove global from defaults ( #6893 )
2020-01-03 14:07:38 -05:00
Jukka Kurkela
afe30ca642
Determine if data is sorted ( #6885 )
...
* Determine if data is sorted
* Short circuit getMinMax when sorted
* Docs
2020-01-03 13:56:41 -05:00
Evert Timberg
e96ad6f249
Remove HTML legend that is mostly unsupported. ( #6887 )
...
* Remove HTML legend that is mostly unsupported.
Resolves the discussion in #5070
* Add migration docs
2020-01-03 13:56:11 -05:00
Evert Timberg
4ab6d7cc2a
Enable override settings for the axis border ( #6883 )
...
* Enable override settings for the axis border - #4041
Adds two new options to the cartesian axis: `borderColor` and `borderWidth`
which are used to control the border drawn at the edge of the axis area.
If these options are not set, the first grid line settings are used.
* Correct spelling
2020-01-03 13:55:50 -05:00
Jukka Kurkela
5d94cacb91
Update documentation of order
( #6897 )
2020-01-03 09:08:15 -05:00
Jukka Kurkela
102a311b44
Rewrite filler ( #6795 )
...
Filler plugin is rewritten and test coverage increased
2019-12-31 12:56:15 -05:00
Ben McCann
8bc250f63a
Remove unnecessary method argument ( #6878 )
...
Remove unnecessary method argument
2019-12-31 08:23:03 -05:00
Jukka Kurkela
1cda96946b
Fix default collections table ( #6879 )
2019-12-30 16:54:19 -05:00
Ben McCann
e39970d494
Alphabetize migration guide ( #6865 )
...
Alphabetize migration guide
2019-12-28 08:19:31 -05:00
Jukka Kurkela
b83f64b16e
Rewrite animation logic ( #6845 )
...
* Rewrite animation logic
* Review update 1
* Review update 2
* Review update 3
* Add 'none' to api.md
2019-12-27 17:13:24 -05:00
Ben McCann
fc7a72a8c1
Remove helpers.where and unnecessary calls to helpers.each ( #6860 )
...
* Remove unnecessary calls to helpers.each
* Remove where
2019-12-25 08:21:42 -05:00
SansDK
1d35ebb290
(feature) Added separate top and bottom padding for title plugin. ( #6852 )
...
* (feature) Added separate top and bottom padding for title plugin.
* Added regular padding multiplier like how it was before.
* Now makes use of toPadding helper.
Fixed typo in toPadding helper.
* Fixed requested changes.
2019-12-20 08:21:20 -05:00
Ben McCann
1127ff561b
Fix rendering of table in tooltip documentation ( #6846 )
2019-12-18 11:01:38 -05:00
Evert Timberg
c8bdca62e8
Move all helpers to src/helpers ( #6841 )
...
* Move all helpers into src/helpers
* Move curve helpers to their own file
* DOM helpers moved to their own file
* Update migration docs
* Remove migration docs on new functions
2019-12-17 08:04:40 -05:00
Evert Timberg
374b7491a3
Allow axes to be centered on the chart area ( #6818 )
...
Allow axes to be centered on the chart area or at a dynamic position based on another axis
2019-12-16 18:17:42 -05:00
Ben McCann
3093562b33
Rename calculateTickRotation to calculateLabelRotation ( #6809 )
2019-12-14 13:22:57 -05:00
Ben McCann
2be634a478
Interactions cleanup ( #6825 )
2019-12-14 13:09:50 -05:00
Jukka Kurkela
53c6c618c6
Allow pre-parsed data (to scale id's) ( #6768 )
...
* Allow pre-parsed data (to scale id's)
* Only update `count` references in pre-parsed mode
* Documentation
2019-12-06 19:47:00 -05:00
Ben McCann
1f3cf3c28d
Remove createElement and pre-allocate arrays ( #6788 )
...
* Remove createElement and pre-allocate arrays
* Address review comment
2019-11-28 07:00:50 -05:00
Jukka Kurkela
d5393003ac
Add min/max to performance documentation ( #6785 )
...
* Add min/max to performance documentation
* Review1
* Review2
2019-11-23 17:39:12 -05:00
Ben McCann
fb3cad0b94
Assume time series data has been normalized ( #6775 )
...
* Assume time series data has been normalized
* Add sentance to docs
2019-11-23 17:37:32 -05:00
Jukka Kurkela
ce74eb76a1
Convert axis options from arrays to objects ( #6773 )
...
* Convert axis options from arrays to objects
* Updated all chart type defaults
* Throw errors when axis type or position are not specified
* Avoid raising unnecessary errors when merging options into the default configs
* Fix additional tests
* Ensure scale defaults are set if type is not explicitly defined
* Another step
* Include `scale` as `firstIDs.r`
* update docs
* Update for buildOrUpdateScales
* Update migration guide
* Add test back
2019-11-21 18:46:49 -05:00
L M
18e3bc0624
Allow filling above and below with different colors ( #6318 )
...
Two colors allowed : first one to fill above the target, second to fill below
Tests added
Docs edited
2019-11-21 13:48:31 -05:00
Ben McCann
ea90365972
Don't store _meta on dataset ( #6778 )
2019-11-21 07:20:18 -05:00
Ben McCann
64bc48ab53
Remove Element.initialize ( #6777 )
2019-11-21 07:06:15 -05:00
Jukka Kurkela
1a9db4783c
Remove _ctx from Element ( #6764 )
...
* Remove _ctx from Element
* Sort
2019-11-19 19:01:32 -05:00
Ben McCann
34b93751db
Change updateElement to updateElements ( #6722 )
2019-11-19 07:12:38 -05:00
Ben McCann
edbeaac29f
Remove _getPixelForOffset ( #6763 )
...
* Remove _getPixelForOffset
* Update migration guide
2019-11-19 07:09:50 -05:00
Jukka Kurkela
eb0751c6d0
Point cleanup ( #6755 )
...
* remove steppedLine from Point
* Remove tension from Point
* Migration guide, private
2019-11-17 20:28:13 -05:00
Ben McCann
f5b2b8db64
Reduce object creation during parsing ( #6758 )
...
* Reduce object creation during parsing
* Rename method to createElement
* Make code more efficient?
* Update migration guide
2019-11-17 18:01:31 -05:00
Jukka Kurkela
d610205e29
Clean up element.line and do data decimation when applicable ( #6731 )
...
Decimate line drawing to improve performance and reduce extraneous drawing
2019-11-15 13:51:41 -05:00
Ben McCann
8f0de52c4e
Remove moment from dependencies ( #6745 )
...
* Remove moment from dependencies
* Remove version number in docs
2019-11-15 13:13:33 -05:00
Jukka Kurkela
7f97adf5a0
Move scale defining options up from ticks
( #6738 )
...
* Move scale defining options up from `ticks`
* Include `ticks.reverse` in v3-migration
2019-11-15 12:11:13 -05:00
Ben McCann
c12ca17e38
Remove unused helpers.canvas.roundedRect ( #6734 )
2019-11-15 07:49:41 -05:00
Ben McCann
64b4776242
Include helpers._alignPixel only once ( #6735 )
2019-11-14 07:17:29 -05:00
Ben McCann
cb95a36b94
Fix value passed to getPixelForTick ( #6724 )
2019-11-14 07:15:44 -05:00
Jukka Kurkela
4feaea925f
Small chores ( #6740 )
...
* Remove duplicate code
* Migrate `xLabel` and `yLabel` from docs & samples
2019-11-13 19:04:56 -05:00
Ben McCann
cd8f3846e3
Remove helpers.previousItem/nextItem ( #6727 )
2019-11-12 19:18:58 -05:00
Evert Timberg
2354e2ff6b
Allow functions to be specified for scale grid line options ( #6700 )
...
Add scriptable options for scale styling
2019-11-12 07:03:00 -05:00
Jukka Kurkela
11ef1e5e89
Versatile clipping ( #6642 )
...
Versatile clipping algorithm for different chart types
2019-11-10 17:41:01 -05:00
Ben McCann
a3392e0e59
Remove index and datasetIndex from Element ( #6688 )
...
Remove `index` and `datasetIndex` properties from elements.
2019-11-10 07:52:12 -05:00
Ben McCann
1049aa65b8
Remove unused method. Prefix private ones with underscore ( #6721 )
2019-11-10 07:49:16 -05:00
Jukka Kurkela
9589953c02
Context compatibility with dataLabels ( #6713 )
...
* Context compatibility with dataLabels
* document
* THe + wording
2019-11-08 19:59:05 -05:00
Ben McCann
3a33793f64
Generate jsdocs ( #5824 )
2019-11-08 07:28:21 -05:00
Evert Timberg
94afa63450
Remove zeroLineIndex functionality ( #6697 )
...
* Remove zeroLineIndex functionality
* Remove docs
* Code review updates
2019-11-07 06:27:49 -05:00
Edward Thomson
aff7d41140
Add cross-platform CI ( #6670 )
...
* Linux and Windows CI with GitHub Actions
* Add karma-edge-launcher
* Add edge configuration to karma.conf.js
* Support --browsers on the command line for karma tests
* Add macOS CI builds
* Add karma-safari-private-launcher
* Document browser specification for tests
2019-11-06 07:14:09 -05:00
Ben McCann
e42413f3e8
Remove unused model properties ( #6691 )
...
* Remove unused model properties
* Add to migration guide
2019-11-05 18:10:44 -05:00
Ben McCann
7a2160461d
Remove unused Element methods ( #6694 )
2019-11-05 18:09:44 -05:00
Ben McCann
f0fb2c65b1
Remove tension option backwards compatibility ( #6692 )
2019-11-05 07:11:53 -05:00
Jukka Kurkela
72df272234
Early data parsing, stacking by value and support object data ( #6576 )
...
* Early data parsing + stacking by value
* Review comments
* review comments
* Remove reduntant parsing
* Couple CC warnings
* Optimize filterBetween
* More migration info
2019-11-04 18:07:01 -05:00
Ben McCann
dd8d267956
Remove bundled builds ( #6680 )
2019-11-02 15:48:49 -04:00
Ben McCann
99811328dc
Make all ticks objects ( #6645 )
...
Make all ticks object
2019-10-31 18:45:13 -04:00
stockiNail
14010530d7
Added the global datasets defaults for new extended chart type ( #6649 )
...
Added documentation to create a global datasets default for new extended chart type.
This is currently mandatory for BAR/HORIZONTALBAR charts (see issue [#6636 ](https://github.com/chartjs/Chart.js/issues/6636 ))
2019-10-30 18:42:15 -04:00
Ben McCann
46ae5814fd
Start v3 migration guide ( #6639 )
2019-10-29 17:21:45 -04:00
Ben McCann
7c66b2f28c
Combine performance docs ( #6632 )
2019-10-28 18:11:50 -04:00
Jukka Kurkela
0228776e66
Remove deprecated interaction modes ( #6625 )
...
* Remove deprecated interaction modes
* Use default modes
2019-10-28 18:11:38 -04:00
Eliz
17655c7fec
Add label alignment option to axis label title ( #6521 )
...
Add label alignment option to axis label title
2019-10-27 16:36:08 -04:00
Ben McCann
08d133817b
Remove xLabel and yLabel from tooltip and chart and scales from element ( #6606 )
...
* Element should not have reference to chart
* Remove scales from element
* Remove deprecated xLabel and yLabel
2019-10-27 16:35:15 -04:00
Ben McCann
ae80936f03
Add link to performance documentation ( #6613 )
2019-10-27 14:50:18 -04:00
Jukka Kurkela
333118bff6
Hover styling for dataset in 'dataset' mode ( #6527 )
...
* Hover styling for dataset in 'dataset' mode
2019-10-25 13:22:37 -04:00
Ben McCann
9ff1c845f2
Bar options should not be defined on scale ( #6249 )
...
* Bar options should not be defined on scale
* Improve minimization
* Add tests
* Multiple datasets in test
2019-10-25 12:17:41 -04:00
Ben McCann
c6c991d0f0
Add a note to the perf documentation about rotation ( #6585 )
2019-10-22 20:57:51 -04:00
Jukka Kurkela
6b6f1a4c51
Implement dataset.order
( #6268 )
...
Allow sorting datasets based on the `order` property
2019-10-22 19:14:54 -04:00
Ben McCann
fc76610b12
Add ticks.sampleSize option ( #6508 )
2019-10-09 13:25:04 -04:00
Takuya Uehara
e9f341889f
Add link to linear radial axis for radar chart doc ( #6554 )
2019-10-06 10:02:00 -04:00
Daniel Cohen Gindi
376da2131e
Implemented RTL support for legends and tooltips ( #6460 )
...
Implemented RTL support for legends and tooltips
2019-09-11 19:20:03 -04:00
Matthias Perret
6e69a38305
Add elements.arc.angle in documentation ( #6491 )
...
Add elements.arc.angle in documentation
2019-09-07 07:20:07 -04:00
HansM
2954cf8a99
Fixed incorrect spelling in pie dataset options. ( #6466 )
...
Fixes https://github.com/chartjs/Chart.js/issues/6465 .
2019-08-14 19:02:08 -04:00
Jake
053729ac44
Add link back to home page from docs ( #6435 )
...
* Add link back to home page from docs #6433
* Modify link texts
* Edit homepage link
2019-08-04 19:49:58 -04:00
Akihiko Kusanagi
6632b8ba84
Add radar chart config options ( #6393 )
...
* Add radar chart config options
* Add default value of spanGaps option for radar charts
* Address review comments
2019-07-21 08:00:11 -04:00
Akihiko Kusanagi
0d3754254a
Correct descriptions on ticks.display and add pointLabels.display ( #6293 )
...
* Correct descriptions on ticks.display and add pointLabels.display
* Remove notes about angleLines.display and pointLabels.display
2019-06-23 11:44:35 -04:00
Akihiko Kusanagi
e3e80c9ac6
Support spanGaps in radar charts ( #6289 )
...
* Support spanGaps in radar charts
* Minor fixes based on feedback
2019-06-19 07:12:53 -04:00
Akihiko Kusanagi
b02a3a8175
Fix regression with lineTension ( #6288 )
2019-05-24 09:34:09 +02:00
Akihiko Kusanagi
bd3ab17ef7
Add tests and a sample for radar scriptable line options ( #6263 )
...
* Add tests and a sample for radar scriptable line options
* Improve image tests
2019-05-21 18:06:12 -04:00
Jukka Kurkela
abbddd1298
Allow specifying labels in time scale options ( #6257 )
2019-05-21 13:36:16 +02:00
gwyneblaidd
7d8526f691
Add support for floating bar chart ([start, end]) ( #6056 )
2019-05-21 10:54:13 +02:00
Jukka Kurkela
2a96d83c2c
Implement layers (z-index) for layout items ( #6241 )
2019-05-09 15:54:05 +02:00
Akihiko Kusanagi
feeda5d034
Make legend appearance consistent with chart elements ( #5621 )
2019-05-09 15:33:19 +02:00
Ben McCann
d6a5ea0d36
Implement per-dataset type (default and per-chart) options ( #5999 )
2019-05-06 22:52:40 +02:00
Josh McEwen
faad023313
Fix typo in doughnut documentation ( #6186 )
2019-04-08 09:43:12 +02:00
stockiNail
15d8ac38bd
Make docs consistent for cubicInterpolationMode and fill ( #6132 )
2019-04-08 09:42:06 +02:00
Akihiko Kusanagi
14007a912d
Fix ticks.minor and ticks.major configuration issues ( #6102 )
2019-04-02 09:45:34 +02:00
Ben McCann
a43e3b0f08
Specify time scale min and max options in standard manner ( #6097 )
2019-04-02 09:43:26 +02:00
Dave Kichler
07fae6159e
Implement legend.align: 'start', 'center', 'end' ( #6141 )
...
New `options.legend.align`config option for controlling alignment of legend blocks in horizontal/vertical legends.
2019-03-23 10:25:17 +01:00
Janelle deMent
b9290a20de
Make line options scriptable ( #6128 )
2019-03-21 09:06:39 +01:00
Ben McCann
390a8d7b41
Add docs for the date adapter used by the time scale ( #6134 )
2019-03-18 08:14:01 +01:00
Akihiko Kusanagi
6c9f899911
Add the description of the tooltip alignment options ( #6139 )
2019-03-18 08:05:27 +01:00
Jukka Kurkela
75e76cffe5
Make decimalPlaces private and update CDN links ( #6131 )
2019-03-13 10:36:10 +01:00
Simon Brunel
eddd1f14ba
Keep the previous extensions page link alive ( #6127 )
...
Instead of a direct link, restore the extensions.md file which now redirects /notes/extensions.html to https://github.com/chartjs/awesome in case anyone bookmarked it / there were links to it.
2019-03-12 08:35:39 +01:00
Ben McCann
653e9a954e
Add a note about how to include an example against master ( #6107 )
2019-03-03 10:26:40 +01:00