Function: cycleColor()
cycleColor(
colors,index):string
Defined in: src/mobjects/graphing/chartColors.ts:24
Pick a color for series index, cycling through colors.
Falls back to the default palette when colors is empty. A negative index
wraps the same way a positive index does.
Parameters
colors
readonly string[]
index
number
Returns
string