Commit Graph

3510 Commits

Author SHA1 Message Date
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
Jukka Kurkela
99580664af
Remove babel from tests (#7521)
* Remove babel from tests
* Remove unused require
2020-06-18 17:38:09 -04:00
Jukka Kurkela
2e4d623bf3
Tooltip: Provide argument for custom callback (#7522) 2020-06-18 17:37:27 -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
Jukka Kurkela
c439d816fa
Fix initial animations (#7511)
* Fix initial animations

* CC
2020-06-16 17:56:42 -04:00
stockiNail
988464323f
Remove lineHeight property from LegendTitlt (#7508)
The updates 
 * removes `lineHeight` property from LegendTitle because already defined into Font.
 * changes the link tp `Fonts.md` because it was wrong.
2020-06-15 17:27:13 -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
1bfd1daa75
Relocate array utils to helpers.collection (#7498) 2020-06-12 18:02:12 -04:00
Evert Timberg
fc65679a07
Use consistent option context for scales (#7499) 2020-06-12 18:01:48 -04:00
Jukka Kurkela
d0d9d7dd5c
Read Title font options from correct place (#7502) 2020-06-12 17:58:09 -04:00
Jukka Kurkela
41f0f12af8
Remove unused _scaleStacked cache (#7494) 2020-06-12 17:55:51 -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
21fff1e4fe
Update horizontal bar chart default tooltip mode (#7488)
Ensures that vertical and horizontal bar charts behave the same way
2020-06-10 07:50:15 -04:00
Jukka Kurkela
e97acd95f9
Update packages (#7486) 2020-06-09 17:16:03 -04:00
Ben McCann
ac8142b4dc
Fix link to animations docs (#7484) 2020-06-09 17:15:36 -04:00
Jukka Kurkela
026482a0cf
Correctly determine min/max for Float Bar (#7398) 2020-06-09 17:15:05 -04:00
Jukka Kurkela
87a0653e57
Restore Set to arrayUnique (#7481) 2020-06-09 13:15:06 -04:00
Ben McCann
6e02f30252
Remove unused parameter (#7480) 2020-06-09 07:51:12 -04:00
Jukka Kurkela
8e7bde25c4
Remove data checks and always re-parse data (#7458)
* Remove data checks and always re-parse data
* Fix removed helper namespace
2020-06-08 17:49:55 -04:00
Jukka Kurkela
f3cfeb8420
Implement routing of defaults (#7453)
Implement routing of defaults
2020-06-08 17:49:17 -04:00
Jukka Kurkela
2a8962c325
Document the context properties for ticks (#7399)
Document the context properties for ticks
2020-06-08 17:31:54 -04:00
stockiNail
09a12f8bff
Remove lineHeight property from ScaleTitle (#7477)
`lineHeight` it should not be used anymore because inside the `Font` object
2020-06-08 07:56:06 -04:00
Ben McCann
17a1fe9d02
Better formatting of large tick values (#7335)
Better formatting of large tick values
2020-06-08 07:52:01 -04:00
Evert Timberg
3ec3ac716f
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-06-08 07:31:00 -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
Jukka Kurkela
3c02846c00
Babel loose (#7452)
* Use loose mode for babel
* Add note about loose mode in performance docs
2020-06-05 17:03:54 -04:00
Evert Timberg
0703d78286
Enable custom legend box heights (#7459)
Enable custom legend box heights
2020-06-04 19:53:40 -04:00
Jukka Kurkela
690d07ba9b
Update packages (#7463) 2020-06-04 19:51:34 -04:00
Jukka Kurkela
614fa07c99
Use verbose build in dev mode (#7455)
* Use verbose build in dev mode
* Update comment
2020-06-03 18:04:49 -04:00
Evert Timberg
7872c8490e
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-06-01 08:07:48 -04:00
Evert Timberg
e38cc257fb
Indicate that axis callbacks are at top level of options (#7451) 2020-06-01 08:06:59 -04:00
Evert Timberg
185f83aca3
Update doc samples for changed file name (#7447) 2020-05-31 08:36:42 -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
Ben McCann
c527ec9910
Remove unused dependency (#7441) 2020-05-28 17:39:09 -04:00
Jukka Kurkela
553ae385a8
Consistency: Use lower case for instances (#7436)
Consistency: Use lover case for instances
2020-05-28 17:37:19 -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
Jukka Kurkela
7752566a48
Remove missing setDataVisibility for documentation (#7437) 2020-05-28 17:33:50 -04:00
Jukka Kurkela
53f462830c
Cleanup resize complexity (#7439)
Cleanup resize complexity
2020-05-28 17:33:27 -04:00
Jukka Kurkela
9399e57fc2
Clean lint errors from samples by refactoring (#7440)
* Clean lint errors from samples by refactoring
* Review
2020-05-28 17:32:00 -04:00
Ben McCann
c26fb442ee
Upgrade to Docusaurus alpha.56 (#7432) 2020-05-28 07:37:45 -04:00
Jukka Kurkela
064a2f3a0b
Replace gulp with npm scripts (#7402)
Gulp removed from toolchain in favour of simpler build process
2020-05-27 17:14:17 -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