File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020
2121- [ Tooltip] Position improvements including ` anchor ` support ([ #72 ] ( https://github.com/techniq/layerchart/pull/72 ) )
2222
23- ** Breaking Change **
23+ ** Breaking Changes **
2424
25- ## Replace TooltipContext's ` snapToDataX/Y ` with ` <Tooltip x="data" y="data" /> `
25+ ** Replace TooltipContext's ` snapToDataX/Y ` with ` <Tooltip x="data" y="data" /> ` **
2626
2727 Before:
2828
4444 </Chart>
4545 ```
4646
47- ## Rename ` <Tooltip left={...} top={...} /> ` to ` <Tooltip x={...} y={...} /> `
47+ ** Rename ` <Tooltip left={...} top={...} /> ` to ` <Tooltip x={...} y={...} /> ` **
4848
4949 Before:
5050
6666 </Chart>
6767 ```
6868
69- ## Additional
69+ ** Additional**
7070
7171 - Rename tooltipContext's ` top ` /` left ` to ` x ` /` y `
7272 - Add ` anchor ` prop to align based on corner/edge/center (9 points) of tooltip instead of always top-left corner.
You can’t perform that action at this time.
0 commit comments