pointHovering
๋ฐ์ดํฐํฌ์ธํธ์ ๋ง์ฐ์๊ฐ ์ฌ๋ผ๊ฐ ๋ ์ฒ๋ฆฌํ๋ ๋ฐฉ์ ์ค์ ๋ชจ๋ธ.
Properties
hintDistance: number
line , bubble , scatter ์๋ฆฌ์ฆ์ฒ๋ผ marker๋ก ํ์๋๋ ๋ฐ์ดํฐํฌ์ธํธ์ ์์น๋ฅผ ์ฐพ์ ๋
๋ฐ์ดํฐํฌ์ธํธ maker ์ธ๋ถ๋ก ์ถ๊ฐ๋๋ ๊ฐ์์ ๋๊ป.
0์ดํ๋ฉด ํ์๋๋ ํฌ๊ธฐ๋ก ๊ณ์ฐ๋๋ค.
์๋นํ ํฐ ํฌ๊ธฐ๋ก ์ง์ ํ๋ฉด ๋ง์ฐ์ค๊ฐ ์ด๋ ์์น์ ์๋ ๋ง์ฐ์ค์ ๊ฐ์ฅ ๊ฐ๊น์ด marker๊ฐ ์ฐพ์์ง๋ค.
๋ฌผ๋ก ๋ง์ฐ์ค๊ฐ ์ค์ ํ์๋๋ marker ์์ ์๋ค๋ฉด ๊ทธ ๊ฒ์ผ๋ก ๊ฒฐ์ ๋๋ค.
์ฐพ์์ง ๋ฐ์ดํฐํฌ์ธํธ๊ฐ ๋ง์ฐ์ค ์๋ ์๋ ๊ฒ์ผ๋ก ์ฌ๊ฒจ์ ธ์ hover ํจ๊ณผ๊ฐ ํ์๋๊ฑฐ๋ ๊ด๋ จ ์ด๋ฒคํธ๊ฐ ๋ฐ์ํ๋ค.
๊ธฐ๋ณธ๊ฐ์ ์ฐจํธ์ tooltip์ด ํ์๋๊ณ tooltip. followPointer ๊ฐ true์ด๋ฉด ์ฐจํธ ํฌ๊ธฐ๋ณด๋ค ํฐ ๊ฐ์ด ๋๊ณ ,
์๋๋ฉด 30 ํฝ์
์ด๋ค.
default: undefined
scope: 'auto'|'axis'|'group'|'point'
๋ฐ์ดํฐํฌ์ธํธ hover์ ๋์ผํ ํจ๊ณผ๋ฅผ ํ์ํ ์ฐ๊ด๋ ํฌ์ธํธ๋ค์ ์ ํํ๋ ๋ฒ์.
'auto'
hover๋ ๋ฐ์ดํฐํฌ์ธํฐ์ ์ํ์ ๋ฐ๋ผ ์๋์ผ๋ก ๊ฒฐ์ ํ๋ค.
์ด true์ด๋ฉด 'point', ๋ฐ์ดํฐํฌ์ธํธ์ x์ถ์ 'crosshair'๊ฐ ๋์ ์ค์ด๋ฉด 'axis', ๋ฐ์ดํฐํฌ์ธํธ๊ฐ series group์ ํฌํจ๋ ๊ฒฝ์ฐ์ด๋ฉด 'group', ์๋๋ฉด 'point'๊ฐ ๋๋ค.'axis'
๋ง์ฐ์ค ์๋ ์๋ ๋ฐ์ดํฐํฌ์ธํธ์ ๊ฐ์ x์ถ์ ์ฐ๊ฒฐ๋๊ณ x๊ฐ์ด ๊ฐ์ ๋ฐ์ดํฐํฌ์ธํธ๋ค์ ๋ชจ๋ ์ ํํ๋ค.'group'
๋ง์ฐ์ค ์๋ ์๋ ๋ฐ์ดํฐํฌ์ธํธ์ ๊ฐ์ series group์ ํฌํจ๋ ๋ฐ์ดํฐํฌ์ธํธ๋ค์ ๋ชจ๋ ์ ํํ๋ค.'point'
๋ง์ฐ์ค ์๋ ์๋ ๋ฐ์ดํฐํฌ์ธํธ๋ง ํจ๊ณผ๊ฐ ํ์๋๋ค.
default: 'auto'
style: SVGStyles | string
์คํ์ผ์ ํน์ class selector.
SVGStyles
Name | Type | Optional |
---|---|---|
fill | string | true |
fillOpacity | string | true |
fontFamily | string | true |
fontSize | string | true |
fontStyle | string | true |
fontWeight | string | true |
rx | string | true |
stroke | string | true |
strokeDasharray | string | true |
strokeWidth | string | true |
textAlign | 'center' | 'left' | 'right' | true |
visible: boolean
ํ์ ์ฌ๋ถ.
default: true