Commit Graph

695 Commits

Author SHA1 Message Date
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
74ef7d5718
Align axes documentation with the changes (#7624) 2020-07-15 18:12:15 -04:00
Jukka Kurkela
4f6d9d8440
Fix links to fonts.md (#7623) 2020-07-15 18:11:16 -04:00
Ben McCann
0c4f8f169f
Move registration migration guide to user migration section (#7620) 2020-07-15 07:52:59 -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
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
Jukka Kurkela
2bbe244570
Update charts.md (#7609) 2020-07-12 18:28:39 -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
stockiNail
69c8cc7e7b
Tooltip Model documentation sounds not correct (#7592)
Tooltip Model documentation sounds not correct
Fixed #7591
2020-07-08 17:17:53 -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
6c38c31a0a
Pass context parameter to custom tooltip (#7579) 2020-07-06 09:34:06 -04:00
stockiNail
e878a3954a
The hover* options of bar chart doc page change as scriptable (#7584)
In the bar chart, the `hoverBackgroundColor`, `hoverBorderColor and `hoverBorderWidth` options are scriptable.
In the previous version (2.9.3) they weren't documented as scriptable but they are.
2020-07-05 08:07:39 -04:00
Ben McCann
533bbea766
Update time scale docs to be Moment agnostic (#7558)
* Update time scale docs to be Moment agnostic
* Address code review comments
2020-06-29 07:53:29 -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
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
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
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
Ben McCann
ac8142b4dc
Fix link to animations docs (#7484) 2020-06-09 17:15:36 -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
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
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
Jukka Kurkela
22e367c445
Make indexable options looping (#7442)
* Make indexable options looping
* Migration note
2020-05-29 16:27:10 -04:00
Jukka Kurkela
7752566a48
Remove missing setDataVisibility for documentation (#7437) 2020-05-28 17:33:50 -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
Jukka Kurkela
f472a3f9a7
Remove proposal and obsolete features (#7425) 2020-05-26 19:16:23 -04:00
Evert Timberg
a35f7057f6
Default aspectRatio to 1 for square charts (#7414) 2020-05-25 16:55:12 -04:00
Jukka Kurkela
986f72f933
Rename dist/Chart* to dist/chart* (#7416)
* Rename dist/Chart* to dist/chart*
* Add a note to migration docs
* Review update
2020-05-25 16:54:22 -04:00
Evert Timberg
13b8924ac3
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-05-24 10:28:41 -04:00
Ben McCann
e0f44051b5
Docs: fix z-index default (#7405) 2020-05-22 17:32:15 -04:00
Jukka Kurkela
5cf054ef25
Use full URL for TypeDocs (#7380)
Use full URL for TypeDocs
2020-05-21 17:11:46 -04:00
Jukka Kurkela
5a83a80811
Move font* to font.* (#7383) 2020-05-21 17:07:06 -04:00
Jukka Kurkela
c2b66ba842
Small update to animation documentation (#7384)
Update animation documentation to include samples
2020-05-21 16:43:36 -04:00
Jukka Kurkela
cfb5fba527
Delay animations until attached (#7370)
* Delay animations until attached
* Detect container detachment
2020-05-20 17:45:44 -04:00