Config
trendline

trendline

์‹œ๋ฆฌ์ฆˆ ์ถ”์„ธ์„  ๋ชจ๋ธ.

Options

curved: boolean

true๋กœ ์ง€์ •ํ•˜๋ฉด spline ๊ณก์„ ์œผ๋กœ ์ง€์ ๋“ค์„ ์—ฐ๊ฒฐํ•œ๋‹ค.

์ง€์ •ํ•˜์ง€ ์•Š์œผ๋ฉด type ์ด 'logarithmic', 'exponential', 'power'์ผ ๋•Œ ๊ณก์„ ์œผ๋กœ ๊ทธ๋ฆฐ๋‹ค.

defaultย undefinedย 

movingInterval: number

์ด๋™ ํ‰๊ท  ์œ ํ˜•์˜ ๊ณ„์‚ฐ ๊ฐ„๊ฒฉ.

defaultย undefinedย 

resolution: number

์ถ”์„ธ์„  ์ •๋ฐ€๋„.

๋ฐ์ดํ„ฐํฌ์ธํŠธ ์‚ฌ์ด์— ๊ณ„์‚ฐ๋  ์ง€์ ์˜ ๊ฐœ์ˆ˜.

defaultย undefinedย 

style: SVGStyles|string

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

defaultย undefinedย 

type: 'exponential'|'linear'|'logarithmic'|'movingAverage'|'polynomial'|'power'

์ถ”์„ธ์„  ์œ ํ˜•.

  • 'exponential' ์ง€์ˆ˜.
  • 'linear' ์„ ํ˜•.
  • 'logarithmic' ๋กœ๊ทธ.
  • 'movingAverage' ์ด๋™ ํ‰๊ท .
  • 'polynomial' ๋‹คํ•ญ.
  • 'power' ๋ฉฑ๊ธ‰์ˆ˜.

defaultย undefinedย 

visible: boolean

defaultย falseย