Config
options

options

Properties

animatable: boolean

false๋กœ ์ง€์ •ํ•˜๋ฉด ์ฐจํŠธ ์ „์ฒด์ฒ™์œผ๋กœ animation ํšจ๊ณผ๋ฅผ ์‹คํ–‰ํ•˜์ง€ ์•Š๋Š”๋‹ค.

default: true

axisGap: number

๋ณต์ˆ˜ axis๊ฐ€ ํ‘œ์‹œ๋˜๋Š” ๊ฒฝ์šฐ axis ์‚ฌ์ด์˜ ๊ฐ„๊ฒฉ

default: 8 pixels

credits

ํฌ๋ ˆ๋”ง ๋ชจ๋ธ.

pointHovering

๋ฐ์ดํ„ฐํฌ์ธํŠธ์— ๋งˆ์šฐ์ˆ˜๊ฐ€ ์˜ฌ๋ผ๊ฐˆ ๋•Œ ์ฒ˜๋ฆฌํ•˜๋Š” ๋ฐฉ์‹.

seriesHovering: boolean

๋ฐ์ดํ„ฐํฌ์ธํŠธ์— ๋งˆ์šฐ์Šค๊ฐ€ ์˜ฌ๋ผ๊ฐ€๋ฉด ๋‚˜๋จธ์ง€ ์‹œ๋ฆฌ์ฆˆ๋“ค์„ ๋ฐ˜ํˆฌ๋ช… ์ฒ˜๋ฆฌํ•ด์„œ ์—ฐ๊ฒฐ๋œ ๋ฐ์ดํ„ฐํฌ์ธํ„ฐ์˜ ์‹œ๋ฆฌ์ฆˆ๋ฅผ ๊ฐ•์กฐํ•œ๋‹ค.

default: false

style: SVGStyles | string

์Šคํƒ€์ผ์…‹ ํ˜น์€ class selector.

  • SVGStyles
NameTypeOptional
fillstringtrue
fillOpacitystringtrue
fontFamilystringtrue
fontSizestringtrue
fontStylestringtrue
fontWeightstringtrue
rxstringtrue
strokestringtrue
strokeDasharraystringtrue
strokeWidthstringtrue
textAlign'center' | 'left' | 'right'true

visible: boolean

ํ‘œ์‹œ ์—ฌ๋ถ€.

default: true

xStart: any

x์ถ• ๊ฐ’์ด ์„ค์ •๋˜์ง€ ์•Š์€ ์‹œ๋ฆฌ์ฆˆ ์ฒซ๋ฒˆ์งธ ๋ฐ์ดํ„ฐ point์— ์„ค์ •๋˜๋Š” x๊ฐ’.
์ด ํ›„์—๋Š” xStep ์”ฉ ์ฆ๊ฐ€์‹œํ‚ค๋ฉด์„œ ์„ค์ •ํ•œ๋‹ค. ์‹œ๋ฆฌ์ฆˆ์˜ xStart ๊ฐ€ ์„ค์ •๋˜๋ฉด ๊ทธ ๊ฐ’์ด ์‚ฌ์šฉ๋œ๋‹ค.

default: undefined

xStep: string | number

x์ถ• ๊ฐ’์ด ์„ค์ •๋˜์ง€ ์•Š์€ ๋ฐ์ดํ„ฐ point์— ์ง€์ •๋˜๋Š” x๊ฐ’์˜ ๊ฐ„๊ฒฉ.

์ฒซ๋ฒˆ์งธ ๊ฐ’์€ xStart ๋กœ ์„ค์ •ํ•œ๋‹ค. time ์ถ•์ผ ๋•Œ, ์ •์ˆ˜ ๊ฐ’ ๋Œ€์‹  ์‹œ๊ฐ„ ๋‹จ์œ„('y', 'm', 'd', 'h', 'n', 's')๋กœ ์ง€์ •ํ•  ์ˆ˜ ์žˆ๋‹ค. ์‹œ๋ฆฌ์ฆˆ์˜ xStep ์ด ์„ค์ •๋˜๋ฉด ๊ทธ ๊ฐ’์ด ์‚ฌ์šฉ๋œ๋‹ค.

default: 1