Config
colors

asset[type=colors]

색상 λͺ©λ‘μ„ 미리 μ§€μ •ν•˜κ³  pointcolors 등에 μ μš©ν•  수 μžˆλ‹€.
λͺ©λ‘μ—μ„œ 색상을 κΊΌλ‚΄μ˜€λŠ” 방식은 mode μ†μ„±μœΌλ‘œ μ§€μ •ν•œλ‹€.

Properties

colors: string[]

색상 λͺ©λ‘.

default: undefined

id: string

에셋 id.
μ‹œλ¦¬μ¦ˆλ‚˜ μΆ•μ—μ„œ 이 에셋 ν•­λͺ©μ„ μ°Έμ‘°ν•  λ•Œ μ‚¬μš©ν•˜λŠ” ν‚€λ‘œμ„œ 차트 λ‚΄μ—μ„œ μœ μΌν•œ λ¬Έμžμ—΄λ‘œ λ°˜λ“œμ‹œ 지정해야 ν•œλ‹€.

default: undefined

mode: 'normal'|'random'|'shuffle'

색상 λͺ©λ‘μ—μ„œ 색을 κΊΌλ‚΄μ˜€λŠ” 방식.

  • 'normal' μˆœμ„œλŒ€λ‘œ κ°€μ Έμ˜€κ³  끝에 λ„λ‹¬ν•˜λ©΄ 처음으둜 λŒμ•„κ°„λ‹€.
  • 'random' μž„μ˜ μœ„μΉ˜μ˜ 색상을 κ°€μ Έμ˜¨λ‹€.
  • 'shuffle' 첫 색상을 κ°€μ Έμ˜€κΈ° μ „ ν•­λͺ©λ“€μ„ μ„žλŠ”λ‹€.

default: 'normal'