Commit Graph

707 Commits

Author SHA1 Message Date
Jukka Kurkela
5e194021c7 'stack' mode for filler (#7705)
'stack' mode for filler
2020-09-01 11:30:15 -04:00
Jukka Kurkela
483d06eebd Add offset option for arc (#7691)
* Add offset option for arc
* Finishing touches
2020-09-01 11:30:15 -04:00
Jukka Kurkela
7eccdb746e Export extensible classes in ESM compatible way (#7650)
* Export extensible classes in ESM compatible way
* Export collection helperrs
* Remove reduntant registry assignment
2020-09-01 11:30:15 -04:00
stockiNail
447f2410de Add some additional info and sections to animation documentation (#7685) 2020-09-01 11:30:15 -04:00
stockiNail
709141fbdc fixed default of tension property of line element (#7677) 2020-09-01 11:30:15 -04:00
Jukka Kurkela
3d18d14188 Fix casing of dist files in docs (#7670) 2020-09-01 11:30:15 -04:00
Jukka Kurkela
ecf86e5b7e Live demo in getting-started page (#7659)
* Output docs directly to dist
* Live demo in getting-started page
2020-09-01 11:30:15 -04:00
Ben McCann
1b76db997d Docs: chart should live in own container (#7658) 2020-09-01 11:30:15 -04:00
Ben McCann
2c5bfc282f Fix import statement in docs (#7653) 2020-09-01 11:30:15 -04:00
Jukka Kurkela
7e79c476b6 Update spanGaps docs (#7643) 2020-09-01 11:30:15 -04:00
stockiNail
eff5c696dd Removes the line hegiht property from title documentation (#7631) 2020-09-01 11:30:15 -04:00
Jukka Kurkela
af1db1710a Fix remaining issues in samples (#7625)
* Fix remaining issues in samples
* Update migration guide
* Use element instead
* Update tooltip.md
2020-09-01 11:30:15 -04:00
Jukka Kurkela
d03d1de575 Leftover defaults (#7628)
* Remove leftover placeholders from defaults
* Add migration note about moved plugin defaults
2020-09-01 11:30:15 -04:00
Jukka Kurkela
1d9511dc62 Align axes documentation with the changes (#7624) 2020-09-01 11:30:15 -04:00
Jukka Kurkela
f301785c6b Fix links to fonts.md (#7623) 2020-09-01 11:30:15 -04:00
Ben McCann
cb9292d6e1 Move registration migration guide to user migration section (#7620) 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
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
Jukka Kurkela
8f417162db Update charts.md (#7609) 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
stockiNail
73da99a136 Tooltip Model documentation sounds not correct (#7592)
Tooltip Model documentation sounds not correct
Fixed #7591
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
71f313facb Enable autoSkip for time scale to match others (#7570) 2020-09-01 11:30:15 -04:00
Ben McCann
fd2000c018 Pass context parameter to custom tooltip (#7579) 2020-09-01 11:30:15 -04:00
stockiNail
0cd445f724 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-09-01 11:30:15 -04:00
Ben McCann
19432484d0 Update time scale docs to be Moment agnostic (#7558)
* Update time scale docs to be Moment agnostic
* Address code review comments
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
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
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
stockiNail
5ea8e899a5 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-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
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
Ben McCann
cc7b350448 Fix link to animations docs (#7484) 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
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
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
Jukka Kurkela
2b57660aba Make indexable options looping (#7442)
* Make indexable options looping
* Migration note
2020-09-01 11:30:15 -04:00