flag
Line ์๋ฆฌ์ฆ์ ๋ง์ง๋ง ๋ฐ์ดํฐํฌ์ธํธ ์์ ํ์๋๋ ์์ด์ฝ๊ณผ ํ
์คํธ ์ค์ ๋ชจ๋ธ.
๋ง์ง๋ง ํฌ์ธํธ์์ ๊ฐ๊ฒฉ์ offset ์์ฑ์ผ๋ก ์ง์ ํ๋ค.
Properties
autoContrast: boolean
ํ ์คํธ๊ฐ data point ๋ด๋ถ์ ํ์๋๋ ๊ฒฝ์ฐ ํฌ์ธํธ ์์๊ณผ ๋์กฐ๋๋๋ก ํ์ํ๋ค.
๋ฐ๊ฒ ํ์ํ ๋๋ lightStyle ์ ์ ์ฉํ๊ณ , ์ด๋ก๊ฒ ํ์ํ ๋๋ darkStyle ์ด ์ ์ฉ๋๋ค. brightStyle์ด ์ง์ ๋์ง ์์ผ๋ฉด 'rct-text-light'์ด, darkStyle์ด ์ง์ ๋์ง ์์ผ๋ฉด 'rct-text-dark'๊ฐ ๊ธฐ๋ณธ ์ ์ฉ๋๋ค.
default: true
backgroundStyle: SVGStyles | string
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 |
darkStyle: SVGStyles | string
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 |
effect: 'background'|'none'|'outline'
'background'
ํ ์คํธ ๋ฐฐ๊ฒฝ ์์๋ฅผ ํ์ํ๋ค. ๋ฐฐ๊ฒฝ ์์์ backgroundStyle ์ด ์ ์ฉ๋๋ค. ์คํ์ผ์ด ์ ์ฉ๋์ง ์์ผ๋ฉด ๊ธฐ๋ณธ 'rct-text-background'์ด ์ ์ฉ๋๋ค.'none'
ํจ๊ณผ ์์.'outline'
ํ ์คํธ ์์๊ณผ ๋์กฐ๋๋ ์์์ผ๋ก ํ ์คํธ ์ธ๊ณฝ์ ๊ตฌ๋ถ ํ์ํ๋ค.
default: 'none'
lightStyle: SVGStyles | string
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 |
numberFormat: string
label์ด ์ซ์์ผ ๋ ํ์ ํ์.
default: undefined
numberSymbols: string
์ถ์ tick ๊ฐ๊ฒฉ์ด 1000 ์ด์์ธ ํฐ ์๋ฅผ ํ์ํ ๋ ์ด ์์ฑ์ ์ง์ ํ symbol์ ์ด์ฉํด์ ์ถ์ฝํ์ผ๋ก ํ์ํ๋ค.
default: undefined
offset: number
๋ง์ง๋ง ๋ฐ์ดํฐํฌ์ธํธ ์ค์ฌ๊ณผ flag์ ํ์ ๊ฐ๊ฒฉ์ ํฝ์ ๋จ์๋ก ์ง์ ํ๋ค.
default: 8
prefix: string
label ๋ฌธ์์ด ์์ ์ถ๊ฐ๋๋ ๋ฌธ์์ด.
default: undefined
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 |
suffix: string
label ๋ฌธ์์ด ๋์ ์ถ๊ฐ๋๋ ๋ฌธ์์ด.
default: undefined
text: string
rich text format์ ์ง์ ํ ์ ์๋ค.
default: undefined
visible: boolean
ํ์ ์ฌ๋ถ.
default: true