Jukka Kurkela
ef89abb84b
CategoryScale: automatically add missing labels ( #8053 )
...
CategoryScale: automatically add missing labels
2020-11-14 17:00:17 -05:00
Jukka Kurkela
23bf7c0c89
Preserve scriptable context ( #7981 )
...
* Preserve scriptable context
* CC, utilize `index` in tests
* Update example to utilize context
2020-11-01 07:39:08 -05:00
Jukka Kurkela
ff76a236bf
Rename lineTension back to tension ( #7978 )
2020-10-31 14:54:14 +02:00
Jukka Kurkela
607c37eb8c
Complete rename of showLines to showLine ( #7977 )
2020-10-30 13:05:21 -04:00
Dan Manastireanu
6869a41d40
feat: Draw tooltips with point styles. Closes #7774 ( #7972 )
...
* feat: Draw tooltips with point styles. Closes #7774
* chore: Add tooltip usePointStyle docs
* chore: Add tests and visual tests for tooltip usePointStyle
* chore: Update typescript with tooltip usePointStyle
2020-10-29 22:55:40 +02:00
Dan Manastireanu
aad748dc5a
feat: Make options.layout.padding scriptable. Closes #7873 ( #7968 )
2020-10-28 11:28:17 -04:00
Dan Manastireanu
495c35950c
Add borderRadius to bar charts. Closes #7701 ( #7951 )
...
* Add helper to parse border radius options
* feat: Implement borderRadius for bar charts
* chore: add demo of bar charts with border radius
* chore: document bar borderRadius
* chore: update typescript with bar borderRadius property
* fix horizontal borders test failing due to antialiasing
* chore: Add border-radius visual test
2020-10-26 10:05:24 -04:00
Jukka Kurkela
6a72bcbeca
Rename showLines to showLine ( #7936 )
2020-10-21 08:13:27 -04:00
Evert Timberg
bc11f10216
Rename elements to mark as elements, i.e. Arc -> ArcElement ( #7924 )
...
* Rename elements to mark as elements, i.e. Arc -> ArcElement
* Rename RectangleElement to BarElement
* Also updates options.elements.rectangle to options.elements.bar
2020-10-20 08:18:56 -04:00
Evert Timberg
c68ec57672
Reduce tooltip implied padding at top and bottom edges of the canvas ( #7908 )
...
* Allow the tooltip to get closer to the canvas edge
Closer to the top & bottom by considering (height/2) instead of height.
* Update missing options in TS types
* Remove unneeded brackets
2020-10-18 16:51:48 +03:00
Evert Timberg
30d09f4701
Bar chart base value overrides ( #7904 )
...
* Bar chart base value overrides
* Ensure that `base` is marked as indexable and scriptable in the docs
2020-10-17 16:15:40 -04:00
Evert Timberg
c22d3bedea
Ability to fill a line from a specified value along an axis ( #7905 )
2020-10-17 15:46:56 -04:00
Jukka Kurkela
c9b38b63dc
Share min sample size with all bars on same scale ( #7897 )
...
Share min sample size with all bars on same scale
2020-10-16 08:04:22 -04:00
Evert Timberg
1ca60808b4
Shorten alignment settings for axes ( #7886 )
...
* Rename crossAlignment to crossAlign
* Update alignment to align for cartesian axes
2020-10-14 08:27:54 -04:00
Evert Timberg
cdd742d752
Polar Area elements.arc.angle
option now returns degrees ( #7871 )
...
* Polar Area `elements.arc.angle` option now returns degrees
* Update wording of migration docs
2020-10-12 10:56:03 -04:00
Evert Timberg
29f1358328
Cartesian axis label cross alignment ( #7874 )
...
* Refactor Y axis alignment to it's own method
* Label Cross alignment
* Add documentation of new setting
* Update docs with live sample
2020-10-12 10:22:13 -04:00
Evert Timberg
dc4eac6323
Cartesian axis text alignment ( #7846 )
...
* Generate textBaseline per tick label
* Enable configuration of tick alignment
* Add image based tests of text alignment options
2020-10-10 11:38:55 -04:00
Jukka Kurkela
f1ed2ee932
beginAtZero support for logarithmic ( #7862 )
2020-10-07 17:37:10 -04:00
Evert Timberg
56a8a23d54
Add new option, skipNull
to bar charts that enables skipping null values ( #7849 )
...
* Add new option, `skipNull` to bar charts that enables skipping null
or undefined values.
* Address code review feedback
* Fix windows CI lint issues
2020-10-06 07:33:24 -04:00
Evert Timberg
df0b79b9cc
JS test files should have tabs to correctly lint ( #7844 )
2020-10-04 07:49:14 -04:00
Evert Timberg
9b204eb278
Enable per-dataset circumference and rotation for pie/doughnut charts ( #7833 )
...
* Enable per-dataset circumference and rotation for pie/doughnut charts
* Convert `circumference` and `rotation` options to degrees
2020-10-03 16:47:39 -04:00
Jukka Kurkela
8cdc60ccd1
[perf] Update/draw only visible line/points ( #7793 )
...
* Restore count parameter to updateElements
* [perf] Update/draw only visible line/points
* CC
2020-09-15 18:57:31 -04:00
Jukka Kurkela
effe988bbf
Reduce code duplication and sort generated ticks ( #7747 )
...
* Reduce code duplication and sort generated ticks
* Add test
2020-09-02 08:09:39 -04:00
Jukka Kurkela
6f83c55be5
'stack' mode for filler ( #7705 )
...
'stack' mode for filler
2020-08-11 09:31:18 -04:00
Jukka Kurkela
7f4b74d956
minBarLength at base going both ways ( #7642 )
2020-07-17 13:29:43 -04:00
Ben McCann
2564e708b5
Determine unit automatically in test ( #7637 )
2020-07-17 07:53:40 -04:00
Ben McCann
8d837f977d
Add test fixture for financial sample ( #7635 )
...
Add test fixture for financial sample
2020-07-16 18:47:40 -04:00
Jukka Kurkela
91164e8c66
Line hide ( #7612 )
...
* Add support for description in fixtures
* Update datasetController to draw active(s) last
* Handle hiding of line by borderWidth
* Disable filling of scatter charts by default
* Make radar chart consistent with line
2020-07-13 13:20:05 -04:00
Ben McCann
919e50b9fc
Generate ticks from small to large ( #7559 )
...
* Generate ticks from small to large
* Add note to migration guide
2020-06-29 07:52:28 -04:00
Ben McCann
8ac700961a
Move timeseries fixtures to their own directory ( #7536 )
2020-06-21 08:30:34 -04:00
Ben McCann
c2cd00ca90
Split time scale into time and timeseries ( #7525 )
...
* Split time scale into time and timeseries
* Address comment
2020-06-19 10:21:39 -04:00
Jukka Kurkela
40871b0062
Parse from custom properties in data ( #7489 )
...
* Parse from custom properties in data
* Resolve CC issues
* Review update
2020-06-18 17:36:53 -04:00
Jukka Kurkela
59a1af91ac
Replace horizontalBar with indexAxis: 'y' ( #7514 )
...
* Replace horizontalBar with indexAxis: 'y'
* Fix drawing of line for last x-position
* Consistently determine axis of scale
* Add test
2020-06-18 17:35:52 -04:00
Sebastian Niemann
8b628c33b2
Turns off interpolation per default ( #7386 )
...
Co-authored-by: Sebastian Niemann <sn@wertpapiertreuhand.de>
2020-06-12 18:03:52 -04:00
Jukka Kurkela
0b3ef9c1a6
Replace ineffective test with a fixture ( #7491 )
2020-06-11 18:21:10 -04:00
Jukka Kurkela
281ee42def
Fix measureText bug in spriting ( #7492 )
2020-06-11 08:50:17 -04:00
Evert Timberg
d315934513
Radial scale scriptable options ( #7471 )
...
Scriptable radialLinear options
2020-06-11 08:49:54 -04:00
Evert Timberg
1cdfea8503
Do not show legend in stacked scatter test ( #7470 )
2020-06-08 07:26:06 -04:00
Evert Timberg
6f14b145d1
Stacked scatter chart ( #7468 )
...
* Handle partially stacked scatter charts
* Update test files
2020-06-07 16:32:08 -04:00
Evert Timberg
08854a4241
Radar charts should fill to the center by default ( #7446 )
...
* Radar charts should fill to the center by default
* Update tests for new defaults
2020-05-30 16:42:23 -04:00
Jukka Kurkela
22e367c445
Make indexable options looping ( #7442 )
...
* Make indexable options looping
* Migration note
2020-05-29 16:27:10 -04:00
Jukka Kurkela
c02acaf272
Arc: Stop drawing anything when hidden ( #7438 )
...
* Arc: Stop drawing anything when hidden
* Cleanup
2020-05-28 17:35:38 -04:00
Evert Timberg
29043f152b
Consider all timestamps for bar measuring ( #7421 )
...
* Consider all timestamps for bar measuring
* Fix watched tests for updated file names
* Add test of sparse bar time scales
2020-05-27 12:22:00 -04:00
Ben McCann
53205457dc
Add tests for rendering to offscreen canvas ( #7175 )
...
Add tests for using an offscreen canvas for Chart.js. These tests are
almost identical to existing tests, but with offscreen canvas enabled.
Co-authored-by: David Winegar <david.winegar@getcruise.com>
2020-03-06 12:17:12 -05:00
Jukka Kurkela
3b915cbdd3
Convert some of the time scale tests to fixtures ( #7154 )
...
* Convert some of time scale tick tests to fixtures
* A little more threshold
2020-02-28 18:56:22 -05:00
Jukka Kurkela
9bd34ecf28
Fill between datasets ( #7139 )
2020-02-21 18:58:14 -05:00
Jukka Kurkela
9ddda713e4
Rename steppedLine to stepped ( #7127 )
...
Rename steppedLine to stepped
2020-02-19 18:13:40 -05:00
Jukka Kurkela
f0fd28af66
Allow "spriting" text in fixtures ( #7073 )
...
Allow "blit" text drawing in fixtures
2020-02-14 12:33:08 -05:00
Ben McCann
2f17dbcd70
Prefix private controller methods with underscore ( #7081 )
...
Prefix private controller methods with underscore
2020-02-10 17:57:22 -05:00
Jukka Kurkela
35adcd6c2b
Fix bar border artifacts ( #6972 )
2020-01-17 19:06:51 -05:00