stockiNail
fd34e786ab
isoWeekday time options on time scale as number ( #7768 )
...
* fixed default of tension property of line element
* Fixes isoWeekday on time scale #7749
* adds checking on isoWeekDay options in _generate function
2020-09-07 16:19:45 -04:00
Jukka Kurkela
cb8aae9b98
Cache Intl.NumberFormat instances ( #7755 )
...
* Update dependencies
* Cache Intl.NumberFormat instances
2020-09-04 16:49:38 -04:00
Jukka Kurkela
d5eaa12d96
Fix: update chart when attached ( #7758 )
2020-09-04 16:47:36 -04:00
Jukka Kurkela
c749fbdf5f
Fix the parameter order of before/afterEvent ( #7757 )
2020-09-04 16:47:08 -04:00
Jukka Kurkela
4fa2c408f0
Remove duplicate code, clearer parameter names ( #7756 )
2020-09-04 16:46:44 -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
da33b1bb27
Fix shared option handling ( #7731 )
...
Fix shared option handling
2020-08-27 09:14:08 -04:00
Jukka Kurkela
baa4429ad1
Use offsetX/Y or layerX/Y for events when available ( #7732 )
...
* Use offsetX/offsetY for events when available
* Fall to layerX/layerY for FF compatibility
2020-08-25 08:04:06 -04:00
Jukka Kurkela
d561486b4e
Revert "Preserve object prototypes when cloning ( #7381 )" ( #7727 )
...
This reverts commit 51be344717 .
2020-08-24 08:15:56 -04:00
Jukka Kurkela
ae214d9fbd
Resize on devicePixelRatio changes ( #7717 )
...
* Resize on devicePixelRatio changes
2020-08-19 07:08:41 -04:00
Jukka Kurkela
f5b4a0fa3c
Improve test coverage and fix minor issues found ( #7713 )
...
* Registry
* Element
* Animation
* Animations
* Animator
2020-08-17 10:03:15 -04:00
Jukka Kurkela
dd261b22f9
Use interpolation in fill: 'stack' (and fix interpolation) ( #7711 )
...
* Add tests and fix _boundSegment
* Use interpolate for finding points below
* Remove _refPoints logic (getTarget in draw)
2020-08-16 11:18:46 -04:00
Jukka Kurkela
689befa807
Make sure bezier control points are updated ( #7710 )
...
* Make sure bezier control points are updated
* Test
2020-08-15 17:06:03 -04:00
Jukka Kurkela
6ad17c0294
Stop bundling specs for improved coverage ( #7709 )
2020-08-14 09:15:18 -04:00
Evert Timberg
8fd7ef2901
Doughnut controller overrides ( #7702 )
2020-08-11 17:11:57 -04:00
Jukka Kurkela
6f83c55be5
'stack' mode for filler ( #7705 )
...
'stack' mode for filler
2020-08-11 09:31:18 -04:00
Jukka Kurkela
f79d609548
Add offset option for arc ( #7691 )
...
* Add offset option for arc
* Finishing touches
2020-08-05 07:35:28 -04:00
Jukka Kurkela
9c27f74801
Export extensible classes in ESM compatible way ( #7650 )
...
* Export extensible classes in ESM compatible way
* Export collection helperrs
* Remove reduntant registry assignment
2020-08-03 12:33:41 -04:00
Jukka Kurkela
2ea01d9beb
Include Chart.defaults always ( #7686 )
2020-08-03 12:33:21 -04:00
Jukka Kurkela
e756fb93a3
Resolve fonts through options.font ( #7674 )
...
* Resolve fonts through options.font
* Remove defaultRoutes from Tooltip fonts
2020-08-03 12:32:58 -04:00
Evert Timberg
70c2b07eb2
Do not use line defaults in legend ( #7649 )
2020-07-19 12:52:59 -04:00
Jukka Kurkela
7f4b74d956
minBarLength at base going both ways ( #7642 )
2020-07-17 13:29:43 -04:00
Jukka Kurkela
bc27b522c0
FloatBar: update range only for value scale ( #7634 )
2020-07-16 13:31:11 -04:00
Jukka Kurkela
dc5f88b620
Animation events sanity ( #7629 )
2020-07-16 13:30:07 -04:00
Jukka Kurkela
af855d7646
Fix remaining issues in samples ( #7625 )
...
* Fix remaining issues in samples
* Update migration guide
* Use element instead
* Update tooltip.md
2020-07-16 13:28:12 -04:00
Jukka Kurkela
d3eaf2ff2a
Leftover defaults ( #7628 )
...
* Remove leftover placeholders from defaults
* Add migration note about moved plugin defaults
2020-07-15 18:13:10 -04:00
Jukka Kurkela
c51af9f13e
Fix category scale tick placement with autoSkip ( #7622 )
2020-07-15 18:12:32 -04:00
Jukka Kurkela
572b1c737e
Move register/unregister to core.controller ( #7626 )
2020-07-15 18:11:56 -04:00
Ben McCann
426d8debba
Tooltip: add dataPoint and rename value to formattedValue ( #7618 )
...
* Tooltip: add dataPoint and rename value to formattedValue
* Add a test
2020-07-14 17:40:32 -04:00
Jukka Kurkela
6deafdb4d4
Registry fixes ( #7617 )
...
* Fix documentation for classical extensions
* Tests and fixes for registry
2020-07-13 17:43:30 -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
Jukka Kurkela
b8ad2a6a0a
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-07-13 09:41:42 -04:00
Ben McCann
30e197742d
Align the tooltip callbacks parameters with scriptable options ( #7603 )
...
Align the tooltip callbacks parameters with scriptable options
2020-07-12 18:26:13 -04:00
Jukka Kurkela
7024aad38f
PluginService using registry ( #7590 )
...
PluginService using registry
2020-07-11 18:08:45 -04:00
Ben McCann
4cc3079e65
Add normalized option ( #7538 )
...
Add normalized option to time scales
2020-07-07 07:50:53 -04:00
Jukka Kurkela
6bd5ad5518
Generic registry for controllers, scales, elements and plugins ( #7435 )
...
* Generic registry for controllers, scales, elements and plugins
* Remove references to scale service
2020-07-06 17:38:04 -04:00
Ben McCann
a33086bfc1
Enable autoSkip for time scale to match others ( #7570 )
2020-07-06 09:35:16 -04:00
Ben McCann
87c59fea73
Fix padding for labels ( #7572 )
2020-07-06 09:34:56 -04:00
Ben McCann
13e7a1163b
Use all timestamps for calculating offsets ( #7573 )
2020-07-06 09:34:43 -04:00
Ben McCann
6c38c31a0a
Pass context parameter to custom tooltip ( #7579 )
2020-07-06 09:34:06 -04:00
Evert Timberg
ff29522f5f
Fix tooltip caret border when caret is on right or bottom ( #7565 )
...
* Fix tooltip caret border when caret is on right or bottom
* Lint fixes
* Code review feedback
2020-06-29 07:55:09 -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
2ca155cce1
Add parameters to tooltip filter option ( #7556 )
2020-06-29 07:51:20 -04:00
Evert Timberg
ba5c9e01c6
Update tooltip when the display position changes ( #7469 )
2020-06-25 13:51:34 -04:00
Jukka Kurkela
40e9029a59
ESM build, with helpers separated ( #7400 )
...
* ESM build, with helpers separated
* Remove umd environment
* Include the chunks in package
2020-06-23 19:02:51 -04:00
Ben McCann
1c2a03225e
Remove lookup table from TimeScale ( #7532 )
...
* Add getDecimalForValue
* Move interpolate to timeseries scale
* Remove getTimestampsForTable from time scale
* Remove parameters from buildLookupTable
* Restore getValueForPixel
* Remove table from time scale
2020-06-20 16:39:39 -04:00
Ben McCann
09a6aea396
Mark parameter as optional ( #7530 )
2020-06-20 07:31:04 -04:00
Evert Timberg
537cd74919
Update the legend object during beforeUpdate ( #7528 )
...
* Update the legend object during beforeUpdate
When the legend is updated in afterUpdate, the position is not updated
before the layout system runs. When the event that the legend position
was changed, the legend would not move to the new position in the layout
system. This causes the chart to render incorrectly because the layout
system handled the layout as if the legend was still at the original position.
The update is split into two passes to ensure that labels still update correctly
after datasets (#6968 )
2020-06-20 07:30:31 -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
6cf97859f0
Consistently resolve element options ( #7520 )
...
* Consistently resolve element options
* Add tests
2020-06-18 17:44:55 -04:00