Commit Graph

707 Commits

Author SHA1 Message Date
Jukka Kurkela
2cbcd8892f minBarLength at base going both ways (#7642) 2020-09-01 11:30:15 -04:00
Ben McCann
d0922b3c2e Determine unit automatically in test (#7637) 2020-09-01 11:30:15 -04:00
Ben McCann
0a53cac43d Add test fixture for financial sample (#7635)
Add test fixture for financial sample
2020-09-01 11:30:15 -04:00
Jukka Kurkela
3f9ddade9c Animation events sanity (#7629) 2020-09-01 11:30:15 -04:00
Jukka Kurkela
9ed04f000c Fix category scale tick placement with autoSkip (#7622) 2020-09-01 11:30:15 -04:00
Ben McCann
46b216003e Tooltip: add dataPoint and rename value to formattedValue (#7618)
* Tooltip: add dataPoint and rename value to formattedValue
* Add a test
2020-09-01 11:30:15 -04:00
Jukka Kurkela
766c3e9a51 Registry fixes (#7617)
* Fix documentation for classical extensions
* Tests and fixes for registry
2020-09-01 11:30:15 -04:00
Jukka Kurkela
82a0b06ed6 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-09-01 11:30:15 -04:00
Jukka Kurkela
61b8beb33e Registry bugs (#7608)
* Stop failing early when no scales are registered
* Move filler defaults
* Move legend defaults
* Remove legendHitBoxes from title
* Move @kurkle/color to devDependencies
2020-09-01 11:30:15 -04:00
Ben McCann
48f6de2413 Align the tooltip callbacks parameters with scriptable options (#7603)
Align the tooltip callbacks parameters with scriptable options
2020-09-01 11:30:15 -04:00
Jukka Kurkela
49a9fe3c60 PluginService using registry (#7590)
PluginService using registry
2020-09-01 11:30:15 -04:00
Ben McCann
948355ef30 Add normalized option (#7538)
Add normalized option to time scales
2020-09-01 11:30:15 -04:00
Jukka Kurkela
5be87ca880 Generic registry for controllers, scales, elements and plugins (#7435)
* Generic registry for controllers, scales, elements and plugins
* Remove references to scale service
2020-09-01 11:30:15 -04:00
Ben McCann
291000a291 Remove duplicate tests (#7568) 2020-09-01 11:30:15 -04:00
Ben McCann
71f313facb Enable autoSkip for time scale to match others (#7570) 2020-09-01 11:30:15 -04:00
Ben McCann
5c2b4c2743 Use all timestamps for calculating offsets (#7573) 2020-09-01 11:30:15 -04:00
Ben McCann
a0a0a1dc55 Generate ticks from small to large (#7559)
* Generate ticks from small to large
* Add note to migration guide
2020-09-01 11:30:15 -04:00
Ben McCann
49f18c262c Add parameters to tooltip filter option (#7556) 2020-09-01 11:30:15 -04:00
Evert Timberg
ce4fb0078e Update tooltip when the display position changes (#7469) 2020-09-01 11:30:15 -04:00
Ben McCann
eadd88caa7 Move timeseries fixtures to their own directory (#7536) 2020-09-01 11:30:15 -04:00
Ben McCann
6a417a15b9 Split time scale into time and timeseries (#7525)
* Split time scale into time and timeseries
* Address comment
2020-09-01 11:30:15 -04:00
Jukka Kurkela
0a10908e8b Consistently resolve element options (#7520)
* Consistently resolve element options
* Add tests
2020-09-01 11:30:15 -04:00
Jukka Kurkela
454d7fe4be Parse from custom properties in data (#7489)
* Parse from custom properties in data
* Resolve CC issues
* Review update
2020-09-01 11:30:15 -04:00
Jukka Kurkela
fabcdfec55 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-09-01 11:30:15 -04:00
Sebastian Niemann
f23ecd9be5 Turns off interpolation per default (#7386)
Co-authored-by: Sebastian Niemann <sn@wertpapiertreuhand.de>
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
Jukka Kurkela
0bdf0b497c Correctly determine min/max for Float Bar (#7398) 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
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
Evert Timberg
937845956c Enable custom legend box heights (#7459)
Enable custom legend box heights
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
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
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
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
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
Yiwen Wang
e4f9bec4b3 Fix chart resizing issue (#7297) (#7298)
Fix chart resizing issue
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
Jukka Kurkela
f65b2c0758 Move font* to font.* (#7383) 2020-09-01 11:30:15 -04:00
Jukka Kurkela
82c27a0f86 Rename platform/platform to index removing default (#7391)
Rename platform/platform to index removing default
2020-09-01 11:30:15 -04:00
Jukka Kurkela
bbf63991f8 Delay animations until attached (#7370)
* Delay animations until attached
* Detect container detachment
2020-09-01 11:30:15 -04:00
Jukka Kurkela
1778239b98 Preserve object prototypes when cloning (#7381) 2020-09-01 11:30:15 -04:00
Jukka Kurkela
167b2242e0 Detect data modifications with equal values (#7350)
Fix data shift-push with identical values
2020-09-01 11:30:15 -04:00
Ben McCann
ac168ed449 Add a scale.init method (#7346) 2020-09-01 11:30:15 -04:00