Commit Graph

3198 Commits

Author SHA1 Message Date
Evert Timberg
3cf78310a3 Use consistent option context for scales (#7499) 2020-09-01 11:30:15 -04:00
Jukka Kurkela
55fddd05b0 Read Title font options from correct place (#7502) 2020-09-01 11:30:15 -04:00
Jukka Kurkela
c1c8037b28 Remove unused _scaleStacked cache (#7494) 2020-09-01 11:30:15 -04:00
Jukka Kurkela
2aaab9522a Replace ineffective test with a fixture (#7491) 2020-09-01 11:30:15 -04:00
Jukka Kurkela
978ccbe499 Fix measureText bug in spriting (#7492) 2020-09-01 11:30:15 -04:00
Evert Timberg
0fd5d17b7a Radial scale scriptable options (#7471)
Scriptable radialLinear options
2020-09-01 11:30:15 -04:00
Evert Timberg
df63d10cd9 Update horizontal bar chart default tooltip mode (#7488)
Ensures that vertical and horizontal bar charts behave the same way
2020-09-01 11:30:15 -04:00
Jukka Kurkela
20835caf99 Update packages (#7486) 2020-09-01 11:30:15 -04:00
Ben McCann
cc7b350448 Fix link to animations docs (#7484) 2020-09-01 11:30:15 -04:00
Jukka Kurkela
0bdf0b497c Correctly determine min/max for Float Bar (#7398) 2020-09-01 11:30:15 -04:00
Jukka Kurkela
1bd7bd06b9 Restore Set to arrayUnique (#7481) 2020-09-01 11:30:15 -04:00
Ben McCann
062f9a4e7c Remove unused parameter (#7480) 2020-09-01 11:30:15 -04:00
Jukka Kurkela
ac8cb57005 Remove data checks and always re-parse data (#7458)
* Remove data checks and always re-parse data
* Fix removed helper namespace
2020-09-01 11:30:15 -04:00
Jukka Kurkela
d0a1d689fc Implement routing of defaults (#7453)
Implement routing of defaults
2020-09-01 11:30:15 -04:00
Jukka Kurkela
956149b498 Document the context properties for ticks (#7399)
Document the context properties for ticks
2020-09-01 11:30:15 -04:00
stockiNail
4c0f3b50bc Remove lineHeight property from ScaleTitle (#7477)
`lineHeight` it should not be used anymore because inside the `Font` object
2020-09-01 11:30:15 -04:00
Ben McCann
d9c1ec2f9f Better formatting of large tick values (#7335)
Better formatting of large tick values
2020-09-01 11:30:15 -04:00
Evert Timberg
3efdc36a67 Cleanup Event Handling code to match style of tooltip plugin. (#7467)
* Cleanup Event Handling code to match style of tooltip plugin.

Eliminates saving two arrays of items on the chart prototype. The `onHover`
callback now receives the wrapped event instead of the native one.
2020-09-01 11:30:15 -04:00
Evert Timberg
2aef4274d3 Do not show legend in stacked scatter test (#7470) 2020-09-01 11:30:15 -04:00
Evert Timberg
4cfa465a2b Stacked scatter chart (#7468)
* Handle partially stacked scatter charts
* Update test files
2020-09-01 11:30:15 -04:00
Jukka Kurkela
35520dfca8 Babel loose (#7452)
* Use loose mode for babel
* Add note about loose mode in performance docs
2020-09-01 11:30:15 -04:00
Evert Timberg
937845956c Enable custom legend box heights (#7459)
Enable custom legend box heights
2020-09-01 11:30:15 -04:00
Jukka Kurkela
2f17449cc5 Update packages (#7463) 2020-09-01 11:30:15 -04:00
Jukka Kurkela
fdf14d3226 Use verbose build in dev mode (#7455)
* Use verbose build in dev mode
* Update comment
2020-09-01 11:30:15 -04:00
Evert Timberg
575283c5c6 Radial Linear Scale: Compute Value based on distance from center (#7449)
* Radial Linear Scale: Compute Value based on distance from center

* Code review updates
2020-09-01 11:30:15 -04:00
Evert Timberg
ecd918cefb Indicate that axis callbacks are at top level of options (#7451) 2020-09-01 11:30:15 -04:00
Evert Timberg
fc7b9f7a3f Update doc samples for changed file name (#7447) 2020-09-01 11:30:15 -04:00
Evert Timberg
e26f7b984a 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-09-01 11:30:15 -04:00
Jukka Kurkela
2b57660aba Make indexable options looping (#7442)
* Make indexable options looping
* Migration note
2020-09-01 11:30:15 -04:00
Ben McCann
b71e4c3c7f Remove unused dependency (#7441) 2020-09-01 11:30:15 -04:00
Jukka Kurkela
61c758e5ff Consistency: Use lower case for instances (#7436)
Consistency: Use lover case for instances
2020-09-01 11:30:15 -04:00
Jukka Kurkela
89dff23d1f Arc: Stop drawing anything when hidden (#7438)
* Arc: Stop drawing anything when hidden
* Cleanup
2020-09-01 11:30:15 -04:00
Jukka Kurkela
6112add201 Remove missing setDataVisibility for documentation (#7437) 2020-09-01 11:30:15 -04:00
Jukka Kurkela
f7e44ae089 Cleanup resize complexity (#7439)
Cleanup resize complexity
2020-09-01 11:30:15 -04:00
Jukka Kurkela
58693b5875 Clean lint errors from samples by refactoring (#7440)
* Clean lint errors from samples by refactoring
* Review
2020-09-01 11:30:15 -04:00
Ben McCann
5709fc3bc4 Upgrade to Docusaurus alpha.56 (#7432) 2020-09-01 11:30:15 -04:00
Jukka Kurkela
d02e5f0d47 Replace gulp with npm scripts (#7402)
Gulp removed from toolchain in favour of simpler build process
2020-09-01 11:30:15 -04:00
Evert Timberg
eb8cd13997 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-09-01 11:30:15 -04:00
Evert Timberg
25ab011ed4 Only draw the tooltip if it is defined (#7411) 2020-09-01 11:30:15 -04:00
Jukka Kurkela
521844704c Remove proposal and obsolete features (#7425) 2020-09-01 11:30:15 -04:00
Jukka Kurkela
d74f9fc4dd Alter test to require fever iterations (#7426) 2020-09-01 11:30:15 -04:00
Evert Timberg
3aeeca3aaf Default aspectRatio to 1 for square charts (#7414) 2020-09-01 11:30:15 -04:00
Yiwen Wang
e4f9bec4b3 Fix chart resizing issue (#7297) (#7298)
Fix chart resizing issue
2020-09-01 11:30:15 -04:00
Jukka Kurkela
5ab50126be Rename dist/Chart* to dist/chart* (#7416)
* Rename dist/Chart* to dist/chart*
* Add a note to migration docs
* Review update
2020-09-01 11:30:15 -04:00
Evert Timberg
0e9def67d2 Legend onClick callback supports arrow functions (#7410)
#7409 Legend callbacks support arrow functions
The `Legend` is no longer implicitly found through `this` and instead
passed as an explicit argument to the callback functions.
2020-09-01 11:30:15 -04:00
Ben McCann
999c9821cc Docs: fix z-index default (#7405) 2020-09-01 11:30:15 -04:00
Jukka Kurkela
00989206d6 Use full URL for TypeDocs (#7380)
Use full URL for TypeDocs
2020-09-01 11:30:15 -04:00
Jukka Kurkela
f65b2c0758 Move font* to font.* (#7383) 2020-09-01 11:30:15 -04:00
Jukka Kurkela
a8cf9d81c9 Remove default export from controllers/index (#7388)
Remove default export from controllers/index
2020-09-01 11:30:15 -04:00
Jukka Kurkela
466cf8e8b5 Small update to animation documentation (#7384)
Update animation documentation to include samples
2020-09-01 11:30:15 -04:00