Evert Timberg
b54bd272fb
Move tooltip plugin hooks to the core Plugin type ( #8160 )
...
* Move tooltip plugin hooks to the core
* Try and use declaration merging for Plugin type
* Merge Plugin types
2020-12-17 18:10:29 -05:00
Jukka Kurkela
913a01a3a6
Move title, tooltip and legend to options.plugins ( #8089 )
...
* Move title, tooltip and legend to options.plugins
* Update tooltip.md
* Update legend.md and title.md
* Add migration notes
* typo
* Types
* Restore plurals
* One more s, restore tabs
* All plugins disabled
* lint
* cc
2020-11-25 08:50:12 +02:00
emmcbd
7ad91817e7
Improved types for defaults ( #8025 )
2020-11-08 09:52:41 -05:00
Evert Timberg
17f6edb650
Remove I prefix from TS types ( #8017 )
...
* Remove I prefix from TS types
* Update missing `ILayoutItem` typedefs
* IEvent should become ChartEvent
* Prevent FillTarget collision
* Import FontSpec instead of IFontSpec
* Prevent recursive DateAdapter problem
2020-11-07 08:35:19 -05:00
Dan Manastireanu
6869a41d40
feat: Draw tooltips with point styles. Closes #7774 ( #7972 )
...
* feat: Draw tooltips with point styles. Closes #7774
* chore: Add tooltip usePointStyle docs
* chore: Add tests and visual tests for tooltip usePointStyle
* chore: Update typescript with tooltip usePointStyle
2020-10-29 22:55:40 +02:00
Fabian
68bae7906d
fix return type for setActiveElements ( #7961 )
2020-10-26 16:31:45 -04:00
Evert Timberg
4ed650acbe
Enable overriding the legend pointStyle using new pointStyle
option ( #7959 )
2020-10-26 14:16:00 +02:00
Evert Timberg
c68ec57672
Reduce tooltip implied padding at top and bottom edges of the canvas ( #7908 )
...
* Allow the tooltip to get closer to the canvas edge
Closer to the top & bottom by considering (height/2) instead of height.
* Update missing options in TS types
* Remove unneeded brackets
2020-10-18 16:51:48 +03:00
Evert Timberg
c22d3bedea
Ability to fill a line from a specified value along an axis ( #7905 )
2020-10-17 15:46:56 -04:00
Evert Timberg
168965fa38
Enable custom sorting of the legend items ( #7851 )
2020-10-05 22:15:38 -04:00
Evert Timberg
a8a83d12cd
Provide APIs to set active (hovered) and tooltip elements. ( #7845 )
...
Provide APIs to set active (hovered) and tooltip elements.
Chart.setActiveElements will set the hovered items.
Chart.tooltip.setActiveElements will set the tooltip items.
2020-10-05 17:14:38 -04:00
emmcbd
2bb23dfe8c
Minor type fixes ( #7812 )
2020-09-23 08:43:33 -04:00
emmcbd
c2fc8a4f17
Type fixes ( #7759 )
...
* Some type fixes
* Fix missing property on tooltip option type
2020-09-06 16:43:38 -04:00
Samuel Gratzl
4eeed6e876
WIP: TypeScript types ( #7668 )
...
First version of types
2020-08-04 16:52:57 -04:00